:root{--color-bg:#0f0d0b;--color-shelf-wood:#5a3a22;--color-shelf-wood-dark:#3d2716;--color-gold:#c99d45;--color-gold-light:#e8c778;--color-white:#f5f0e6;--font-body:"Segoe UI", Roboto, system-ui, sans-serif}*{box-sizing:border-box}html{width:100%;overflow-x:hidden}body{font-family:var(--font-body);background:var(--color-bg);color:var(--color-white);min-height:100vh;margin:0;overflow-x:hidden}.app-header{text-align:center;padding:2rem 1rem 1rem;position:relative}.app-header__logo{width:auto;height:40px;position:absolute;top:1.6rem;left:1rem}.app-header__title{letter-spacing:.03em;color:var(--color-gold-light);margin:0;font-size:1.5rem;font-weight:700}.app-header__subtitle{color:#f5f0e699;margin:.25rem 0 0;font-size:.9rem}.bookshelf{max-width:960px;margin:2rem auto;padding:0 1rem 4rem}.shelf-frame{border:12px solid var(--color-shelf-wood-dark);background:radial-gradient(at 50% -10%,#e8c77829 0%,#e8c77800 45%),repeating-linear-gradient(90deg,#00000029 0 1px,#0000 1px 22px),repeating-linear-gradient(90deg,#ffffff05 0 2px,#0000 2px 11px),radial-gradient(#3a2412 0%,#1c0f06 90%);border-top-width:6px;border-radius:3px;padding:2rem 1.5rem 1.75rem;position:relative;box-shadow:0 30px 55px #000000a6,inset 0 0 60px #0009,inset 0 3px #ffffff0f}.shelf-frame:before{content:"";background:linear-gradient(180deg, var(--color-gold-light) 0%, var(--color-gold) 45%, var(--color-shelf-wood-dark) 100%);height:8px;position:absolute;top:-6px;left:-12px;right:-12px;box-shadow:0 3px 8px #00000080}.shelf-frame:after{content:"";background:linear-gradient(180deg, var(--color-shelf-wood-dark) 0%, #150b04 100%);border-radius:0 0 4px 4px;height:18px;position:absolute;bottom:-18px;left:-12px;right:-12px;box-shadow:0 12px 20px #0000008c}.shelf-row{position:relative}.shelf-empty{z-index:1;text-align:center;padding:2.5rem 1rem;position:relative}.shelf-empty__icon{width:44px;height:44px;color:var(--color-gold);margin-bottom:1rem}.shelf-empty__title{color:var(--color-gold-light);margin:0 0 .4rem;font-size:1.1rem;font-weight:600}.shelf-empty__text{color:#f5f0e6a6;margin:0 0 1.5rem;font-size:.9rem}.shelf-empty__action{color:#241407;background:linear-gradient(180deg, var(--color-gold-light) 0%, var(--color-gold) 100%);cursor:pointer;border:none;border-radius:999px;padding:.6rem 1.3rem;font-size:.85rem;font-weight:700;text-decoration:none;display:inline-block}.shelf-row+.shelf-row{margin-top:.75rem}.shelf{z-index:1;scrollbar-width:thin;scrollbar-color:var(--color-gold) #0000004d;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:2.25rem;min-height:250px;padding:1.5rem .75rem;display:flex;position:relative;overflow:auto visible}@media (width<=600px){.shelf{flex-wrap:wrap;justify-content:center;gap:1.25rem 1rem;padding:1rem .25rem;overflow-x:hidden}.book{width:130px}.book__cover{width:130px;height:190px}}.shelf::-webkit-scrollbar{height:8px}.shelf::-webkit-scrollbar-track{background:#0000004d;border-radius:4px}.shelf::-webkit-scrollbar-thumb{background:var(--color-gold);border-radius:4px}.shelf-board{background:repeating-linear-gradient(90deg, #0000001f 0px, #0000001f 1px, transparent 1px, transparent 34px), linear-gradient(180deg, #7a5330 0%, var(--color-shelf-wood) 22%, var(--color-shelf-wood-dark) 100%);height:26px;margin:0 -1.5rem;position:relative;box-shadow:0 16px 22px #0009}.shelf-board:before{content:"";background:#fff6;height:2px;position:absolute;inset:0 0 auto}.shelf-board:after{content:"";background:linear-gradient(90deg, transparent 0%, var(--color-gold) 15%, var(--color-gold-light) 50%, var(--color-gold) 85%, transparent 100%);opacity:.7;height:2px;position:absolute;bottom:4px;left:0;right:0}.book{--tilt:0deg;z-index:1;cursor:pointer;width:150px;color:inherit;font:inherit;transform:rotate(var(--tilt));background:0 0;border:none;flex-direction:column;flex-shrink:0;align-items:center;padding:0;transition:transform .18s;display:flex;position:relative}.shelf-row .book:nth-child(3n+1){--tilt:-.6deg}.shelf-row .book:nth-child(3n+2){--tilt:.4deg}.book:hover,.book:focus-visible{transform:translateY(-8px) rotate(var(--tilt))}.book:before{content:"";z-index:-1;background:radial-gradient(#0000008c 0%,#0000 72%);width:78%;height:16px;position:absolute;bottom:6px;left:50%;transform:translate(-50%)}.book__cover{object-fit:contain;object-position:bottom;filter:drop-shadow(3px 10px 6px #00000073);width:150px;height:220px}.book__title{text-align:center;color:var(--color-white);white-space:normal;overflow-wrap:break-word;max-width:150px;margin-top:.6rem;font-size:.85rem;font-weight:600;line-height:1.25}.book__meta{color:var(--color-gold);text-transform:uppercase;letter-spacing:.05em;white-space:normal;overflow-wrap:break-word;text-align:center;max-width:150px;font-size:.72rem;line-height:1.3}body.has-bottom-nav{padding-bottom:calc(60px + env(safe-area-inset-bottom,0px))}.bottom-nav{z-index:10;padding-bottom:env(safe-area-inset-bottom,0px);background:linear-gradient(#241407 0%,#150b04 100%);border-top:1px solid #e8c77840;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -10px 24px #00000080}.bottom-nav__item{color:#f5f0e68c;letter-spacing:.03em;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.15rem;padding:.55rem .25rem;font-size:.65rem;text-decoration:none;transition:color .15s;display:flex;position:relative}.bottom-nav__icon{width:22px;height:22px}.bottom-nav__item--active{color:var(--color-gold-light)}.bottom-nav__item--disabled{color:#f5f0e647;cursor:default}.bottom-nav__badge{color:var(--color-gold-light);letter-spacing:.02em;background:#c99d4540;border-radius:6px;padding:.05rem .3rem;font-size:.55rem;position:absolute;top:2px;right:14%}.install-banner{left:0;right:0;bottom:calc(60px + env(safe-area-inset-bottom,0px));z-index:20;background:linear-gradient(#241407 0%,#150b04 100%);border-top:1px solid #e8c77840;align-items:center;gap:.75rem;padding:.8rem 1rem;display:flex;position:fixed;box-shadow:0 -10px 24px #00000080}.install-banner__icon{border-radius:9px;flex:none;width:38px;height:38px;box-shadow:0 2px 6px #00000080}.install-banner__text{flex:1;min-width:0}.install-banner__title{color:var(--color-gold-light);margin:0;font-size:.85rem;font-weight:700}.install-banner__desc{color:#f5f0e699;margin:.15rem 0 0;font-size:.72rem;line-height:1.35}.install-banner__action{background:var(--color-gold);color:#1c0f06;letter-spacing:.02em;cursor:pointer;border:0;border-radius:8px;flex:none;padding:.5rem .95rem;font-family:inherit;font-size:.78rem;font-weight:700;transition:background .15s}.install-banner__action:hover{background:var(--color-gold-light)}.install-banner__close{color:#f5f0e680;cursor:pointer;background:0 0;border:0;flex:none;padding:.25rem;font-size:1.15rem;line-height:1}.install-banner__close:hover{color:var(--color-white)}.store{max-width:720px;margin:2rem auto;padding:0 1rem 2rem}.store__empty{text-align:center;background:#ffffff08;border:1px solid #e8c77833;border-radius:10px;padding:3.5rem 1.5rem}.store__empty-icon{width:48px;height:48px;color:var(--color-gold);margin-bottom:1rem}.store__empty-title{color:var(--color-gold-light);margin:0 0 .4rem;font-size:1.05rem;font-weight:600}.store__empty-text{color:#f5f0e6a6;margin:0;font-size:.9rem}.store__list{flex-direction:column;gap:1.25rem;display:flex}.product-card{background:#ffffff08;border:1px solid #e8c77833;border-radius:10px;gap:1.1rem;padding:1.1rem;display:flex}.product-card--lifetime{background:linear-gradient(135deg,#c99d451f 0%,#ffffff08 60%);border-color:#e8c77873}.product-card__cover{object-fit:contain;object-position:top;filter:drop-shadow(2px 6px 5px #00000073);flex-shrink:0;width:90px;height:132px}.product-card__body{flex-direction:column;flex:1;min-width:0;display:flex}.product-card__title{color:var(--color-gold-light);margin:0;font-size:1.05rem;font-weight:700}.product-card__subtitle{color:var(--color-gold);text-transform:uppercase;letter-spacing:.04em;margin:.2rem 0 0;font-size:.78rem}.product-card__desc{color:#f5f0e6bf;margin:.55rem 0 0;font-size:.85rem;line-height:1.45}.product-card__footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem .75rem;margin-top:.9rem;display:flex}.product-card__price{color:var(--color-white);font-size:1rem;font-weight:700}.product-card__owned{color:var(--color-gold-light);font-size:.85rem;font-weight:600}.product-card__included{letter-spacing:.02em;color:var(--color-gold-light);background:#e8c7781f;border:1px solid #e8c7784d;border-radius:999px;margin:.35rem 0 0;padding:.25rem .6rem;font-size:.72rem;font-weight:600;display:inline-block}.product-card__upgrade-note{color:var(--color-gold-light);margin:.5rem 0 0;font-size:.8rem;font-style:italic}.product-card__buy{color:#241407;cursor:pointer;white-space:nowrap;background:linear-gradient(#e8c778 0%,#c99d45 100%);border:none;border-radius:999px;padding:.5rem 1.1rem;font-size:.85rem;font-weight:700}.product-card__buy:hover,.product-card__buy:focus-visible{filter:brightness(1.08)}.product-card__buy--open{color:var(--color-gold-light);background:0 0;border:1px solid #e8c77880}.product-card__open-group{flex-wrap:wrap;flex:100%;justify-content:flex-end;gap:.5rem;display:flex}@media (width<=640px){.product-card__open-group{flex-direction:column;align-items:stretch}.product-card__open-group .product-card__buy--open{white-space:normal;width:100%;line-height:1.3}}.product-card__buy--in-cart{color:var(--color-gold-light);background:0 0;border:1px solid #e8c77880}.bottom-nav__badge--cart{color:#241407;background:#c99d45d9;font-weight:700}.app-header__cart{color:var(--color-gold-light);justify-content:center;align-items:center;display:flex;position:absolute;top:1.55rem;right:1rem}.app-header__cart-icon{width:26px;height:26px}.app-header__cart-badge{color:#241407;text-align:center;background:#c99d45f2;border-radius:999px;min-width:17px;height:17px;padding:0 4px;font-size:.68rem;font-weight:700;line-height:17px;position:absolute;top:-6px;right:-8px}.checkout{max-width:720px;margin:1.5rem auto 2rem;padding:0 1rem 2rem}.checkout__list{flex-direction:column;gap:.75rem;margin-bottom:1.25rem;display:flex}.checkout__item{background:#ffffff08;border:1px solid #e8c77833;border-radius:10px;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem 1rem;display:flex}.checkout__item-title{color:var(--color-white);font-size:.95rem;font-weight:600}.checkout__item-right{align-items:center;gap:.85rem;display:flex}.checkout__item-price{color:var(--color-gold-light);white-space:nowrap;font-size:.95rem;font-weight:700}.checkout__item-remove{color:#f5f0e68c;cursor:pointer;background:0 0;border:none;padding:0;font-size:1.1rem;line-height:1}.checkout__item-remove:hover{color:var(--color-gold-light)}.checkout__summary{background:#ffffff0a;border:1px solid #e8c77859;border-radius:10px;justify-content:space-between;align-items:center;gap:.75rem;padding:1rem;display:flex}.checkout__total-label{color:#f5f0e6a6;font-size:.85rem}.checkout__total{color:var(--color-white);margin-left:.4rem;font-size:1.15rem;font-weight:700}.checkout__confirm{color:#241407;background:linear-gradient(180deg, var(--color-gold-light) 0%, var(--color-gold) 100%);cursor:pointer;white-space:nowrap;border:none;border-radius:999px;padding:.65rem 1.4rem;font-size:.9rem;font-weight:700}.checkout__confirm:hover,.checkout__confirm:focus-visible{filter:brightness(1.08)}.checkout__confirm:disabled{opacity:.6;cursor:default}.checkout__notice{color:#f5f0e6cc;background:#ffffff0a;border:1px solid #e8c7784d;border-radius:8px;margin:0 0 1rem;padding:.65rem .85rem;font-size:.85rem}.checkout__signed-in{color:#f5f0e6a6;margin:0 0 1rem;font-size:.85rem}.checkout__auth{background:#ffffff08;border:1px solid #e8c77840;border-radius:10px;padding:1.25rem}.checkout__auth-intro{color:#f5f0e6bf;margin:0 0 1rem;font-size:.88rem;line-height:1.45}.checkout__auth-sent{color:#f5f0e6a6;margin:0 0 .75rem;font-size:.85rem}.checkout__auth-form{flex-direction:column;align-items:stretch;gap:.6rem;display:flex}.checkout__auth-input{width:100%;min-width:0;color:var(--color-white);background:#0003;border:1px solid #e8c77859;border-radius:8px;padding:.7rem .8rem;font-size:1rem}.checkout__auth-input:focus-visible{outline:2px solid var(--color-gold-light);outline-offset:1px}.checkout__auth-submit{color:#241407;background:linear-gradient(180deg, var(--color-gold-light) 0%, var(--color-gold) 100%);cursor:pointer;white-space:nowrap;border:none;border-radius:999px;padding:.6rem 1.2rem;font-size:.85rem;font-weight:700}.checkout__auth-submit:disabled{opacity:.6;cursor:default}.checkout__auth-retry{color:#f5f0e699;cursor:pointer;background:0 0;border:none;margin-top:.6rem;padding:0;font-size:.8rem;text-decoration:underline}.checkout__auth-error{color:#e88a8a;margin:.75rem 0 0;font-size:.82rem}.checkout__empty,.checkout__success{text-align:center;padding:3rem 1rem}.checkout__empty-icon,.checkout__success-icon{width:48px;height:48px;color:var(--color-gold);margin-bottom:1rem}.checkout__empty-title,.checkout__success-title{color:var(--color-gold-light);margin:0 0 .4rem;font-size:1.05rem;font-weight:600}.checkout__empty-text,.checkout__success-text{color:#f5f0e6a6;margin:0 0 1.5rem;font-size:.9rem}.checkout__actions{flex-wrap:wrap;justify-content:center;gap:.75rem;display:flex}.checkout__action{cursor:pointer;border-radius:999px;padding:.6rem 1.3rem;font-size:.85rem;font-weight:700;text-decoration:none;display:inline-block}.checkout__action--primary{color:#241407;background:linear-gradient(180deg, var(--color-gold-light) 0%, var(--color-gold) 100%);border:none}.checkout__action--secondary{color:var(--color-gold-light);background:0 0;border:1px solid #e8c77880}.reader-shell{height:calc(100vh - 60px - env(safe-area-inset-bottom,0px));flex-direction:column;max-width:100vw;display:flex;position:relative;overflow-x:hidden}body:not(.has-bottom-nav) .reader-shell{height:100vh}.reader-toolbar{background:linear-gradient(#241407 0%,#150b04 100%);border-bottom:1px solid #e8c77833;flex-shrink:0;justify-content:space-between;align-items:center;min-width:0;padding:.75rem 1rem;display:flex}.reader-toolbar__back{color:var(--color-gold-light);padding:.25rem .5rem;font-size:1.3rem;line-height:1;text-decoration:none}.reader-toolbar__actions{scrollbar-width:none;-ms-overflow-style:none;flex-shrink:1;align-items:center;gap:.35rem;min-width:0;padding-bottom:2px;display:flex;overflow-x:auto}.reader-toolbar__actions::-webkit-scrollbar{display:none}.reader-toolbar__btn{color:var(--color-gold-light);cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #e8c7784d;border-radius:6px;flex-shrink:0;padding:.35rem .5rem;font-size:.8rem;line-height:1}.reader-toolbar__btn:hover{background:#e8c7781f}.reader-toolbar__btn.is-active{background:#e8c77847}.reader-toolbar__btn-label{text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;max-width:100%;display:inline-block;overflow:hidden}.reader-viewer{background:var(--color-bg);flex:1;min-width:0;min-height:0;overflow:hidden}.reader-viewer iframe{border:none;max-width:100%!important}.reader-controls{padding:.6rem 1rem calc(.6rem + env(safe-area-inset-bottom,0px));background:linear-gradient(#150b04 0%,#241407 100%);border-top:1px solid #e8c77833;flex-shrink:0;justify-content:space-between;display:flex}.reader-controls__btn{color:var(--color-gold-light);cursor:pointer;background:#ffffff0a;border:1px solid #e8c77859;border-radius:8px;flex:1;margin:0 .35rem;padding:.6rem;font-size:.85rem}.reader-controls__btn:hover{background:#e8c7781f}.reader-controls__page{color:#f5f0e6a6;white-space:nowrap;flex:1.4;justify-content:center;align-items:center;font-size:.78rem;display:flex}.bookmarks-panel{z-index:5;background:#1a0f06;border:1px solid #e8c77840;border-radius:10px;width:min(320px,100vw - 2rem);max-height:60vh;position:absolute;top:56px;right:1rem;overflow-y:auto;box-shadow:0 20px 40px #0000008c}.bookmarks-panel__header{color:var(--color-gold-light);border-bottom:1px solid #e8c77826;justify-content:space-between;align-items:center;padding:.6rem .8rem;font-size:.9rem;font-weight:600;display:flex}.bookmarks-panel__heading{flex-direction:column;min-width:0;display:flex}.bookmarks-panel__book{color:#f5f0e68c;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.bookmarks-panel__list{margin:0;padding:.4rem;list-style:none}.bookmarks-panel__empty{color:#f5f0e699;text-align:center;padding:.8rem;font-size:.85rem}.bookmarks-panel__item{justify-content:space-between;align-items:center;gap:.4rem;display:flex}.bookmarks-panel__jump{text-align:left;color:var(--color-white);cursor:pointer;background:0 0;border:none;border-radius:6px;flex:1;padding:.5rem .4rem;font-size:.85rem}.bookmarks-panel__jump:hover{background:#e8c7781a}.bookmarks-panel__remove{color:#f5f0e680;cursor:pointer;background:0 0;border:none;padding:.2rem .5rem;font-size:1rem}.bookmarks-panel__remove:hover{color:var(--color-gold-light)}.bookmarks-panel__tabs{border-bottom:1px solid #e8c7781f;gap:.3rem;padding:0 .4rem .4rem;display:flex}.bookmarks-panel__tab{color:#f5f0e699;cursor:pointer;background:0 0;border:none;border-radius:6px;flex:1;padding:.4rem .3rem;font-size:.8rem}.bookmarks-panel__tab:hover{background:#e8c77814}.bookmarks-panel__tab--active{color:var(--color-gold-light);background:#e8c77829;font-weight:600}.tts-settings-panel__row{justify-content:space-between;align-items:center;gap:.6rem;padding:.5rem .8rem;display:flex}.tts-settings-panel__row+.tts-settings-panel__row{border-top:1px solid #e8c7781a}.tts-settings-panel__label{color:#f5f0e6bf;font-size:.85rem}.highlight-bar{z-index:5;white-space:nowrap;background:#1a0f06;border:1px solid #e8c7784d;border-radius:999px;align-items:center;gap:.5rem;padding:.5rem .75rem;display:flex;position:absolute;bottom:76px;left:50%;transform:translate(-50%);box-shadow:0 10px 24px #00000080}.highlight-bar[hidden],.bookmarks-panel[hidden]{display:none}.highlight-bar__label{color:#f5f0e6b3;font-size:.78rem}.highlight-swatch{cursor:pointer;border:2px solid #fff6;border-radius:50%;width:22px;height:22px;padding:0}.note-editor-bar{white-space:normal;border-radius:14px;flex-direction:column;align-items:stretch;width:min(360px,100vw - 2rem)}.note-editor-bar__input{resize:vertical;width:100%;color:var(--color-white);font:inherit;background:#ffffff0f;border:1px solid #e8c77840;border-radius:8px;padding:.5rem}.note-editor-bar__actions{justify-content:flex-end;gap:.5rem;margin-top:.5rem;display:flex}.notes-panel__item{border-bottom:1px solid #e8c77814;padding:.6rem .5rem}.notes-panel__item:last-child{border-bottom:none}.notes-panel__quote{color:#f5f0e68c;margin:0 0 .3rem;font-size:.78rem;font-style:italic}.notes-panel__note{color:var(--color-white);white-space:pre-wrap;margin:0 0 .4rem;font-size:.85rem}.highlights-panel__swatch{vertical-align:-1px;border:1px solid #e8c77866;border-radius:3px;width:12px;height:12px;margin-right:.4rem;display:inline-block}.notes-panel__actions{justify-content:space-between;align-items:center;gap:.4rem;display:flex}.reader-placeholder{text-align:center;background:#ffffff0a;border:1px solid #ffffff14;border-radius:10px;max-width:700px;margin:3rem auto;padding:2rem}.reader-placeholder a{color:var(--color-gold-light)}.reader-theme-light .reader-viewer{background:#f8f4ea}.reader-theme-light .reader-placeholder{color:#2b2620;background:#00000008;border:1px solid #00000014}.reader-theme-light .reader-placeholder a{color:#8a611c}.reader-theme-light .rev-reader{background:#f8f4ea}.reader-theme-light .rev-section-heading{color:#8a611c;border-bottom-color:#0000001f}.reader-theme-light .rev-verse-num{color:#8a611c}.reader-theme-light .rev-verse-num:hover,.reader-theme-light .rev-verse--en{color:#2b2620}.reader-theme-light .rev-verse--en strong,.reader-theme-light .rev-verse--en sup{color:#8a611c}.reader-theme-light .rev-verse--af{color:#2b2620bf;border-left-color:#0000001f}.reader-theme-light .rev-verse--af strong,.reader-theme-light .rev-verse--af sup{color:#8a611c}.reader-theme-light .rev-verse em{color:#8a611cd9}.reader-theme-light .rev-verse-pair{border-bottom-color:#0000000f}.reader-theme-light .rev-verse-pair.tts-current-block,.reader-theme-light .rev-intro-block.tts-current-block{background:#8a611c47;border-left:3px solid #8a611c}.reader-theme-light .rev-intro-block p.tts-current-para{background:#8a611c47;border-left-color:#8a611c}.reader-theme-light .rev-fn-marker-link{color:#8a611c}.reader-theme-light .rev-fn-marker-link:hover,.reader-theme-light .rev-fn-marker-link:active{color:#2b2620;background:#8a611c2e}.reader-theme-light .rev-footnotes-inline{background:#00000008;border-top-color:#8a611c}.reader-theme-light .rev-footnotes-inline__heading,.reader-theme-light .rev-fn-marker{color:#8a611c}.reader-theme-light .rev-fn-inline{color:#2b2620b3;border-bottom-color:#0000000f}.reader-theme-light .rev-fn-inline--active{background:#8a611c1f}.reader-theme-light .rev-fn-text{color:#2b2620}.reader-theme-light .rev-footnote-sheet__header,.reader-theme-light .rev-footnote-sheet__body{color:#2b2620;background:#f8f4ea}.reader-theme-light .rev-footnote-sheet__title{color:#8a611c}.reader-theme-light .rev-error{color:#2b262099}.rev-reader{flex:1;width:100%;max-width:780px;min-height:0;margin:0 auto;padding:0 1rem;overflow:hidden auto}.rev-chapter-nav{padding:.6rem 1rem calc(.6rem + env(safe-area-inset-bottom,0px));background:linear-gradient(#150b04 0%,#241407 100%);border-top:1px solid #e8c77833;flex-shrink:0;justify-content:space-between;align-items:center;gap:.35rem;display:flex}.rev-nav-btn{color:var(--color-gold-light);cursor:pointer;background:#ffffff0a;border:1px solid #e8c77859;border-radius:8px;flex:1;margin:0 .35rem;padding:.6rem;font-family:inherit;font-size:.85rem}.rev-nav-btn:hover{background:#e8c7781f}.rev-chapter-label{color:#f5f0e6a6;white-space:nowrap;flex:1.4;justify-content:center;align-items:center;font-size:.78rem;display:flex}.rev-content{overflow-wrap:break-word;word-break:break-word;max-width:100%;padding:.5rem 0 1rem;line-height:1.7;overflow-x:hidden}.rev-section-heading{color:var(--color-gold,#e8c778);border-bottom:1px solid #e8c77840;flex-direction:column;gap:.15rem;margin:1.5rem 0 .75rem;padding-bottom:.3rem;font-weight:700;display:flex}.rev-section-heading__en,.rev-section-heading__af{font-size:1.05rem;font-style:italic}.rev-verse-pair{border-bottom:1px solid #ffffff0a;border-radius:6px;gap:.5rem;margin-bottom:.75rem;padding:.4rem 0;transition:background-color .15s;display:flex}.rev-verse-pair--highlighted{margin:0 -.5rem .75rem;padding:.4rem .5rem}.rev-verse-pair.tts-current-block{border-left:3px solid var(--color-gold,#e8c778);background:#e8c77873;margin:0 -.5rem .75rem;padding:.4rem .5rem .4rem calc(.5rem - 3px)}.rev-intro-block.tts-current-block{border-left:3px solid var(--color-gold,#e8c778);background:#e8c77873;border-radius:4px;margin:0 -.5rem .75rem;padding:.4rem .5rem .4rem calc(.5rem - 3px)}.rev-intro-block p.tts-current-para{border-left:3px solid var(--color-gold,#e8c778);background:#e8c77873;border-radius:4px;margin:0 -.5rem .75rem;padding:.35rem .5rem .35rem calc(.5rem - 3px)}.rev-sel-hl{-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:3px;padding:.05em .1em}.rev-verse-num{color:var(--color-gold);text-align:right;-webkit-user-select:none;user-select:none;cursor:pointer;flex:0 0 1.6rem;padding-top:.15rem;font-size:.75em;font-weight:700}.rev-verse-num:hover{color:#fff}.rev-verse-pair__texts{overflow-wrap:break-word;word-break:break-word;flex:1;min-width:0}.rev-verse--en{color:var(--color-white);overflow-wrap:break-word;word-break:break-word}.rev-verse--en p{margin:0}.rev-verse--en strong,.rev-verse--en sup{color:var(--color-gold-light)}.rev-verse--af{color:#f5f0e6bf;overflow-wrap:break-word;word-break:break-word;border-left:2px solid #e8c77826;margin-top:.2rem;padding-left:.6rem;font-size:.92em}.rev-verse--af p{margin:0}.rev-verse--af strong,.rev-verse--af sup{color:var(--color-gold)}.rev-verse em{color:#e8c778cc;font-style:italic}.rev-fn-marker-link{color:var(--color-gold-light);cursor:pointer;padding:0 .1rem;font-weight:700;text-decoration:none;transition:color .15s}.rev-fn-marker-link:hover,.rev-fn-marker-link:active{color:#fff;background:#e8c77840;border-radius:3px}.rev-footnotes-inline{border-top:2px solid var(--color-gold);background:#ffffff05;border-radius:6px;margin-top:2rem;padding:1rem .75rem}.rev-footnotes-inline__heading{color:var(--color-gold-light);letter-spacing:.05em;margin:0 0 .75rem;font-size:.9rem}.rev-fn-inline{color:#f5f0e699;border-bottom:1px solid #ffffff0a;padding:.5rem 0;font-size:.8rem;transition:background .2s}.rev-fn-inline:last-child{border-bottom:none}.rev-fn-inline--active{background:#e8c7781a;border-radius:4px;padding:.5rem .4rem}.rev-fn-marker{color:var(--color-gold-light);font-weight:700}.rev-fn-text{line-height:1.55}.rev-footnote-sheet{z-index:100;background:#00000080;flex-direction:column;justify-content:flex-end;align-items:center;display:flex;position:fixed;inset:0}.rev-footnote-sheet[hidden]{display:none}.rev-footnote-sheet__card{width:100%;max-width:780px;margin:0 auto}.rev-footnote-sheet__header{border-bottom:1px solid #e8c77826;justify-content:space-between;align-items:center;padding:.75rem 1rem;display:flex}.rev-footnote-sheet__title{color:var(--color-gold-light);letter-spacing:.03em;font-size:.9rem;font-weight:600}.rev-footnote-sheet__header,.rev-footnote-sheet__body{width:100%;max-width:780px;margin:0 auto}.rev-footnote-sheet__header{background:#1a1006;border-radius:14px 14px 0 0}.rev-footnote-sheet__body{color:#f5f0e6d9;background:#1a1006;border-radius:0 0 14px 14px;max-height:55vh;padding:1rem;font-size:.9rem;line-height:1.6;overflow-y:auto}.rev-footnote-sheet__close{color:#f5f0e680;cursor:pointer;background:0 0;border:none;padding:.2rem .5rem;font-size:1.3rem}.rev-footnote-sheet__close:hover{color:var(--color-white)}.rev-error{text-align:center;color:#f5f0e680;padding:2rem}@media (width<=480px){.reader-toolbar{gap:.25rem;padding:.5rem .4rem}.reader-toolbar__back{padding:.3rem .4rem;font-size:1.4rem}.reader-toolbar__actions{gap:.25rem}.reader-toolbar__btn{justify-content:center;align-items:center;min-width:2.4rem;min-height:2.4rem;padding:.4rem .55rem;font-size:1.05rem;display:inline-flex}#tts-play{min-width:2.4rem;max-width:6.5rem}.reader-controls__btn{padding:.5rem .35rem;font-size:.75rem}.reader-controls{padding:.5rem .5rem calc(.5rem + env(safe-area-inset-bottom,0px))}.rev-reader{padding:0 .5rem}.rev-verse-pair{gap:.3rem;padding:.3rem 0}.rev-verse-num{flex:0 0 1.2rem;font-size:.7em}.rev-footnotes-inline{margin-top:1.5rem;padding:.75rem .5rem}.rev-footnote-sheet__body{padding:.75rem;font-size:.85rem}.rev-chapter-nav{padding:.5rem .5rem calc(.5rem + env(safe-area-inset-bottom,0px))}.rev-nav-btn{padding:.5rem .35rem;font-size:.75rem}.shelf-frame{border-width:8px;padding:1.5rem .5rem 1.25rem}.shelf-board{height:20px;margin:0 -.5rem}.book__title{font-size:.78rem}.book__meta{font-size:.65rem}}
