/* Small, session-aware member navigation and premium production polish. */
body .rh-member-slot{display:flex;align-items:center;gap:10px;flex-shrink:0}body .rh-member-slot form{margin:0;display:inline-flex}body .rh-member-slot .rh-greeting{font-size:12px!important;font-weight:750!important;padding:0!important;border:0!important;background:none!important;text-decoration:none;color:#805238!important;white-space:nowrap}body .rh-member-slot .rh-logout{font:650 11px/1.2 system-ui!important;padding:8px 10px!important;margin:0!important;min-height:33px!important;width:auto!important;border:1px solid #d5b99a!important;border-radius:25px!important;background:#f6eadd!important;box-shadow:none!important;color:#805238!important;cursor:pointer}body .heroProduct{perspective:1200px}body .heroProduct img{aspect-ratio:4/3!important;object-fit:cover!important;box-shadow:0 22px 40px -18px #71513455,0 3px 8px #71513412!important;transform:rotate(-.5deg);border-radius:22px!important}body .heroProduct figcaption{font-size:11px!important;letter-spacing:.015em;margin-top:14px}body .rh-book-row{transition:box-shadow .2s,transform .2s}body .rh-book-row:hover{box-shadow:0 12px 28px #79543512!important;transform:translateY(-2px)}body .rh-mini-cover{transform:perspective(500px) rotateY(-9deg) rotateZ(-2deg);box-shadow:5px 7px 0 #ccba9a,9px 15px 20px #54391820!important;border-radius:3px 7px 7px 3px}
body.member-library{background:#f9f3e8;color:#45392c}body.member-library .site-header,body.member-library main,body.member-library .site-footer{max-width:430px!important;width:calc(100% - 28px)!important;margin-left:auto!important;margin-right:auto!important}body.member-library .site-header{padding:18px 0!important;gap:10px}body.member-library .site-header>nav{display:none}body.member-library .logo{font-size:18px}body.member-library .logo small{font-size:7px}body.member-library .hero{grid-template-columns:1fr!important;gap:24px;padding:30px 0!important}body.member-library .hero h1{font-size:38px;line-height:1.13}body.member-library .hero-art{height:330px;min-height:330px}body.member-library .hero-book{transform:rotate(8deg) scale(.83);transform-origin:center}body.member-library .hero-circle{width:290px;height:290px}body.member-library .orbit-label{font-size:7px}body.member-library .floating-listen{max-width:calc(100% - 20px);bottom:15px}body.member-library .hero-benefits{gap:10px;flex-wrap:wrap;font-size:10px}body.member-library .library-section{padding:30px 0}body.member-library .section-heading{display:block}body.member-library .section-heading h2{font-size:30px}body.member-library .library-toolbar{flex-direction:column;align-items:stretch;gap:12px}body.member-library .toolbar-right{justify-content:space-between}body.member-library .library-grid{grid-template-columns:1fr!important}body.member-library .experience{grid-template-columns:1fr!important;gap:24px;padding:35px 0}body.member-library .site-footer{padding:24px 0;flex-wrap:wrap;gap:20px}body.member-library .rh-member-slot{gap:7px}body.member-library .library-grid .card-art{height:230px}
body.reader-member>header{gap:10px;flex-wrap:wrap;padding:16px 20px}body.reader-member>header .header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}body.reader-member .header-actions>.rh-member-slot{order:-1}body.reader-member .rh-greeting{font-size:11px!important}
.rh-owner-note{font-size:12px;line-height:1.6;color:#866951;padding:12px 16px;background:#f4e9d7;border:1px solid #dfc7a9;border-radius:12px;margin:12px 0}.rh-owner-tools{margin:22px 0;padding:24px;background:#fffaf1;border:1px solid #dcc4a4;border-radius:16px}.rh-owner-tools label{display:block;margin:12px 0;font-size:13px;font-weight:650}.rh-owner-tools input,.rh-owner-tools select{display:block;width:100%;padding:11px;border:1px solid #cfb594;border-radius:8px;background:#fffdf7;color:#563f2b;font-size:15px}.rh-owner-tools .btn{margin-top:12px;width:100%}.rh-owner-tools fieldset{border:1px solid #ddc7aa;border-radius:12px;padding:12px;margin:14px 0}.rh-owner-tools legend{font-size:11px;font-weight:750}.rh-owner-member{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e1ceb5;padding:12px 0;font-size:12px}.rh-owner-member form{margin:0}.rh-owner-member button{padding:7px 12px;border:1px solid #cfb08a;border-radius:8px;background:#efdec4;color:#6c4529;font-size:11px;cursor:pointer}
@media(max-width:380px){body .rh-member-slot{gap:5px}body .rh-member-slot .rh-greeting{max-width:105px;overflow:hidden;text-overflow:ellipsis}body .rh-member-slot .rh-logout{padding:7px 9px!important}body.member-library .logo{font-size:15px}body.reader-member>header .brand{font-size:16px}}
@media(prefers-reduced-motion:reduce){body .rh-book-row{transition:none}body .rh-book-row:hover{transform:none}}

.rh-privacy-options{max-width:430px;margin:18px auto 0;font-size:11px;color:#98785b}.rh-privacy-options summary{cursor:pointer}.rh-privacy-options button{padding:8px 12px;margin:5px;border:1px solid #d1b28d;border-radius:8px;background:#f0e0ca;color:#7b5336;font-size:11px}

.member-intro{padding:32px 0 20px}.member-intro h1{font:400 42px/1.08 Georgia,serif;letter-spacing:-1.5px;margin:18px 0}.member-intro h1 em{color:#a76845}.member-intro p{font-size:14px;color:#8a725a;line-height:1.7;max-width:370px}.member-library .library-section .section-heading h2{font-size:28px;line-height:1.2}.member-library .real-cover{height:205px;max-width:75%;object-fit:contain;box-shadow:12px 17px 20px #4a332733;transform:perspective(700px) rotateY(-12deg) rotateZ(-4deg);border-radius:3px 7px 7px 3px}.member-library .card-art.custom{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eee0c9,#e4cfaf)}

.member-intro .library-back{display:block;margin:0 0 21px;color:#a47a56;font-size:11px;text-decoration:none}.member-library .hero-benefits{color:#93785b}

/* Readable warm checkout and a persistent test environment label. */
body .rh-test-banner{max-width:430px;margin:16px auto;padding:14px 18px;background:#e9efdf;color:#3c5537;border:1px solid #b9c5a4;border-radius:12px;font-size:13px;line-height:1.55}body .rh-test-banner strong,body .rh-test-banner span{display:block}body .rh-test-banner span{margin-top:4px}body.checkout-body .payment-note{background:#f7eddd!important;color:#624a37!important;border-color:#d6bd9e!important}body.checkout-body .payment-note span{color:#624a37!important}body.checkout-body .checkout-back{color:#8f4c32!important}body.checkout-body .payment-options-hint{background:#fffaf1!important;color:#6a513b!important;border-color:#d6bd9e!important}body.checkout-body .trust{opacity:1!important;color:#78634d!important}body.checkout-body .checkout-crumb,body.checkout-body .checkout-crumb a{color:#805b41!important}@media(max-width:458px){body .rh-test-banner{margin:14px;}}

/* Compact reading controls: page navigation stays above the audio player. */
body.reader-member>header{min-height:54px;height:auto;padding:8px 18px;gap:8px}
body.reader-member .reader-heading{margin-bottom:12px;gap:10px}
body.reader-member .reader-heading h2{font-size:21px;margin-top:4px;line-height:1.25}
@media(max-width:760px){
 body.reader-member{--rh-player-height:125px;--rh-nav-height:52px;padding-bottom:calc(var(--rh-player-height) + var(--rh-nav-height) + 20px)!important}
 body.reader-member>header{position:sticky;top:0;z-index:30;height:48px;min-height:48px;padding:5px 12px!important;flex-wrap:nowrap;background:var(--bg);gap:5px}
 body.reader-member>header .brand{min-width:0;gap:4px;flex-shrink:1}
 body.reader-member .harbour-mark,body.reader-member .brand small{display:none!important}
 body.reader-member .harbour-word{font:15px Georgia!important;letter-spacing:-.5px;white-space:nowrap}
 body.reader-member>header .header-actions{gap:5px;flex-wrap:nowrap;flex-shrink:0}
 body.reader-member .rh-member-slot{gap:5px}
 body.reader-member .rh-member-slot .rh-greeting{font-size:10px!important;max-width:72px;overflow:hidden;text-overflow:ellipsis}
 body.reader-member .rh-member-slot .rh-logout{font-size:10px!important;min-height:30px!important;padding:6px 8px!important}
 body.reader-member #libraryBtn{font-size:0!important;padding:7px 5px;min-height:32px;white-space:nowrap}
 body.reader-member #libraryBtn:after{content:'Books';font:11px system-ui}
 body.reader-member #settingsBtn{width:32px;height:32px;min-height:32px;font-size:18px;flex-shrink:0}
 body.reader-member main{padding:9px 14px 12px!important}
 body.reader-member .reader-heading{align-items:center;margin:0 0 5px;gap:7px}
 body.reader-member .reader-heading>div{min-width:0;flex:1}
 body.reader-member .reader-heading .eyebrow{display:none}
 body.reader-member .reader-heading h2{font:18px/1.25 Georgia;margin:0;letter-spacing:-.35px}
 body.reader-member #tocBtn{font-size:0;flex-shrink:0;min-height:32px;padding:5px 3px}
 body.reader-member #tocBtn:after{content:'☷ Contents';font:10px system-ui}
 body.reader-member .demo-preview-note{padding:5px 8px!important;margin:5px 0 7px!important;font:10px/1.4 system-ui!important;border-radius:7px!important}
 body.reader-member .book-top{margin:4px 2px 7px;font-size:8px;letter-spacing:1px}
 body.reader-member .spread{min-height:0!important}
 body.reader-member .page{height:var(--rh-page-height,calc(100dvh - 340px))!important;min-height:160px;padding:18px 20px 25px;scroll-padding-top:30px}
 body.reader-member .page-label{margin-bottom:15px;letter-spacing:1px;font-size:7px}
 body.reader-member .page h3{font-size:24px;margin-bottom:14px}
 body.reader-member .page-navigation{position:fixed;left:0;right:0;bottom:var(--rh-player-height);z-index:22;min-height:52px;height:52px;margin:0;padding:3px 16px;gap:24px;border-top:1px solid var(--line);background:var(--paper);box-shadow:0 -3px 12px #39261509}
 body.reader-member .page-navigation .round{height:42px;width:42px;min-height:42px;font-size:20px}
 body.reader-member .page-counter{font-size:12px;min-height:42px;padding:9px 12px}
 body.reader-member footer.player{padding:6px 14px max(7px,env(safe-area-inset-bottom));gap:2px 10px;z-index:23}
 body.reader-member .player .mini-cover{width:24px;height:31px;font-size:13px}
 body.reader-member .player .now{gap:8px;min-width:0}
 body.reader-member .player .now>div:last-child{min-width:0}
 body.reader-member .player .now b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.reader-member .player .now small{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55vw;margin-top:3px}
 body.reader-member .player-options button{min-height:30px;min-width:25px;font-size:10px}
 body.reader-member .playback{padding-top:0}
 body.reader-member .transport{gap:23px}
 body.reader-member .transport .play{width:38px;height:38px;min-height:38px;font-size:15px}
 body.reader-member .transport>button:not(.play){min-height:38px;font-size:25px}
 body.reader-member .timeline{margin-top:3px;font-size:9px}
 body.reader-member .timeline input{min-height:24px}
 body.reader-member #status{bottom:calc(var(--rh-player-height) + var(--rh-nav-height) + 8px)}
 body.reader-member .reader-hint{margin:10px 0;font-size:10px}
 body.reader-member .features{padding:12px 0;font-size:8px}
}
@media(max-width:350px){body.reader-member .harbour-word{font-size:13px!important}body.reader-member>header{padding-left:8px!important;padding-right:8px!important}body.reader-member .rh-member-slot .rh-greeting{max-width:56px}}

body.reader-member{--accent:#9d6847}
body.reader-member .book-shell,body.reader-member .spread{border-radius:16px}
body.reader-member .book-shell{overflow:hidden;box-shadow:0 8px 25px #5b463314}
body.reader-member dialog{border-radius:22px;border-color:#dcc8ad;box-shadow:0 20px 70px #392b1e30}
body.reader-member .toc-entry{border-radius:12px}
body.reader-member .toc-entry.active{background:#eee0c8}
body.reader-member .toc-chapter-link{border-radius:12px}
body.reader-member .toc-pages{margin-top:5px}
body.reader-member .toc-search{border-radius:12px}
body.reader-member .round{border-color:#d9c8b2}
body.reader-member.night .toc-entry.active{background:#4c4135}

@media(max-width:760px){body.reader-member .reader-hint{margin-top:24px!important}}

/* Keep narration timestamps readable at narrow viewport widths. */
body.reader-member .timeline{display:grid;grid-template-columns:3.5em minmax(0,1fr) 3.5em;align-items:center;gap:8px}
body.reader-member .timeline #elapsed,body.reader-member .timeline #duration{white-space:nowrap;overflow-wrap:normal;word-break:normal;min-width:3.5em;font-variant-numeric:tabular-nums}
body.reader-member .timeline #duration{text-align:right}
body.reader-member .timeline #seek{width:100%;min-width:0}
