.fw-reader-hub{background:var(--fw-hub-bg);color:var(--fw-hub-ink);padding:clamp(16px,3vw,36px);border-radius:16px;box-sizing:border-box;max-width:100%;min-width:0}.fw-reader-hub *{box-sizing:border-box}.fw-reader-hub h2,.fw-reader-hub h3,.fw-reader-hub p{color:inherit!important}.fw-reader-hub h2{font-family:Georgia,serif!important;font-size:clamp(24px,3vw,36px)!important;line-height:1.2;margin:0 0 18px}.fw-library-hero{background-image:linear-gradient(90deg,var(--fw-hub-bg) 0%,var(--fw-hub-bg) 38%,transparent 85%),var(--fw-hub-image);background-position:center,right center;background-size:cover;display:flex;align-items:center;gap:24px;min-height:240px;padding:24px;border-radius:12px}.fw-reader-icon{width:100px;height:100px;flex:none}.fw-library-hero h2{max-width:420px;margin-bottom:8px}.fw-library-hero p{max-width:420px}.fw-library-top{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:var(--fw-hub-gap);margin:24px 0 32px}.fw-library-top>section{padding:24px;background:var(--fw-hub-card);border-radius:14px;min-width:0}.fw-library-quote{border-radius:14px;background:linear-gradient(90deg,#fff9e8e6,#fff9e855),var(--fw-hub-image) center/cover;display:flex;align-items:center;padding:28px;min-height:260px}.fw-library-quote blockquote{font:italic 26px/1.45 Georgia,serif;color:#34291f;border:0;padding:0;margin:0;max-width:210px}.fw-library-featured{display:flex!important;gap:24px!important;background:transparent!important;padding:0!important}.fw-library-featured .fw-library-cover{flex:0 0 150px;height:220px!important}.fw-library-copy{min-width:0;flex:1}.fw-library-book h3{font:600 19px/1.3 Georgia,serif!important;margin:12px 0 6px!important}.fw-library-featured h3{font-size:26px!important;margin-top:0!important}.fw-library-author,.fw-library-state{font-size:14px!important;margin:6px 0!important}.fw-library-progress{display:flex;align-items:center;gap:10px;margin:12px 0}.fw-library-progress progress{width:100%;height:9px;accent-color:var(--fw-hub-accent);min-width:0}.fw-library-progress span{font-size:13px}.fw-library-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.fw-reader-hub .button,.fw-library-tools button,.fw-library-tools input,.fw-library-tools select{font:14px/1.4 Arial,sans-serif!important;min-height:44px;padding:10px 14px!important;border-radius:9px!important;letter-spacing:0!important;text-transform:none!important}.fw-reader-hub .fw-library-read{background:var(--fw-hub-accent)!important;color:#fff!important;border:1px solid var(--fw-hub-accent)!important}.fw-reader-hub .fw-library-download{background:transparent!important;color:var(--fw-hub-ink)!important;border:1px solid #bdb7ac!important}.fw-library-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0 24px}.fw-library-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-right:auto}.fw-library-tools button{background:transparent!important;color:var(--fw-hub-ink)!important;border:1px solid #d6d1c9!important;cursor:pointer}.fw-library-tools button[aria-pressed=true]{background:var(--fw-hub-accent)!important;color:#fff!important;border-color:var(--fw-hub-accent)!important}.fw-library-search input,.fw-library-tools select{width:auto;max-width:100%;background:var(--fw-hub-card)!important;color:var(--fw-hub-ink)!important;border:1px solid #d6d1c9!important}.fw-library-view{display:flex;gap:6px}.fw-library-grid{display:grid;grid-template-columns:repeat(var(--fw-hub-columns),minmax(0,1fr));gap:var(--fw-hub-gap);align-items:stretch}.fw-library-book{display:flex;flex-direction:column;background:var(--fw-hub-card);border-radius:12px;padding:14px;min-width:0}.fw-library-cover{height:240px;display:flex;align-items:center;justify-content:center}.fw-library-cover img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain}.fw-library-grid .fw-library-copy{display:flex;flex-direction:column}.fw-library-grid .fw-library-actions{margin-top:auto;padding-top:12px}.fw-library-grid .button{width:100%;text-align:center}.fw-library-list .fw-library-grid{grid-template-columns:1fr}.fw-library-list .fw-library-grid .fw-library-book{flex-direction:row;gap:24px}.fw-library-list .fw-library-grid .fw-library-cover{width:120px;height:180px;flex:none}.fw-library-list .fw-library-grid .fw-library-actions{margin-top:12px;padding-top:0}.fw-library-list .fw-library-grid .button{width:auto}.fw-reader-hub [hidden]{display:none!important}.fw-library-welcome{padding:30px 0}
@media(max-width:1000px){.fw-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fw-library-featured .fw-library-cover{flex-basis:115px}.fw-library-top{grid-template-columns:minmax(0,2fr) minmax(180px,1fr)}}
@media(max-width:700px){.fw-library-hero{min-height:180px;padding:16px;gap:14px;background-image:linear-gradient(90deg,var(--fw-hub-bg),#f6f2ebcc),var(--fw-hub-image)}.fw-reader-icon{width:65px;height:65px}.fw-library-top{grid-template-columns:1fr;gap:16px}.fw-library-top>section{padding:16px}.fw-library-quote{min-height:150px}.fw-library-quote blockquote{max-width:none;font-size:22px}.fw-library-featured{gap:14px!important}.fw-library-featured .fw-library-cover{flex-basis:95px;height:155px!important}.fw-library-featured h3{font-size:21px!important}.fw-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fw-library-cover{height:190px}.fw-library-book{padding:10px}.fw-library-tools{align-items:stretch}.fw-library-search,.fw-library-search input{width:100%}.fw-library-description{font-size:14px}.fw-library-list .fw-library-grid .fw-library-cover{width:80px;height:130px}.fw-library-list .fw-library-grid .fw-library-book{gap:14px}}

body.fbp-reader-hub-page .fbp-page-title,body.fbp-reader-hub-page .fbp-title-card,body.fbp-reader-hub-page .page_title,body.fbp-reader-hub-page .fbp-account-breadcrumbs{display:none!important}

/* Library reference composition; explicitly isolate it from Booklovers styles. */
.fw-reader-hub{font:16px/1.5 Arial,sans-serif!important;padding:0!important;border-radius:0!important;overflow:visible!important}
.fw-reader-hub h2,.fw-reader-hub h3{font-family:Georgia,'Times New Roman',serif!important;font-weight:700!important;letter-spacing:-.025em!important;text-transform:none!important}
.fw-reader-hub .fw-library-hero{min-height:300px;padding:32px 40px 68px;gap:24px;border-radius:0;background-position:center,right center}
.fw-reader-hub .fw-reader-icon{width:152px;height:152px;object-fit:contain}
.fw-reader-hub .fw-library-hero h2{font-size:clamp(32px,3.5vw,48px)!important;line-height:1.05!important;max-width:520px;margin:0 0 10px!important}
.fw-reader-hub .fw-library-brand{display:block}.fw-reader-hub .fw-library-brand span{color:var(--fw-hub-accent)}
.fw-reader-hub .fw-library-hero p{font-size:18px!important;line-height:1.4!important;max-width:520px;margin:0!important}
.fw-reader-hub .fw-library-top{grid-template-columns:minmax(0,2.5fr) minmax(240px,1fr);gap:24px;margin:-42px 24px 32px;position:relative}
.fw-reader-hub .fw-library-top>section{padding:24px 28px;border-radius:16px}
.fw-reader-hub .fw-library-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.fw-reader-hub .fw-library-section-heading h2,.fw-reader-hub .fw-library-books>h2{font-size:30px!important;line-height:1.15!important;margin:0!important}
.fw-reader-hub .fw-library-view-all{font:600 14px/1.4 Arial,sans-serif;color:var(--fw-hub-accent);white-space:nowrap}
.fw-reader-hub .fw-library-featured{display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;align-items:center!important;gap:26px!important;flex-direction:row!important;min-height:260px!important}
.fw-reader-hub .fw-library-featured .fw-library-cover{width:170px!important;height:260px!important;min-width:0!important;flex:none!important;align-self:center}
.fw-reader-hub .fw-library-featured .fw-library-cover img{border-radius:9px}
.fw-reader-hub .fw-library-featured h3{font-size:28px!important;line-height:1.15!important;margin:0 0 5px!important}
.fw-reader-hub .fw-library-featured .fw-library-author{font-family:Georgia,serif!important;font-size:17px!important;color:#68645d!important}
.fw-reader-hub .fw-library-featured .fw-library-description{font-size:16px!important;line-height:1.5!important;margin:10px 0 16px!important}
.fw-reader-hub .fw-library-progress{gap:12px;margin:14px 0 8px}.fw-reader-hub .fw-library-progress progress{height:12px;appearance:none;border:0;border-radius:99px;overflow:hidden;background:#dedbd5}.fw-reader-hub progress::-webkit-progress-bar{background:#dedbd5}.fw-reader-hub progress::-webkit-progress-value{background:var(--fw-hub-accent);border-radius:99px}.fw-reader-hub progress::-moz-progress-bar{background:var(--fw-hub-accent);border-radius:99px}.fw-reader-hub .fw-library-progress span{font-size:16px;font-weight:600}
.fw-reader-hub .fw-library-featured .fw-library-actions{display:flex!important;align-items:center!important;gap:12px!important;margin-top:20px!important}
.fw-reader-hub .fw-library-featured .button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;flex:1 1 auto;width:auto!important;min-height:48px!important;padding:11px 16px!important;font:600 17px/1.3 Georgia,serif!important;white-space:normal!important;margin:0!important}
.fw-reader-hub .fw-library-actions svg{width:21px;height:21px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7}
.fw-reader-hub .fw-library-quote{background:linear-gradient(180deg,#fffdf3dd 0%,#fffdf344 55%,transparent 80%),var(--fw-hub-image) 75% center/cover;min-height:340px;align-items:flex-start;padding:34px 28px;border-radius:16px}
.fw-reader-hub .fw-library-quote blockquote{font:italic 25px/1.5 Georgia,serif!important;max-width:230px;margin:0!important}.fw-reader-hub .fw-library-quote blockquote:after{content:'';display:block;width:32px;height:2px;background:#b1a272;margin-top:18px}
.fw-reader-hub .fw-library-books{padding:0 24px 28px}.fw-reader-hub .fw-library-grid .button{margin:0!important}.fw-reader-hub .fw-library-grid h3{font-size:19px!important}
@media(max-width:1050px){.fw-reader-hub .fw-library-featured{grid-template-columns:130px minmax(0,1fr)!important;gap:18px!important}.fw-reader-hub .fw-library-featured .fw-library-cover{width:130px!important;height:205px!important}.fw-reader-hub .fw-library-top{grid-template-columns:minmax(0,2.5fr) minmax(200px,1fr);gap:16px}.fw-reader-hub .fw-library-top>section{padding:20px}.fw-reader-hub .fw-library-featured h3{font-size:24px!important}}
@media(max-width:760px){.fw-reader-hub .fw-library-hero{min-height:230px;padding:24px 18px 56px;gap:16px}.fw-reader-hub .fw-reader-icon{width:88px;height:88px}.fw-reader-hub .fw-library-hero h2{font-size:30px!important}.fw-reader-hub .fw-library-hero p{font-size:15px!important}.fw-reader-hub .fw-library-top{grid-template-columns:1fr;margin:-30px 12px 26px;gap:16px}.fw-reader-hub .fw-library-quote{min-height:190px;background-position:right center}.fw-reader-hub .fw-library-quote blockquote{max-width:240px;font-size:23px!important}.fw-reader-hub .fw-library-section-heading h2,.fw-reader-hub .fw-library-books>h2{font-size:25px!important}.fw-reader-hub .fw-library-featured{grid-template-columns:105px minmax(0,1fr)!important;gap:15px!important;min-height:0!important;align-items:start!important}.fw-reader-hub .fw-library-featured .fw-library-cover{width:105px!important;height:165px!important;align-self:start}.fw-reader-hub .fw-library-featured h3{font-size:21px!important}.fw-reader-hub .fw-library-featured .fw-library-author{font-size:15px!important}.fw-reader-hub .fw-library-featured .fw-library-description{font-size:14px!important}.fw-reader-hub .fw-library-featured .fw-library-actions{flex-direction:column!important;align-items:stretch!important;margin-top:12px!important}.fw-reader-hub .fw-library-featured .button{font-size:15px!important;flex:none!important;min-height:44px!important;padding:10px!important}.fw-reader-hub .fw-library-books{padding:0 12px 24px}.fw-reader-hub .fw-library-state{font-size:12px!important}}
@media(max-width:380px){.fw-reader-hub .fw-library-featured{grid-template-columns:85px minmax(0,1fr)!important;gap:12px!important}.fw-reader-hub .fw-library-featured .fw-library-cover{width:85px!important;height:140px!important}.fw-reader-hub .fw-library-hero h2{font-size:26px!important}.fw-reader-hub .fw-reader-icon{width:70px;height:70px}}

/* Unified library cards, including the dynamically loaded Reader panel. */
.fw-reader-hub .fw-library-kind{font:700 11px/1.4 Arial,sans-serif!important;letter-spacing:.09em;margin:2px 0 8px!important}
.fw-reader-hub [data-hub-card][hidden]{display:none!important}
.fw-reader-hub-embedded .fw-library-top{margin:0 0 24px}
.fw-reader-hub-embedded .fw-library-quote{display:none}
.fw-reader-hub-embedded .fw-library-top{grid-template-columns:minmax(0,1fr)}
