/* Read Together / Reading Shelf navigation and responsive repair, Nov 2026 */
.ra-reading-shelf-link{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:48px;padding:.8rem 1.1rem;border:1px solid currentColor;border-radius:999px;color:inherit;text-decoration:none;font-weight:800;background:#fffaf1}
.ra-reading-shelf-link:hover,.ra-reading-shelf-link:focus-visible{background:#20201e;color:#fff;outline-offset:3px}
.ra-reading-shelf-promo{padding:clamp(2rem,5vw,4rem) 0;background:#f4efe5;border-block:1px solid #ded6c9}
.ra-reading-shelf-promo .container{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(220px,.7fr);align-items:center;gap:1.5rem}
.ra-reading-shelf-promo h2{font-family:"Instrument Serif",Georgia,serif;font-size:clamp(2rem,4vw,3.7rem);font-weight:400;line-height:1.05;margin:.3rem 0 .7rem}
.ra-reading-shelf-promo p{max-width:60ch;line-height:1.65}
.ra-reading-shelf-promo .ra-reading-shelf-link{justify-self:start}
.reading-shelf-page .shelf-browser,.reading-shelf-page .shelf-results,.reading-shelf-page .shelf-stage,.reading-shelf-page .shelf-grid{min-width:0}
.reading-shelf-page .shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.reading-shelf-page .shelf-book{grid-template-columns:90px minmax(0,1fr);height:auto;min-height:205px}
.reading-shelf-page .shelf-book-copy{overflow:visible}
.reading-shelf-page .shelf-book h4{font-size:clamp(1.2rem,1.7vw,1.65rem);line-height:1.14}
.reading-shelf-page .shelf-byline{white-space:normal;overflow-wrap:anywhere;line-height:1.45}
.reading-shelf-page .shelf-card-note{font-size:.82rem!important}
.reading-shelf-page .shelf-details-button{min-height:40px;margin-top:.65rem}
.reading-shelf-page .shelf-filters{min-width:0}
@media(max-width:1050px){.reading-shelf-page .shelf-browser{grid-template-columns:200px minmax(0,1fr)}.reading-shelf-page .shelf-grid{grid-template-columns:1fr}}
@media(max-width:800px){.ra-reading-shelf-promo .container{grid-template-columns:1fr}.reading-shelf-page .shelf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;padding:.3rem 0 1rem;scroll-snap-type:none}.reading-shelf-page .shelf-book{display:flex;flex-direction:column;min-width:0;min-height:0}.reading-shelf-page .shelf-cover-wrap{width:100%;height:150px;padding:12px 12px 0}.reading-shelf-page .shelf-cover-wrap>img,.reading-shelf-page .shelf-cover-placeholder{width:100%;height:138px;min-height:0;object-fit:contain}.reading-shelf-page .shelf-book-copy{padding:1rem}.reading-shelf-page .shelf-rail-tools,.reading-shelf-page .shelf-rail-progress{display:none!important}}
@media(max-width:520px){.reading-shelf-page .shelf-grid{grid-template-columns:1fr}.reading-shelf-page .shelf-book{display:grid;grid-template-columns:90px minmax(0,1fr)}.reading-shelf-page .shelf-cover-wrap{width:90px;height:auto;padding:10px 0 10px 10px}.reading-shelf-page .shelf-cover-wrap>img,.reading-shelf-page .shelf-cover-placeholder{width:80px;height:150px}.reading-shelf-page .shelf-book-copy{padding:.85rem}.reading-shelf-page .shelf-stage{content-visibility:visible}}

/* Keep the homepage CTA compact and prevent line breaks. */
.ra-hero-paths .ra-reading-shelf-link{display:inline-flex;flex:0 0 auto;width:max-content;max-width:100%;white-space:nowrap;padding:.6rem .9rem;font-size:.85rem;line-height:1.25}
@media(max-width:520px){.ra-hero-paths .ra-reading-shelf-link{font-size:.78rem;padding:.55rem .7rem}.reading-shelf-page .shelf-browser{display:block}.reading-shelf-page .shelf-results{width:100%}}
/* Moment picker must be above the two-column browser, never a grid child. */
.reading-shelf-page .shelf-moments{grid-column:1/-1;width:100%;box-sizing:border-box}
.reading-shelf-page .shelf-stage[hidden],.reading-shelf-page .shelf-no-results[hidden],.reading-shelf-page .shelf-stage-tabs[hidden]{display:none!important}

/* Reading Shelf layout revision */
.ra-institutional-bar{position:relative;z-index:40;background:#fbf9f4;border-bottom:1px solid #e4ddd0}
.ra-institutional-bar .ra-institutional-inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:74px;padding-block:.7rem}
.ra-institutional-bar .ra-institutional-brand{display:flex;flex-direction:column;flex-shrink:0;text-decoration:none;line-height:1.15;white-space:nowrap}
.ra-institutional-bar .ra-institutional-brand span{font-size:.62rem;letter-spacing:.18em;font-weight:800}
.ra-institutional-bar .ra-institutional-brand strong{font-family:"Instrument Serif",Georgia,serif;font-size:1.55rem;font-weight:400}
.ra-institutional-bar nav{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:.25rem .5rem;min-width:0}
.ra-institutional-bar nav a{display:inline-flex;align-items:center;min-height:40px;padding:.55rem .72rem;border-radius:7px;font-size:.82rem;font-weight:700;text-decoration:none;white-space:nowrap}
.ra-institutional-bar nav a[aria-current="page"]{background:#eae4d9;color:#20201e}
.ra-institutional-toggle{display:none;min-height:44px;border:1px solid #d6cfc4;border-radius:8px;background:transparent;padding:.55rem .8rem;font:inherit;font-weight:700}
.reading-shelf-page .shelf-hero{padding:clamp(2.5rem,5vw,4.5rem) 0}
.reading-shelf-page .shelf-hero h1{font-size:clamp(2.8rem,6vw,5.5rem);line-height:1.02;letter-spacing:-.035em;max-width:14ch;margin:.6rem 0 1rem}
.reading-shelf-page .shelf-hero .container>p{max-width:58ch;margin-bottom:1.25rem}
.reading-shelf-page .shelf-hero-back{display:inline-flex;align-items:center;min-height:44px;font-size:.85rem;font-weight:800;color:#8f382a;text-underline-offset:4px}
.reading-shelf-page .shelf-current{padding:clamp(2rem,5vw,4rem) 0}
.reading-shelf-page .shelf-edition-head{margin-bottom:clamp(1.25rem,3vw,2rem)}
.reading-shelf-page .shelf-browser{gap:clamp(1.25rem,2.8vw,2.5rem)}
.reading-shelf-page .shelf-filters{min-width:0}
.reading-shelf-page .shelf-filter-sticky{padding:1rem;box-sizing:border-box;max-height:calc(100dvh - 2rem)}
.reading-shelf-page .shelf-filter-title{gap:.5rem}
.reading-shelf-page .shelf-filters fieldset{min-width:0}
.reading-shelf-page .shelf-filters label{font-size:.84rem;line-height:1.5}
.reading-shelf-page .shelf-search{display:block}
.reading-shelf-page .shelf-search input{display:block;margin-top:.4rem}
.reading-shelf-page .shelf-stage{padding:2rem 0;content-visibility:visible}
.reading-shelf-page .shelf-stage-head{margin-bottom:1rem}
.reading-shelf-page .shelf-book{min-height:190px}
.reading-shelf-page .shelf-book-copy{gap:.25rem}
.reading-shelf-page .shelf-archive,.reading-shelf-page .shelf-upcoming{padding:clamp(2.5rem,5vw,4rem) 0}
.reading-shelf-page .shelf-upcoming{background:#fbf9f4;border-top:1px solid #ded6c9}
.reading-shelf-page .shelf-upcoming>div>span{color:#b84432;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;font-weight:800}
.reading-shelf-page .shelf-upcoming h2{font-family:"Instrument Serif",Georgia,serif;font-size:clamp(2.5rem,5vw,4.5rem);font-weight:400;margin:.6rem 0}
.reading-shelf-page .shelf-upcoming p{color:#66735a;line-height:1.6}
.reading-shelf-page [hidden]{display:none!important}
@media(max-width:950px){
.ra-institutional-bar .ra-institutional-inner{flex-wrap:wrap;min-height:64px}
.ra-institutional-toggle{display:inline-flex;align-items:center;gap:.6rem;margin-left:auto}
.ra-institutional-bar nav{display:none!important;flex-basis:100%;width:100%;justify-content:flex-start;flex-direction:column;align-items:stretch;padding:.5rem 0}
.ra-institutional-bar.is-open nav{display:flex!important}
.ra-institutional-bar nav a{white-space:normal;width:100%;box-sizing:border-box}
}
@media(max-width:800px){.reading-shelf-page .shelf-filter-sticky{max-height:none;overflow:visible}.reading-shelf-page .shelf-filter-toggle{margin-bottom:1.25rem}.reading-shelf-page .shelf-moments{margin:1.25rem 0 1.75rem}.reading-shelf-page .shelf-hero h1{max-width:16ch}}

/* Anhaya editorial card system — shared across Stories and Reading Shelf */
.read-aloud-library{--anhaya-card:#fffdf8;--anhaya-line:#e5ded3;--anhaya-ink:#272821;--anhaya-muted:#6b7065;--anhaya-accent:#a44d3a}
.read-aloud-library .ra-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.9rem,2vw,1.5rem);border:0;align-items:stretch}
.read-aloud-library .ra-card{position:relative;min-width:0;min-height:315px;padding:clamp(1.3rem,2.3vw,2rem);border:1px solid var(--anhaya-line);border-radius:18px;background:var(--anhaya-card);box-shadow:0 3px 12px rgba(38,34,27,.025);color:var(--anhaya-ink);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.read-aloud-library .ra-card:before{content:"";position:absolute;left:1.5rem;right:1.5rem;top:0;height:3px;border-radius:0 0 3px 3px;background:var(--anhaya-accent);opacity:.55}
.read-aloud-library .ra-card:hover{background:#fffdf8;border-color:#d5b4a6;transform:translateY(-3px);box-shadow:0 15px 34px rgba(38,34,27,.085)}
.read-aloud-library .ra-card-meta{font-size:.67rem;letter-spacing:.055em;color:var(--anhaya-accent);line-height:1.5}
.read-aloud-library .ra-card h3{margin:1.3rem 0 .8rem;font-size:clamp(1.8rem,2.5vw,2.6rem);line-height:1.08;letter-spacing:-.025em;overflow-wrap:anywhere}
.read-aloud-library .ra-card p{font-size:.91rem;line-height:1.7;color:var(--anhaya-muted)}
.read-aloud-library .ra-tags{padding-top:1.35rem;gap:.4rem}
.read-aloud-library .ra-tags span{border:1px solid #e9e1d7;background:#f8f4ed;border-radius:999px;padding:.33rem .65rem;font-size:.67rem;color:#655d50}
.read-aloud-library .ra-card>strong{display:inline-flex;align-items:center;align-self:flex-start;margin-top:1.2rem;font-size:.82rem;color:var(--anhaya-accent)}
.reading-shelf-page .shelf-grid{gap:clamp(.85rem,1.6vw,1.35rem)}
.reading-shelf-page .shelf-book{background:var(--anhaya-card);border:1px solid var(--anhaya-line);border-radius:16px;box-shadow:0 3px 12px rgba(38,34,27,.035);overflow:hidden;min-height:205px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.reading-shelf-page .shelf-book:before{display:none}
.reading-shelf-page .shelf-book:hover{background:#fffdf8;border-color:#d5b4a6;box-shadow:0 15px 32px rgba(38,34,27,.085);transform:translateY(-3px)}
.reading-shelf-page .shelf-book.is-featured{border-color:#d8b6a7;box-shadow:0 4px 18px rgba(164,77,58,.07)}
.reading-shelf-page .shelf-book.is-featured:after{background:var(--anhaya-accent)}
.reading-shelf-page .shelf-cover-wrap{isolation:isolate}
.reading-shelf-page .shelf-cover-wrap:after{opacity:.45}
.reading-shelf-page .shelf-cover-placeholder{background:linear-gradient(155deg,#e9e0d0,#d9c9b3);color:#493e33;box-shadow:3px 4px 0 rgba(71,53,35,.06),6px 9px 14px rgba(71,53,35,.1);border:1px solid #d5c5af}
.reading-shelf-page .shelf-cover-placeholder span{color:#8c5542;letter-spacing:.06em}
.reading-shelf-page .shelf-cover-placeholder strong{font-family:"Instrument Serif",Georgia,serif;font-size:1.2rem;line-height:1.05;color:#493e33}
.reading-shelf-page .shelf-book-copy{padding:clamp(.85rem,1.5vw,1.25rem);gap:.28rem}
.reading-shelf-page .shelf-book h4{font-size:clamp(1.3rem,2vw,1.8rem);line-height:1.08;letter-spacing:-.015em;margin:.45rem 0 .2rem}
.reading-shelf-page .shelf-byline{font-size:.75rem!important;color:var(--anhaya-muted)!important;font-weight:650}
.reading-shelf-page .shelf-pick{background:#f5e8df;color:#944630;padding:.28rem .55rem;font-size:.62rem}
.reading-shelf-page .shelf-tags{gap:.45rem;flex-wrap:wrap;white-space:normal}
.reading-shelf-page .shelf-tags span{font-size:.63rem;color:var(--anhaya-accent);letter-spacing:.025em}
.reading-shelf-page .shelf-details-button{font-size:.77rem;padding:.5rem 0;min-height:44px;border-bottom-color:#c9907d}
.reading-shelf-page .shelf-filters .shelf-filter-sticky{background:#fffdf8;border:1px solid var(--anhaya-line);border-top:3px solid #a44d3a;border-radius:14px;box-shadow:0 6px 22px rgba(38,34,27,.045)}
.reading-shelf-page .shelf-search input{background:#fff;border-radius:9px}
@media(max-width:1000px){.read-aloud-library .ra-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.read-aloud-library .ra-card-grid{grid-template-columns:1fr;gap:.8rem}.read-aloud-library .ra-card{min-height:0;padding:1.35rem;border-radius:14px}.read-aloud-library .ra-card h3{font-size:2rem}.reading-shelf-page .shelf-book{border-radius:14px}.reading-shelf-page .shelf-book h4{font-size:1.4rem}}
@media(prefers-reduced-motion:reduce){.read-aloud-library .ra-card,.reading-shelf-page .shelf-book{transition:none}.read-aloud-library .ra-card:hover,.reading-shelf-page .shelf-book:hover{transform:none}}

/* Reading Shelf: full-width, mobile-first discovery layout (Nov 2026) */
.reading-shelf-page .shelf-current>.container{width:min(100% - clamp(28px,5vw,96px),1680px);max-width:none;margin-inline:auto}
.reading-shelf-page .shelf-edition-head{max-width:1100px;margin-bottom:clamp(1.5rem,3vw,2.75rem)}
.reading-shelf-page .shelf-edition-head h2{max-width:24ch;line-height:1.06}
.reading-shelf-page .shelf-browser{display:grid;grid-template-columns:minmax(230px,270px) minmax(0,1fr);gap:clamp(1.5rem,2.8vw,3.5rem);align-items:start}
.reading-shelf-page .shelf-results{width:100%;min-width:0}
.reading-shelf-page .shelf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.9rem,1.25vw,1.35rem);overflow:visible;padding:.35rem 0 1rem;scroll-snap-type:none}
.reading-shelf-page .shelf-book{display:grid;grid-template-columns:clamp(90px,7.5vw,124px) minmax(0,1fr);min-width:0;min-height:208px;align-items:stretch;scroll-snap-align:none}
.reading-shelf-page .shelf-cover-wrap{width:auto;height:auto;min-width:0;padding:clamp(.65rem,1vw,1rem) 0 clamp(.65rem,1vw,1rem) clamp(.65rem,1vw,1rem);display:flex;align-items:flex-start;justify-content:center}
.reading-shelf-page .shelf-cover-wrap>img,.reading-shelf-page .shelf-cover-placeholder{display:block;width:100%;height:auto;min-height:0;aspect-ratio:2/3;max-height:190px;object-fit:cover;border-radius:5px}
.reading-shelf-page .shelf-book-copy{display:flex;flex-direction:column;min-width:0;padding:clamp(.9rem,1.2vw,1.25rem);gap:.25rem}
.reading-shelf-page .shelf-book h4{font-size:clamp(1.4rem,1.65vw,1.95rem);line-height:1.08;margin:.3rem 0 .15rem}
.reading-shelf-page .shelf-details-button{margin-top:auto;align-self:flex-start}
.reading-shelf-page .shelf-stage{padding:clamp(1.5rem,2.8vw,2.75rem) 0}
.reading-shelf-page .shelf-stage-head{display:flex;gap:1rem;align-items:start;padding-bottom:1rem;border-bottom:1px solid #e5ded3}
.reading-shelf-page .shelf-filter-sticky{position:sticky;top:1rem;max-height:calc(100dvh - 2rem);overflow-y:auto;padding:1.25rem;border-radius:16px}
.reading-shelf-page .shelf-filter-title{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem}
.reading-shelf-page .shelf-filter-options{gap:.65rem}
.reading-shelf-page .shelf-filter-options label{min-height:30px;align-items:center;gap:.65rem}
.reading-shelf-page .shelf-filter-options input[type=checkbox]{width:18px;height:18px;flex-shrink:0}
.reading-shelf-page .shelf-filters fieldset{padding:1rem 0}
.reading-shelf-page .shelf-filters legend{margin-bottom:.8rem}
.reading-shelf-page .shelf-search input{min-height:48px;padding:.8rem .9rem}
.reading-shelf-page .shelf-filter-scroll{max-height:190px}
@media(max-width:1450px){.reading-shelf-page .shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){.reading-shelf-page .shelf-browser{grid-template-columns:minmax(205px,235px) minmax(0,1fr);gap:1.4rem}.reading-shelf-page .shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reading-shelf-page .shelf-book{display:flex;flex-direction:column}.reading-shelf-page .shelf-cover-wrap{width:100%;padding:1rem 1rem 0;box-sizing:border-box;justify-content:flex-start}.reading-shelf-page .shelf-cover-wrap>img,.reading-shelf-page .shelf-cover-placeholder{width:110px;max-height:165px}.reading-shelf-page .shelf-book-copy{flex:1}}
@media(max-width:800px){.reading-shelf-page .shelf-browser{display:block}.reading-shelf-page .shelf-filter-toggle{display:flex;position:sticky;top:.5rem;z-index:8;width:100%;min-height:52px;border-radius:12px;padding:.8rem 1rem;margin:0 0 1.25rem}.reading-shelf-page .shelf-filters{display:none;margin-bottom:1.25rem}.reading-shelf-page .shelf-filters[data-open]{display:block}.reading-shelf-page .shelf-filter-sticky{position:static;max-height:none;overflow:visible}.reading-shelf-page .shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.reading-shelf-page .shelf-book{display:flex;flex-direction:column;min-height:0}.reading-shelf-page .shelf-cover-wrap{width:100%;padding:.85rem .85rem 0}.reading-shelf-page .shelf-cover-wrap>img,.reading-shelf-page .shelf-cover-placeholder{width:100px;height:150px;max-height:none}.reading-shelf-page .shelf-book-copy{padding:.85rem}.reading-shelf-page .shelf-book h4{font-size:1.45rem}}
@media(max-width:540px){.reading-shelf-page .shelf-current>.container{width:calc(100% - 28px)}.reading-shelf-page .shelf-grid{grid-template-columns:1fr;gap:.8rem}.reading-shelf-page .shelf-book{display:grid;grid-template-columns:104px minmax(0,1fr);min-height:170px}.reading-shelf-page .shelf-cover-wrap{width:104px;padding:10px 0 10px 10px;box-sizing:border-box}.reading-shelf-page .shelf-cover-wrap>img,.reading-shelf-page .shelf-cover-placeholder{width:94px;height:141px;max-height:none}.reading-shelf-page .shelf-book-copy{padding:.85rem}.reading-shelf-page .shelf-book h4{font-size:1.48rem}.reading-shelf-page .shelf-stage-head{gap:.75rem}.reading-shelf-page .shelf-stage-head>span{flex-shrink:0}}

/* Compact stage selector: only one reading level visible at a time */
.reading-shelf-page .shelf-stage-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;padding:.4rem;background:#f1ece3;border:1px solid #e5ded3;border-radius:14px;margin:0 0 .9rem}
.reading-shelf-page .shelf-stage-tabs button{display:flex;align-items:center;justify-content:center;gap:.55rem;min-width:0;min-height:52px;padding:.7rem .5rem;border:1px solid transparent;border-radius:10px;background:transparent;color:#55584e;font:inherit;font-size:.9rem;font-weight:750;cursor:pointer;transition:background .16s ease,box-shadow .16s ease}
.reading-shelf-page .shelf-stage-tabs button[aria-selected="true"]{background:#fffdf8;color:#272821;border-color:#e5ded3;box-shadow:0 3px 12px rgba(38,34,27,.07)}
.reading-shelf-page .shelf-stage-tabs button:disabled{opacity:.35;cursor:not-allowed}
.reading-shelf-page .shelf-stage-tabs button:focus-visible{outline:2px solid #a44d3a;outline-offset:2px}
.reading-shelf-page .shelf-stage-tabs [data-tab-count]{display:inline-flex;align-items:center;justify-content:center;min-width:1.65rem;height:1.65rem;padding:0 .25rem;border-radius:999px;background:#e8e0d5;color:#5d594f;font-size:.73rem;font-weight:800}
.reading-shelf-page .shelf-stage-tabs [aria-selected="true"] [data-tab-count]{background:#f1dfd5;color:#954a38}
.reading-shelf-page .shelf-stage{padding-top:1rem}
.reading-shelf-page .shelf-stage[hidden]{display:none!important}
.reading-shelf-page .shelf-load-more{display:block!important;margin:1.25rem auto 0;min-height:44px;padding:.7rem 1.4rem;border:1px solid #d9c4b6;border-radius:999px;background:#fffdf8;color:#954a38;font-size:.82rem;font-weight:800;cursor:pointer}
.reading-shelf-page .shelf-load-more[hidden]{display:none!important}
@media(max-width:600px){.reading-shelf-page .shelf-stage-tabs{gap:.2rem;padding:.25rem;border-radius:12px}.reading-shelf-page .shelf-stage-tabs button{flex-direction:column;gap:.2rem;min-height:60px;padding:.5rem .2rem;font-size:.78rem}.reading-shelf-page .shelf-stage-tabs [data-tab-count]{height:1.3rem;min-width:1.3rem;font-size:.68rem}.reading-shelf-page .shelf-stage-head{margin-top:.3rem}}

/* Non-cover fallback: quiet book glyph, no large branding text */
.reading-shelf-page .shelf-cover-placeholder{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;background:#eee6d9!important;color:#96745e!important;border:1px solid #e1d5c5!important;overflow:hidden}
.reading-shelf-page .shelf-cover-placeholder svg{display:block;width:min(45%,48px);height:auto;max-height:48px;flex:none;opacity:.85}
.reading-shelf-page .shelf-cover-placeholder span,.reading-shelf-page .shelf-cover-placeholder strong{display:none!important}

/* Homepage Reading Shelf CTA: explicit hit area and stable responsive stacking */
body.read-aloud-library:not(.reading-shelf-page) .ra-hero .ra-hero-paths{position:relative;z-index:3;display:flex;flex-wrap:wrap;align-items:center;gap:.7rem 1.1rem;overflow:visible}
body.read-aloud-library:not(.reading-shelf-page) .ra-hero .ra-hero-paths .ra-reading-shelf-link{position:relative;z-index:4;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;box-sizing:border-box;width:auto;max-width:100%;min-height:48px;padding:.7rem 1.15rem;margin:0;border:1px solid #a44d3a;border-radius:999px;background:#a44d3a;color:#fffdf8;font-size:.87rem;font-weight:800;line-height:1.25;white-space:nowrap;text-decoration:none;pointer-events:auto;cursor:pointer;touch-action:manipulation}
body.read-aloud-library:not(.reading-shelf-page) .ra-hero .ra-hero-paths .ra-reading-shelf-link:hover{background:#843b2c;border-color:#843b2c;color:#fff}
body.read-aloud-library:not(.reading-shelf-page) .ra-hero .ra-hero-paths .ra-reading-shelf-link:focus-visible{outline:3px solid #272821;outline-offset:3px}
body.read-aloud-library:not(.reading-shelf-page) .ra-reading-shelf-promo .ra-reading-shelf-link{min-height:48px;padding:.75rem 1.2rem;background:#a44d3a;border-color:#a44d3a;color:#fffdf8;box-sizing:border-box}
@media(max-width:600px){body.read-aloud-library:not(.reading-shelf-page) .ra-hero .ra-hero-paths{flex-direction:row;align-items:center;gap:.35rem .9rem}body.read-aloud-library:not(.reading-shelf-page) .ra-hero .ra-hero-paths .ra-reading-shelf-link{min-height:48px;padding:.7rem 1rem;font-size:.83rem}}

/* Sprint 1: accessible book-detail actions on touch and keyboard. */
.reading-shelf-page .shelf-details-hint,.reading-shelf-page .shelf-dialog-close{min-height:44px;min-width:44px;touch-action:manipulation}
.reading-shelf-page .shelf-details-hint:focus-visible,.reading-shelf-page .shelf-dialog-close:focus-visible{outline:3px solid #a44d3a;outline-offset:3px}
