/* Responsive corrections: let content determine card height, never squeeze proof cards. */
.chapter-side{position:static;top:auto;max-height:none;overflow:visible;padding-right:0}
.chapter-side>*{flex-shrink:0;min-width:0}
.book-sidebar,.sticky-side,.prose-toc{position:static;top:auto}
.chapter-layout>*,.chapter-title-grid>*,.inner-hero-grid>*,.hero-grid>*,.book-spread>*,.academic-portrait-banner>div,.tiled-2>*,.tiled-3>*{min-width:0}
.btn{max-width:100%;white-space:normal;text-align:center}
.academic-paper,.btl-sources a{overflow-wrap:anywhere}
.chapter-mobile-photo{flex-shrink:0}
.btl-funnel-modal{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}
.btl-funnel-backdrop{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overflow:hidden}
.btl-funnel-close{width:44px;height:44px;right:10px;top:10px;z-index:2}
.btl-funnel-modal>.eyebrow{padding-right:32px}
.btl-funnel-modal h2{margin-right:28px}
.btl-funnel-modal .btn{min-height:44px}
@media(min-width:1100px) and (min-height:1200px){.chapter-side{position:sticky;top:100px}.book-sidebar,.sticky-side,.prose-toc{position:sticky;top:106px}}
@media(max-width:1024px){
 .chapter-layout,.chapter-title-grid,.page-grid,.prose-layout{grid-template-columns:minmax(0,1fr)}
 .chapter-progress-visual{display:none}
 .chapter-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .doctor-proof{grid-row:span 2}
 .chapter-mobile-proof{display:flex;align-items:center;gap:11px;background:#ffffffad;border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin-top:23px;max-width:440px}
 .chapter-mobile-proof>span:first-child{width:44px;height:44px;border-radius:11px}
 .chapter-mobile-proof b{display:block;color:var(--pine);font-size:12px}
 .chapter-mobile-proof small{display:block;color:var(--muted);font-size:10px;margin-top:2px}
 .nav-row{min-height:72px;gap:14px;position:relative}
 .menu-toggle{display:flex;flex-shrink:0;margin-left:auto}
 .nav-cta{margin-left:0}
 .nav-links{display:none;position:absolute;top:100%;left:0;right:0;margin:0;padding:12px;background:var(--background,#fff9fc);border:1px solid var(--line);border-radius:0 0 16px 16px;box-shadow:0 15px 25px #37112814;flex-direction:column;align-items:stretch;gap:0;max-height:calc(100dvh - 90px);overflow:auto;z-index:55}
 .nav-links.is-open{display:flex}
 .nav-links a{font-size:14px;padding:13px 10px;min-height:44px;border-bottom:1px solid var(--line)}
 .chapter-bottom{align-items:start;flex-direction:column}
 .chapter-bottom .btn{width:100%}
}
@media(max-width:900px){.book-spread{grid-template-columns:minmax(0,1fr)}.book-toc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.book-side-foot{display:flex;align-items:center;gap:16px}.book-side-foot p{flex:1}.book-side-foot .btn{flex-shrink:0}.inner-hero-grid{gap:24px}}
@media(max-width:600px){
 .chapter-side{display:grid;grid-template-columns:minmax(0,1fr)}.doctor-proof{grid-row:auto}
 .chapter-next a,.book-prevnext button{min-height:44px;display:inline-flex;align-items:center}
 .chapter-title-grid h1,.inner-hero h1{overflow-wrap:break-word}
 .book-side-foot{flex-direction:column;align-items:stretch}
 .btl-funnel-modal{padding:24px 20px;border-radius:20px}
 .btl-funnel-modal h2{font-size:24px;line-height:1.3}
 .btl-popup-download{margin:14px 0 18px}
 .btl-community-options{grid-template-columns:minmax(0,1fr)}
 .btl-community-option{display:grid;grid-template-columns:42px minmax(0,1fr);gap:4px 12px;padding:15px}
 .btl-community-option .btl-network-icon{grid-row:span 2;margin:0}
 .btl-community-option h3{align-self:center;margin:0;font-size:14px}
 .btl-community-option p{margin:0 0 7px;min-height:0;font-size:11px}
 .btl-community-option .btn,.btl-community-option .btl-group-qr{grid-column:1/-1}
 .btl-funnel-modal .action-belt{flex-wrap:wrap}
 .btl-funnel-modal .action-belt .btn{flex:1 1 110px}
 .btl-group-qr img{max-width:100%;height:auto;aspect-ratio:1}
}
@media(max-width:360px){.brand-title{font-size:11px}.brand-sub{font-size:6.5px}.btl-logo{width:35px!important;height:35px!important}.brand{gap:7px}.nav-row{gap:8px}.chapter-title-grid h1{font-size:32px}.chapter-section h2{font-size:27px}.book-chapter-header h2{font-size:26px}.btl-funnel-modal{padding:22px 16px}.btl-funnel-modal h2{font-size:22px}.book-toc{grid-template-columns:1fr}.chapter-book{padding:20px}}
@media(max-height:500px) and (orientation:landscape){.btl-funnel-modal{max-height:calc(100dvh - 20px)}.bot-panel{bottom:64px;max-height:calc(100dvh - 140px);overflow:auto}.bot-launch{bottom:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.hero-real-photo{transition:none}}
@media(max-width:1024px){.pills button,.chapter-mini-index>a,.book-toc button,.time-tab{min-height:44px}.bag-row{min-height:48px}}
