/* Loaded last: mobile layouts must not inherit desktop column widths. */
.saved-book{display:grid;grid-template-columns:82px minmax(0,1fr) auto;align-items:start;gap:20px}
.saved-book .saved-book-details{min-width:0}
.saved-book .saved-book-details h2{font-size:18px;line-height:1.45;overflow-wrap:anywhere}
.saved-book .saved-book-continue{display:inline-flex;flex-direction:column;gap:3px;min-height:44px;justify-content:center;font-size:14px;font-weight:700;text-decoration:none}
.saved-book .saved-book-continue span{font-size:12px;font-weight:400;color:#bdaecb}
.saved-book>button{margin:0;min-height:44px;align-self:end}
@media(max-width:700px){
  .account-page .account-experience{padding-top:24px}
  .account-page .account-page-heading{margin-bottom:22px}
  .account-page .account-page-heading h1{font-size:clamp(32px,9vw,42px);line-height:1.15}
  .account-page .account-page-heading>div>p:last-child{font-size:14px;line-height:1.65}
  .account-library{gap:14px;margin-top:22px}
  .account-library .saved-book{grid-template-columns:68px minmax(0,1fr);gap:12px 16px;padding:18px;border-radius:16px}
  .account-library .saved-book>img,.account-library .saved-book>.saved-book-cover{grid-column:1;grid-row:1;width:68px;height:102px;margin-top:2px}
  .account-library .saved-book>.saved-book-details{grid-column:2;grid-row:1;min-width:0}
  .account-library .saved-book h2{font-size:16px;line-height:1.45;margin:0}
  .account-library .saved-book p{margin:7px 0;font-size:12px}
  .account-library .saved-book>button{grid-column:1/-1;width:100%;margin:0;min-height:44px;font-size:13px;background:#ffffff05}
  .account-library .saved-book-continue{font-size:13px;margin-top:3px}
  .reader-account-menu>div{box-sizing:border-box;width:min(280px,calc(100vw - 104px));max-width:calc(100vw - 104px)}
  .reader-account-menu>summary{min-width:44px;min-height:44px;display:grid;place-items:center}
  #story-search,#discovery-search,.chapter-alert-dialog input{font-size:16px}
  .chapter-alert-dialog{box-sizing:border-box;max-height:calc(100dvh - 24px);overflow:auto}
  .chapter-alert-dialog button,.comments-dialog button,.account-dialog button{min-height:44px}
  .account-dialog input,.account-dialog textarea,.account-dialog select,.comments-dialog textarea,.account-experience input,.account-experience textarea,.account-experience select{font-size:16px}
  .account-page button,.account-page .account-secondary,.account-page .account-primary,.simple-menu{min-height:44px}
  .account-page .settings-save-bar{padding-bottom:max(14px,env(safe-area-inset-bottom))}
  .reader-page .chapter-copy{overflow-wrap:anywhere}
}
@media(max-width:500px){
  .settings-preview-body{padding:22px;display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px 16px;min-height:0}
  .settings-preview-body .reader-avatar{position:static;grid-column:1;grid-row:1;width:52px;height:52px;margin:0}
  .settings-preview-body .account-eyebrow{grid-column:2;grid-row:1;align-self:center;margin:0}
  .settings-preview-body h2,.settings-preview-body p:not(.account-eyebrow),.settings-preview-body small{grid-column:1/-1;margin:0}
  .profile-identity-copy{flex-basis:100%}
  .home-redesign .feature-stage{grid-template-columns:minmax(0,1fr) 82px;grid-template-rows:auto auto auto auto auto auto;gap:12px 16px;padding:22px 20px;min-height:0}
  .home-redesign .feature-copy>.home-eyebrow{grid-column:1;grid-row:1;align-self:start;line-height:1.7;margin:0}
  .home-redesign .feature-category{grid-column:1;grid-row:2;align-self:start;margin:0;padding-top:4px}
  .home-redesign .feature-visual{grid-column:2;grid-row:1/3;padding:0;align-self:start}
  .home-redesign .feature-book{width:72px;transform:rotate(4deg)}
  .home-redesign .feature-copy h2,.home-redesign .feature-copy h2.feature-long-title{grid-column:1/-1;grid-row:3;font-size:clamp(25px,6.8vw,31px);line-height:1.15;margin:4px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .home-redesign .feature-byline{grid-column:1/-1;grid-row:4;font-size:11px;margin:0}
  .home-redesign .feature-summary{grid-column:1/-1;grid-row:5;font-size:13px;line-height:1.65;margin:0;-webkit-line-clamp:3}
  .home-redesign .feature-themes{display:none}
  .home-redesign .feature-actions{grid-column:1/-1;grid-row:6;gap:4px;margin-top:6px;flex-direction:column;align-items:stretch}
  .home-redesign .feature-actions .primary{flex:1;justify-content:center;font-size:12px;padding:12px}
  .home-redesign .feature-secondary{font-size:11px;min-height:44px;padding:8px}
  .home-redesign .home-intro h1{font-size:clamp(34px,9vw,44px);line-height:1.1}
  .home-redesign .feature-pick{flex-basis:220px}
  .home-redesign .feature-toolbar{margin-bottom:10px}
}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}.home-redesign .feature-stage *{animation:none!important;transition:none!important}}
