.reading-shelf-page .shelf-card-note,.reading-shelf-page .shelf-card-meta{display:none}.reading-shelf-page .shelf-book{min-height:154px}.reading-shelf-page .shelf-book-copy{display:flex;min-width:0;flex-direction:column}.reading-shelf-page .shelf-details-button:focus-visible,.shelf-dialog-close:focus-visible,.shelf-dialog-link:focus-visible{outline:2px solid var(--vermilion,#b84432);outline-offset:3px}.shelf-book-dialog{width:min(620px,calc(100vw - 2rem));max-height:min(760px,calc(100vh - 2rem));padding:0;border:0;border-radius:16px;background:var(--paper,#fbf9f4);color:var(--ink,#20201e);box-shadow:0 30px 90px rgba(32,32,30,.25)}.shelf-book-dialog::backdrop{background:rgba(20,20,18,.52);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.shelf-dialog-shell{position:relative;padding:clamp(1.5rem,5vw,3rem)}.shelf-dialog-close{position:absolute;top:.8rem;right:.8rem;display:grid;width:42px;height:42px;place-items:center;border:1px solid rgba(32,32,30,.14);border-radius:50%;background:rgba(255,255,255,.65);color:inherit;font-size:1.35rem;cursor:pointer}.shelf-dialog-kicker{display:block;padding-right:3rem;color:var(--vermilion,#b84432);font-size:.68rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.shelf-book-dialog h3{max-width:14ch;margin:.6rem 0 .35rem;font-family:"Instrument Serif",Georgia,serif;font-size:clamp(2.3rem,6vw,4.3rem);font-weight:400;line-height:.93;overflow-wrap:anywhere;text-wrap:balance}.shelf-dialog-author{margin:0 0 1.2rem;font-weight:800}.shelf-dialog-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.2rem}.shelf-dialog-tags span{padding:.28rem .48rem;border:1px solid rgba(184,68,50,.2);border-radius:999px;color:var(--vermilion,#b84432);font-size:.62rem;font-weight:800;text-transform:uppercase}.shelf-dialog-note{max-width:56ch;margin:0;padding:1.1rem 0;border-top:1px solid rgba(32,32,30,.12);font-size:1rem;line-height:1.7;text-wrap:pretty}.shelf-dialog-commitment{margin:.2rem 0 1.3rem;color:var(--neem,#66735a);font-size:.78rem;line-height:1.5}.shelf-dialog-link{display:inline-block;color:inherit;font-size:.78rem;font-weight:850;text-decoration:none;border-bottom:1px solid var(--vermilion,#b84432)}@media(max-width:800px){.reading-shelf-page .shelf-book{min-height:146px}.reading-shelf-page .shelf-book h4{-webkit-line-clamp:3}.shelf-book-dialog{width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem);border-radius:14px}.shelf-dialog-shell{padding:1.4rem 1.15rem 1.6rem}.shelf-book-dialog h3{padding-right:1.5rem;font-size:clamp(2rem,11vw,3.3rem)}}@media(prefers-reduced-motion:reduce){}
/* Whole-card interaction and responsive native modal */
.reading-shelf-page .shelf-book{cursor:pointer}
.reading-shelf-page .shelf-book:focus-visible{outline:3px solid #a44d3a;outline-offset:3px}
.reading-shelf-page .shelf-details-hint{display:inline-flex;align-items:center;align-self:flex-start;margin-top:auto;padding-top:.65rem;font-size:.78rem;font-weight:800;color:#a44d3a;line-height:1.4}
.reading-shelf-page .shelf-book:hover .shelf-details-hint{text-decoration:underline;text-underline-offset:3px}
.shelf-dialog-open{overflow:hidden}
.shelf-book-dialog{box-sizing:border-box;width:min(680px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:min(820px,calc(100dvh - 32px));overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #e4dace;border-radius:20px;background:#fffdf8;color:#272821}
.shelf-book-dialog::backdrop{background:rgba(25,27,24,.65)}
.shelf-dialog-shell{min-width:0;padding:clamp(1.4rem,4vw,2.7rem)}
.shelf-dialog-close{position:sticky;top:0;float:right;z-index:5;width:44px;height:44px;margin:-.4rem -.4rem .2rem .5rem;background:#fffdf8;border:1px solid #dcd2c6;border-radius:50%;box-shadow:0 2px 10px rgba(0,0,0,.08);touch-action:manipulation}
.shelf-book-dialog [data-shelf-dialog-body]{min-width:0;overflow-wrap:anywhere}
.shelf-book-dialog h3{max-width:100%;font-size:clamp(2.2rem,5vw,3.7rem);line-height:1.03;margin:.65rem 0}
.shelf-dialog-facts{font-size:.78rem;color:#6b7065;line-height:1.6}
.shelf-dialog-section,.shelf-dialog-question,.shelf-dialog-themes,.shelf-dialog-story-bridge{margin:1.1rem 0;padding:1.1rem 0;border-top:1px solid #e5ded3}
.shelf-dialog-section>span,.shelf-dialog-question>span,.shelf-dialog-themes>span,.shelf-dialog-story-bridge>span{display:block;color:#a44d3a;text-transform:uppercase;letter-spacing:.08em;font-size:.69rem;font-weight:850;margin-bottom:.55rem}
.shelf-dialog-section p,.shelf-dialog-question p,.shelf-dialog-themes p,.shelf-dialog-story-bridge p{margin:.2rem 0;line-height:1.7;color:#4f544a;font-size:.95rem}
.shelf-dialog-question{padding:1.2rem;background:#f6f0e6;border:0;border-radius:12px}
.shelf-dialog-story-links{display:grid;gap:.75rem;margin-top:1rem}
.shelf-dialog-story-links a{display:grid;gap:.3rem;padding:1rem;border:1px solid #e5ded3;border-radius:12px;text-decoration:none;color:#272821}
.shelf-dialog-story-links a span{font-size:.84rem;line-height:1.5;color:#6b7065}
.shelf-dialog-story-links a b{color:#a44d3a;font-size:.8rem}
.shelf-dialog-link{display:inline-flex;min-height:44px;align-items:center;margin-top:.75rem}
@media(max-width:600px){.shelf-book-dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;margin:0;border:0;border-radius:0;padding:0;scrollbar-gutter:auto}.shelf-dialog-shell{padding:calc(1rem + env(safe-area-inset-top,0px)) 1.15rem calc(1.5rem + env(safe-area-inset-bottom,0px))}.shelf-dialog-close{width:48px;height:48px;margin:-.3rem -.2rem .4rem .5rem}.shelf-book-dialog h3{font-size:clamp(2.1rem,9vw,3.15rem)}.shelf-dialog-story-links a{padding:.85rem}}

/* Book details is a native button, distinct from the publisher link. */
.reading-shelf-page button.shelf-details-hint{appearance:none;border:0;background:transparent;font:inherit;font-size:.78rem;font-weight:800;color:#a44d3a;cursor:pointer;padding:.65rem 0 0;text-align:left}
.reading-shelf-page button.shelf-details-hint:focus-visible{outline:3px solid #334a68;outline-offset:4px;border-radius:2px}


/* 2026-11-19: Reading Shelf mobile-first legibility and spacing pass.
   Scoped to the shelf; avoids changing global typography and other pages. */
.reading-shelf-page{
  --shelf-readable-muted:#50584c;
  --shelf-gutter:clamp(18px,4vw,48px);
}
.reading-shelf-page :is(.shelf-hero,.shelf-current,.shelf-philosophy,.shelf-archive,.shelf-upcoming)>.container{
  width:min(calc(100% - 2 * var(--shelf-gutter)),1200px);
  max-width:100%;
  margin-inline:auto;
}
.reading-shelf-page :is(.shelf-browser,.shelf-results,.shelf-stage,.shelf-grid,.shelf-book,.shelf-book-copy,.shelf-stage-head,.shelf-stage-title,.shelf-filters){min-width:0}
.reading-shelf-page :is(.shelf-hero,.shelf-current,.shelf-archive,.shelf-philosophy) p{overflow-wrap:break-word}
.reading-shelf-page .shelf-hero>div>p,
.reading-shelf-page .shelf-edition-head p,
.reading-shelf-page .shelf-stage-head p,
.reading-shelf-page .shelf-guidance,
.reading-shelf-page .shelf-result-count{color:var(--shelf-readable-muted);font-size:clamp(.95rem,1.2vw,1.08rem);line-height:1.65}
.reading-shelf-page .shelf-philosophy :is(p,.shelf-principles p){color:#f0eee8}
.reading-shelf-page .shelf-philosophy .shelf-principles{border-color:rgba(255,255,255,.22)}
.reading-shelf-page .shelf-kicker,
.reading-shelf-page .shelf-edition-head>span,
.reading-shelf-page .shelf-stage-head>span,
.reading-shelf-page .shelf-philosophy>.container>span{font-size:.78rem;line-height:1.5}
.reading-shelf-page .shelf-search span,
.reading-shelf-page .shelf-filters legend,
.reading-shelf-page .shelf-filter-title span{font-size:.82rem;line-height:1.5}
.reading-shelf-page .shelf-filters label{font-size:.94rem;line-height:1.5;color:#454d42}
.reading-shelf-page .shelf-filter-title button{font-size:.84rem;min-height:44px}
.reading-shelf-page .shelf-book h4{font-size:clamp(1.4rem,1.8vw,1.7rem);line-height:1.15}
.reading-shelf-page .shelf-byline{font-size:.87rem!important;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.reading-shelf-page .shelf-tags{flex-wrap:wrap;white-space:normal;overflow:visible}
.reading-shelf-page .shelf-tags span{font-size:.73rem;line-height:1.5;white-space:normal;text-overflow:clip}
.reading-shelf-page .shelf-pick{font-size:.73rem;line-height:1.5}
.reading-shelf-page button.shelf-details-hint{font-size:.92rem;min-height:44px;align-items:center}
.reading-shelf-page .shelf-stage-title{flex-wrap:wrap;align-items:baseline}
.reading-shelf-page .shelf-stage-title small{font-size:.84rem;color:var(--shelf-readable-muted);white-space:normal}
.reading-shelf-page .shelf-book-copy{overflow-wrap:anywhere}
.reading-shelf-page .shelf-book-dialog :is(.shelf-dialog-section p,.shelf-dialog-question p,.shelf-dialog-themes p,.shelf-dialog-story-bridge p){font-size:1rem;color:#3e453b}
.reading-shelf-page .shelf-stage-tabs{max-width:100%;overflow-x:auto}
@media(max-width:800px){
  .reading-shelf-page .shelf-filter-toggle{position:static;font-size:.9rem;letter-spacing:0}
  .reading-shelf-page .shelf-book{min-height:170px}
  .reading-shelf-page .shelf-book-copy{padding:1rem}
  .reading-shelf-page .shelf-grid{gap:1rem}
  .reading-shelf-page .shelf-principles{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:520px){
  .reading-shelf-page{--shelf-gutter:18px}
  .reading-shelf-page .shelf-book{grid-template-columns:88px minmax(0,1fr)}
  .reading-shelf-page .shelf-cover-wrap{width:88px}
  .reading-shelf-page .shelf-cover-wrap>img,
  .reading-shelf-page .shelf-cover-placeholder{width:78px;max-width:100%}
  .reading-shelf-page .shelf-book h4{font-size:1.42rem;line-height:1.15}
  .reading-shelf-page .shelf-stage-head{grid-template-columns:28px minmax(0,1fr)}
  .reading-shelf-page .shelf-stage-title{display:block}
  .reading-shelf-page .shelf-stage-title small{display:block;margin-top:.2rem}
  .reading-shelf-page .shelf-book-dialog h3{font-size:clamp(2rem,9vw,3.1rem)}
}


/* Reading Shelf cards v2 — meaningful previews, keyboard-clear actions, consistent mobile rhythm. */
.reading-shelf-page .shelf-card-note{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:.55rem 0 .75rem!important;font-size:.88rem!important;line-height:1.55!important;color:#4c5348!important;overflow-wrap:break-word}
.reading-shelf-page .shelf-card-meta{display:flex!important;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:auto;padding-top:.45rem}
.reading-shelf-page .shelf-card-meta small{display:block;font-size:.76rem;line-height:1.45;color:#4b5348;overflow-wrap:anywhere}
.reading-shelf-page .shelf-card-meta a{font-size:.82rem;font-weight:800;color:#8e382a;text-underline-offset:3px;min-height:44px;display:inline-flex;align-items:center}
.reading-shelf-page .shelf-book{cursor:default;grid-template-columns:104px minmax(0,1fr);min-height:228px;align-items:stretch}
.reading-shelf-page .shelf-cover-wrap{width:104px;padding:12px 0 12px 12px}
.reading-shelf-page .shelf-cover-wrap>img,.reading-shelf-page .shelf-cover-placeholder{width:92px;height:auto;min-height:154px;max-height:240px;object-fit:contain}
.reading-shelf-page .shelf-book-copy{padding:1.05rem;display:flex;flex-direction:column;align-items:stretch;gap:0;overflow:visible}
.reading-shelf-page .shelf-book h4{display:block;overflow:visible;-webkit-line-clamp:unset;margin:.45rem 0 .3rem;font-size:clamp(1.45rem,2vw,1.8rem);line-height:1.12;overflow-wrap:break-word;hyphens:auto}
.reading-shelf-page .shelf-byline{margin:0!important;font-size:.88rem!important;font-weight:700;line-height:1.45;color:#394137!important}
.reading-shelf-page .shelf-tags{min-height:1.4rem}
.reading-shelf-page .shelf-tags span{font-size:.74rem;letter-spacing:.02em}
.reading-shelf-page button.shelf-details-hint{display:inline-flex;align-items:center;justify-content:flex-start;align-self:flex-start;margin-top:.6rem;padding:.55rem .1rem;min-height:44px;font-size:.91rem;font-weight:800;text-decoration:underline;text-underline-offset:4px}
.reading-shelf-page .shelf-book:focus-within{border-color:#a44d3a;box-shadow:0 0 0 2px rgba(164,77,58,.14)}
.reading-shelf-page .shelf-book:hover{transform:none}
@media(max-width:1050px){.reading-shelf-page .shelf-grid{grid-template-columns:minmax(0,1fr)}}
@media(min-width:1051px){.reading-shelf-page .shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.reading-shelf-page .shelf-book{display:grid;grid-template-columns:104px minmax(0,1fr);min-height:0}.reading-shelf-page .shelf-cover-wrap{width:104px;height:auto;padding:12px 0 12px 12px}.reading-shelf-page .shelf-cover-wrap>img,.reading-shelf-page .shelf-cover-placeholder{width:92px;height:auto;min-height:144px;max-height:230px;object-fit:contain}.reading-shelf-page .shelf-book-copy{padding:1rem}.reading-shelf-page .shelf-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:520px){.reading-shelf-page .shelf-book{grid-template-columns:82px minmax(0,1fr)}.reading-shelf-page .shelf-cover-wrap{width:82px;padding:10px 0 10px 10px}.reading-shelf-page .shelf-cover-wrap>img,.reading-shelf-page .shelf-cover-placeholder{width:72px;min-height:112px;max-height:190px}.reading-shelf-page .shelf-book-copy{padding:.9rem}.reading-shelf-page .shelf-book h4{font-size:1.36rem;line-height:1.15}.reading-shelf-page .shelf-card-note{-webkit-line-clamp:2;font-size:.85rem!important}.reading-shelf-page .shelf-byline{font-size:.82rem!important}}
