/* Batch 1: navigation, home and library only. Desktop additions stay hidden. */
.profile-layout>.profile-form:only-child{grid-column:1/-1}
.app-profile-home,.app-profile-subheader{display:none}
.mobile-bottom-nav,.mobile-header-actions,.mobile-home-shortcuts,.mobile-filter-launch,.mobile-stories-toggle,.mobile-rank-tabs,.mobile-book-cover,.mobile-update-cover,.mobile-update-more{display:none}
.mobile-filter-dialog:not([open]){display:none}
@media(max-width:760px){
  .mobile-update-more{display:block}
  .page-books .card-top{display:flex;justify-content:space-between;gap:8px;align-items:center;color:var(--muted);font-size:10px}
  body:not(.page-reader){padding-bottom:calc(74px + env(safe-area-inset-bottom,0px))}
  .site-header{height:64px}.site-header .shell{width:calc(100% - 32px)}
  .site-header nav{display:none}.brand>span:last-child{display:block}.brand strong{font-size:17px}.brand small{font-size:10px;letter-spacing:.04em}.brand-nut{width:36px;height:38px;font-size:20px;border-radius:13px}
  .mobile-header-actions{display:flex;gap:8px}.mobile-header-actions a{display:grid;place-items:center;width:44px;height:44px;color:var(--ink)}
  .mobile-header-actions svg,.mobile-bottom-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .mobile-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:40;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:6px 12px calc(6px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:#fffdf9;box-shadow:0 -4px 20px #58412308}
  .mobile-bottom-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:52px;font-size:11px;color:#81776d}.mobile-bottom-nav a[aria-current=page]{color:var(--orange-deep);font-weight:800}.mobile-bottom-nav a[aria-current=page] svg{background:#fff0e3;border-radius:6px;box-shadow:0 0 0 5px #fff0e3}
  .mobile-keyboard-open .mobile-bottom-nav{display:none}.site-footer{display:none}
  .page-home .shell,.page-books .shell{width:calc(100% - 32px)}
  .page-home .hero-grid{grid-template-columns:minmax(0,1fr);min-height:0;gap:18px;padding:22px 0 18px}
  .page-home .hero-copy{padding:0}.page-home .hero-copy>.eyebrow{font-size:10px;letter-spacing:.06em}.page-home .hero h1{font-size:29px;line-height:1.3;margin:12px 0 8px;letter-spacing:-.025em}.page-home .hero h1 br{display:initial}.page-home .hero-copy>p{font-size:12px;line-height:1.7;margin:0 0 16px;max-width:none}
  .page-home .hero-search{width:100%;height:46px;box-shadow:none;border-radius:11px}.page-home .hero-search input{font-size:16px;padding:0 12px}.page-home .hero-search button{width:66px}
  .page-home .featured-carousel{width:100%;max-width:none}.page-home .daily-card{grid-template-columns:102px minmax(0,1fr);gap:16px;min-height:226px;padding:42px 18px 18px;border-radius:20px;box-shadow:0 10px 28px #53502617}.page-home .daily-card:after{inset:10px;border-radius:14px}.page-home .daily-date{left:20px;right:20px;top:16px}.page-home .daily-cover{width:102px;height:153px;transform:none;border-radius:7px;box-shadow:0 7px 16px #302b3329}.page-home .daily-cover span{font-size:16px;padding:12px}.page-home .daily-info h2{font-size:17px;margin:6px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.page-home .daily-author{font-size:11px!important;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.page-home .daily-stats{margin-top:10px;gap:12px}.page-home .daily-stats span{display:inline!important}.page-home .daily-stats b{display:inline;font-size:12px}.page-home .daily-actions{margin-top:8px;gap:6px;flex-direction:row;align-items:center;flex-wrap:wrap}.page-home .daily-actions>a{display:inline-flex;align-items:center;min-height:36px}.page-home .daily-actions>.button{min-height:36px;font-size:11px;padding:0 10px}.page-home .daily-summary{display:none!important}.page-home .featured-controls{padding:5px 0 0}.page-home .featured-dots{gap:0}.page-home .featured-dots button{position:relative;width:30px;height:36px;background:transparent;border-radius:0}.page-home .featured-dots button:after{content:"";position:absolute;width:6px;height:6px;border-radius:5px;background:#bfae9c;top:15px;left:12px}.page-home .featured-dots button.is-active:after{width:20px;left:5px;background:var(--orange)}.page-home .featured-arrows button{width:38px;height:36px}
  .mobile-home-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:4px}.mobile-home-shortcuts a{padding:12px 5px;border:1px solid #edddce;border-radius:11px;background:#ffffffb3;text-align:center;font-size:13px;font-weight:700}.mobile-home-shortcuts span{margin-right:5px;color:var(--orange-deep)}
  .page-home .category-section,.page-home .library-section,.page-home .rank-preview-section,.page-home .updates-section{padding:26px 0}
  .page-home .section-heading{flex-direction:row;align-items:center;gap:10px;margin-bottom:16px}.page-home .section-heading .eyebrow{display:none}.page-home .section-heading h2{font-size:21px;margin:0;line-height:1.4}.page-home .section-heading p{display:none}.page-home .section-more{font-size:11px;max-width:110px;text-align:right;line-height:1.6}
  .page-home .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.page-home .category-card{grid-template-columns:34px minmax(0,1fr);padding:11px;gap:9px;border-radius:12px}.page-home .category-card>span{width:34px;height:34px;font-size:12px}.page-home .category-card b{font-size:12px}.page-home .category-card small{font-size:10px}.page-home .category-card:hover{transform:none}
  .page-home .library-section .book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 11px}.page-home .library-section .book-card{display:block;min-height:0;padding:0;background:transparent;border:0;box-shadow:none;border-radius:0;animation:none}.page-home .library-section .book-card:hover{transform:none}.page-home .library-section .cover{display:block;width:100%;height:auto;aspect-ratio:2/3;border-radius:8px;box-shadow:0 5px 12px #4b352b18}.page-home .library-section .cover-fallback{font-size:13px;padding:10px;line-height:1.6}.page-home .library-section .book-card-body{padding-top:7px}.page-home .library-section .book-card h3{font-size:13px;line-height:1.55;height:40px;margin:0 0 4px;overflow-wrap:anywhere}.page-home .library-section .author{font-size:10px;line-height:1.6;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.page-home .library-section .card-top,.page-home .library-section .summary,.page-home .library-section .tag-row,.page-home .library-section .card-actions{display:none}
  .mobile-stories-ready:not(.mobile-stories-expanded) .book-card:nth-child(n+4){display:none}.mobile-stories-toggle{display:block;width:100%;min-height:42px;margin-top:18px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--orange-deep);font:inherit;font-size:12px;font-weight:700}
  .page-home .rank-preview-grid{grid-template-columns:minmax(0,1fr)}.page-home .rank-preview-card ol{display:block;padding:0 14px}.page-home .rank-preview-card header{padding:13px 14px}.page-home .rank-preview-card h3{font-size:16px}.page-home .rank-preview-card li{grid-template-columns:24px 46px minmax(0,1fr);grid-template-rows:auto auto;gap:3px 10px;padding:12px 0}.page-home .rank-preview-card li:nth-child(2){border-top:1px dashed #eee2d8}.page-home .rank-preview-card li>i{grid-column:1;grid-row:1/3}.page-home .rank-preview-card li>a:not(.mobile-book-cover){grid-column:3;grid-row:1;align-self:end;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;line-height:1.5}.page-home .rank-preview-card li>small{grid-column:3;grid-row:2;align-self:start;text-align:left;font-size:11px;margin-top:3px}.page-home .mobile-book-cover{display:block;grid-column:2;grid-row:1/3;width:46px;height:69px;border-radius:5px}.page-home .mobile-book-cover .cover-fallback{font-size:9px;padding:5px;line-height:1.5}
  .mobile-rank-tabs{display:flex;gap:8px;margin:0 0 13px}.mobile-rank-tabs button{flex:1;min-height:42px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--muted);font:inherit;font-size:13px}.mobile-rank-tabs button[aria-selected=true]{background:var(--orange);border-color:var(--orange);color:#fff;font-weight:800}.mobile-ranks-ready .rank-preview-card:not(.mobile-rank-active){display:none}
  .page-home .update-list{display:grid;gap:12px;background:transparent;border:0;border-radius:0;overflow:visible}.page-home .update-head{display:none}.page-home .update-row{display:grid;grid-template-columns:78px minmax(0,1fr);grid-template-rows:auto auto auto auto;gap:4px 13px;padding:13px;background:#fff;border:1px solid var(--line);border-radius:13px;min-height:145px}.page-home .mobile-update-cover{display:block;grid-column:1;grid-row:1/5;width:78px;height:117px;border-radius:6px}.page-home .mobile-update-cover .cover-fallback{font-size:12px;padding:9px}.page-home .update-category{display:block;grid-column:2;font-size:10px}.page-home .update-book-link{grid-column:2;font-size:14px;line-height:1.5;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.page-home .update-chapter{grid-column:2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;line-height:1.55;font-size:12px;color:var(--orange-deep)}.page-home .update-author,.page-home .update-words{display:none}.page-home .update-row time{grid-column:2;font-size:11px;color:var(--muted)}
  .page-books .page-banner{padding:22px 0 20px;background:#fff7ef}.page-books .page-banner .eyebrow{display:none}.page-books .page-banner h1{font-size:26px;margin:0 0 8px}.page-books .page-banner p{font-size:12px;line-height:1.7}.page-books .browse-section{padding:18px 0 30px}.page-books .library-filter{padding:14px;margin-bottom:20px;border-radius:13px;box-shadow:none}.page-books .filter-search{grid-template-columns:minmax(0,1fr) 84px;gap:10px;margin:0;padding:0;border:0}.page-books .filter-search label:first-child{grid-column:1;grid-row:1}.page-books .filter-search label:first-child>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.page-books .filter-search label:nth-child(2){grid-column:1/-1;grid-row:2;display:flex;align-items:center;gap:12px}.page-books .filter-search label:nth-child(2)>span{white-space:nowrap;font-size:12px;margin:0}.page-books .filter-search select{flex:1;min-width:0}.page-books .filter-search>button{grid-column:2;grid-row:1}.page-books .filter-search input:not([type=hidden]){font-size:16px;padding:0 10px}.page-books .filter-search select{font-size:14px}
  .page-books.mobile-ready .filter-rows{display:none}.page-books.mobile-ready .mobile-filter-launch{display:flex;gap:10px;margin-top:12px}.mobile-filter-launch button,.mobile-filter-launch a{display:grid;place-items:center;flex:1;min-height:42px;border:1px solid #edcbb2;border-radius:8px;background:#fff8f0;color:#99512a;font:inherit;font-size:13px}.page-books .filter-rows{margin-top:18px}.page-books .active-filters{margin:0 0 20px;padding:9px;gap:7px}.page-books .active-filters a{min-height:34px;display:inline-flex;align-items:center}.page-books .result-heading{flex-direction:row;align-items:center;gap:10px;margin-bottom:14px}.page-books .result-heading .eyebrow{display:none}.page-books .result-heading h2{font-size:20px;margin:0;overflow-wrap:anywhere}.page-books .result-heading p{font-size:11px;white-space:nowrap}
  .page-books .book-grid{grid-template-columns:minmax(0,1fr);gap:12px}.page-books .book-card{grid-template-columns:90px minmax(0,1fr);gap:13px;padding:13px;min-height:168px;border-radius:13px;animation:none}.page-books .book-card:hover{transform:none}.page-books .book-card .cover{display:block;width:90px;height:135px;border-radius:7px;box-shadow:0 6px 14px #45342b1a}.page-books .book-card h3{font-size:16px;line-height:1.45;margin:5px 0;overflow-wrap:anywhere}.page-books .book-card .author{font-size:11px;line-height:1.6}.page-books .book-card .summary{display:-webkit-box;-webkit-line-clamp:2;margin:8px 0;font-size:12px;line-height:1.65}.page-books .book-card .tag-row{display:flex;flex-wrap:wrap;gap:4px;margin:7px 0}.page-books .tag-row a{font-size:10px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.page-books .card-actions{font-size:12px;gap:12px;flex-wrap:wrap}.page-books .card-actions a{display:inline-flex;align-items:center;min-height:34px}.page-books .pagination{flex-wrap:wrap;gap:6px;margin-top:24px}.page-books .pagination a{height:42px;min-width:36px;padding:0 10px}.page-books .empty-state{padding:40px 16px}
  .mobile-filter-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:760px;max-height:90vh;max-height:90dvh;border:0;border-radius:20px 20px 0 0;padding:0;background:#fffdf9;color:var(--ink);box-shadow:0 -12px 45px #3426192b;overflow:hidden}.mobile-filter-dialog::backdrop{background:#20171066}.mobile-filter-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 14px;border-bottom:1px solid var(--line)}.mobile-filter-dialog>header small{font-size:11px;color:var(--muted)}.mobile-filter-dialog h2{margin:3px 0 0;font-size:22px}.mobile-filter-dialog>header button{width:44px;height:44px;background:#f5ece3;border:0;border-radius:50%;font-size:26px;color:#766354}.mobile-filter-scroll{max-height:calc(90vh - 162px);max-height:calc(90dvh - 162px - env(safe-area-inset-bottom,0px));overflow-y:auto;overscroll-behavior:contain;padding:18px 20px}.mobile-filter-dialog fieldset{padding:0;margin:0 0 24px;border:0;min-width:0}.mobile-filter-dialog legend,.mobile-publishers h3{padding:0;margin:0 0 12px;font-size:14px;font-weight:800}.mobile-filter-options{display:flex;flex-wrap:wrap;gap:8px}.mobile-filter-options label{position:relative;cursor:pointer}.mobile-filter-options input{position:absolute;opacity:0;width:1px;height:1px}.mobile-filter-options span{display:flex;align-items:center;justify-content:center;min-height:38px;min-width:56px;padding:8px 12px;border:1px solid #eadfd3;border-radius:8px;background:#fff;font-size:12px}.mobile-filter-options input:checked+span{background:#fff0e3;border-color:var(--orange);color:#bd501d;font-weight:800}.mobile-filter-options input:focus-visible+span{outline:2px solid var(--orange);outline-offset:2px}.mobile-filter-dialog p{font-size:11px;color:var(--muted);line-height:1.7}.mobile-publishers>div{display:flex;flex-wrap:wrap;gap:8px}.mobile-publishers a{font-size:12px;padding:10px;border:1px solid var(--line);border-radius:8px;background:white}.mobile-publishers small{color:var(--muted)}.mobile-filter-dialog footer{display:grid;grid-template-columns:1fr 2fr;gap:12px;padding:13px 20px calc(13px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:#fff}.mobile-filter-dialog footer button{height:44px;border:1px solid var(--line);border-radius:10px;font:inherit;font-size:14px;background:#fff;color:var(--muted)}.mobile-filter-dialog footer button[type=submit]{background:var(--orange);color:#fff;border-color:var(--orange);font-weight:800}.mobile-filter-open{overflow:hidden}
  .page-home a:focus-visible,.page-books a:focus-visible,.mobile-bottom-nav a:focus-visible,.mobile-header-actions a:focus-visible,.page-home button:focus-visible,.page-books button:focus-visible{outline:2px solid var(--orange-deep);outline-offset:3px}
}

/* Mobile batch 3: member journeys, discovery pages and public support. */
@media (max-width:760px){
  .page-account .account-page{padding:14px 0 30px;background:#fffaf5}
  .page-account .account-layout{width:calc(100% - 28px);display:block}
  .page-account .account-sidebar{margin:0 0 10px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:none}
  .page-account .account-sidebar .member-card{min-height:72px;padding:12px 14px}
  .page-account .account-sidebar .member-avatar{width:46px;height:46px;font-size:18px}
  .page-account .account-sidebar .member-card b{font-size:15px}
  .page-account .account-sidebar .member-card small{font-size:10px}
  .page-account .account-sidebar nav{display:none}
  .page-account .account-main{min-width:0}
  .account-mobile-sections{display:flex;gap:7px;overflow:auto;margin:0 -1px 13px;padding:1px 1px 5px;scrollbar-width:none}
  .account-mobile-sections::-webkit-scrollbar{display:none}
  .account-mobile-sections a{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;min-height:38px;padding:0 12px;border:1px solid #eadfd3;border-radius:20px;background:#fff;color:#77675a;font-size:12px;font-weight:800}
  .account-mobile-sections a.active{border-color:var(--orange);background:var(--orange);color:#fff}
  .account-mobile-sections span{display:grid;min-width:16px;height:16px;place-items:center;border-radius:9px;background:#f4e6d9;color:#a05b33;font-size:9px}
  .account-mobile-sections a.active span{background:rgba(255,255,255,.24);color:#fff}
  .page-account .account-welcome{padding:20px 17px;border-radius:14px}
  .page-account .account-welcome .eyebrow{font-size:9px}
  .page-account .account-welcome h1{margin:7px 0;font-size:23px;line-height:1.35}
  .page-account .account-welcome p{font-size:12px;line-height:1.7}
  .page-account .account-welcome>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:17px}
  .page-account .account-welcome>div a{min-width:0;padding:11px 7px;border-radius:9px}
  .page-account .account-welcome>div b{font-size:18px}
  .page-account .account-welcome>div span{font-size:9px;white-space:nowrap}
  .account-mobile-utilities{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 17px}
  .account-mobile-utilities a{min-height:72px;padding:12px;border:1px solid var(--line);border-radius:11px;background:#fff}
  .account-mobile-utilities a:last-child{grid-column:1/-1}
  .account-mobile-utilities b,.account-mobile-utilities span{display:block}
  .account-mobile-utilities b{font-size:13px}
  .account-mobile-utilities span{margin-top:5px;color:var(--muted);font-size:10px;line-height:1.45}
  .page-account .account-panel{margin-bottom:13px;padding:16px 14px;border-radius:13px;box-shadow:none}
  .page-account .account-panel>header{align-items:center;margin-bottom:14px}
  .page-account .account-panel>header h2{font-size:19px}
  .page-account .account-panel>header p{font-size:10px;line-height:1.55}
  .page-account .account-panel>header>a,.page-account .account-panel>header>button{min-height:36px;font-size:11px}
  .page-account .recommendation-panel{display:none}
  .page-account .account-book-list{gap:9px}
  .page-account .account-book-item>a,.page-account .shelf-book-link{grid-template-columns:58px minmax(0,1fr);gap:11px;min-height:92px;padding:10px}
  .page-account .account-book-item .mini-book-cover,.page-account .shelf-book-link .mini-book-cover{width:58px;height:81px}
  .page-account .account-book-item b,.page-account .shelf-book-link b{font-size:13px;line-height:1.45}
  .page-account .account-book-item small,.page-account .shelf-book-link small{font-size:10px;line-height:1.55;white-space:normal}
  .page-account .shelf-book-main{padding:0 0 52px}
  .page-account .shelf-reading-state{margin:0 10px;gap:5px;font-size:10px}
  .page-account .shelf-reading-state small{flex-basis:100%;font-size:10px}
  .page-account .shelf-item-actions{right:10px;bottom:9px;left:10px;justify-content:flex-end}
  .page-account .shelf-item-actions select,.page-account .subscription-toggle{height:34px}
  .page-account .subscription-toggle{padding:0 9px;font-size:10px}
  .page-account .shelf-item-actions .account-item-remove{min-height:34px;padding:0 5px}
  .page-account .shelf-group-tools{gap:10px;margin-bottom:13px;padding:10px}
  .page-account .shelf-group-tabs{gap:6px}
  .page-account .shelf-group-tabs>a,.page-account .shelf-group-tabs>span{min-height:34px}
  .page-account .shelf-group-tabs a{padding:7px 9px}
  .page-account .shelf-group-tabs span button{width:25px;height:32px}
  .page-account .shelf-group-create{grid-template-columns:minmax(0,1fr) auto;max-width:none}
  .page-account .shelf-group-create input,.page-account .shelf-group-create button{height:38px;font-size:12px}
  .page-account .shelf-sort{margin:0 0 13px;padding:0;border:0;background:transparent;overflow:auto;flex-wrap:nowrap}
  .page-account .shelf-sort span{display:none}
  .page-account .shelf-sort a{min-width:auto;flex:0 0 auto;padding:8px 11px;font-size:11px}
  .page-account .reminder-book-list{gap:9px}
  .page-account .reminder-book-item>a:first-child{grid-template-columns:58px minmax(0,1fr);min-height:96px;padding:10px}
  .page-account .reminder-book-item .mini-book-cover{width:58px;height:81px}
  .page-account .reminder-book-item b{font-size:13px}
  .page-account .reminder-read{min-height:34px;margin:0 10px 9px;padding:9px 0 0;font-size:11px}
  .page-account .preference-panel .member-form{grid-template-columns:1fr 1fr;gap:10px}
  .page-account .preference-panel .member-form label:last-of-type{grid-column:1/-1}
  .page-account .preference-panel .member-form>button,.page-account .preference-panel .form-message{grid-column:1/-1;max-width:none}
  .page-account .preference-panel .member-form select{height:42px;padding:0 8px;font-size:12px}
  .page-account .profile-layout{grid-template-columns:1fr;gap:16px}
  .page-account .member-pagination{overflow:auto;justify-content:flex-start;margin:19px 0 2px;padding-bottom:3px}
  .page-account .member-pagination a{flex:0 0 auto;min-width:39px;height:39px}
  .page-account .account-empty{padding:35px 15px}
  .page-account .account-empty b{font-size:16px}
  .page-account .account-empty a{min-height:39px;padding:0 13px}

  .auth-page{min-height:0;padding:18px 0 34px;background:#fffaf5}
  .auth-layout{gap:12px}
  .auth-copy{padding:15px 16px;border-radius:13px;background:#fff2e5}
  .auth-copy .eyebrow,.auth-copy p{display:none}
  .auth-copy h1{margin:0;font-size:22px;line-height:1.45}
  .auth-card{padding:18px 15px;border-radius:13px;box-shadow:none}
  .auth-tabs a{min-height:42px}
  .auth-card .member-form{gap:13px}
  .auth-card .member-form input{height:44px;font-size:16px}
  .auth-card .member-form button{min-height:45px}
  .auth-card .captcha-field span{grid-template-columns:minmax(0,1fr) 108px}
  .auth-card .captcha-field img{width:108px;height:42px}

  .page-rankings .page-banner,.page-updates .page-banner{padding:25px 0 22px;background:#fff5ea}
  .page-rankings .page-banner .eyebrow,.page-updates .page-banner .eyebrow{display:none}
  .page-rankings .page-banner h1,.page-updates .page-banner h1{margin:0 0 7px;font-size:25px}
  .page-rankings .page-banner p,.page-updates .page-banner p{font-size:11px;line-height:1.6}
  .page-rankings .ranking-section,.page-updates .updates-page{padding:16px 0 32px}
  .page-rankings .rank-tabs{display:flex;gap:7px;overflow:auto;margin-bottom:15px;padding:1px 1px 5px;scrollbar-width:none}
  .page-rankings .rank-tabs::-webkit-scrollbar{display:none}
  .page-rankings .rank-tabs button{flex:0 0 auto;min-height:38px;padding:0 13px;border-radius:20px;font-size:12px}
  .page-rankings .ranking-panel{padding:0}
  .page-rankings .ranking-heading{align-items:center;margin-bottom:11px}
  .page-rankings .ranking-heading .eyebrow{display:none}
  .page-rankings .ranking-heading h2{margin:0;font-size:20px}
  .page-rankings .ranking-heading p{font-size:10px}
  .page-rankings .ranking-list{border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden}
  .page-rankings .ranking-list li{grid-template-columns:29px 47px minmax(0,1fr) 16px;gap:9px;min-height:81px;padding:10px 11px}
  .page-rankings .rank-number{font-size:13px}
  .page-rankings .rank-cover{width:47px;height:66px;border-radius:5px}
  .page-rankings .rank-book .category,.page-rankings .rank-book p{font-size:9px}
  .page-rankings .rank-book h3{margin:3px 0;font-size:13px;line-height:1.45}
  .page-rankings .rank-value{display:none}
  .page-rankings .rank-arrow{font-size:17px}

  .page-updates .update-card-page{padding-top:16px}
  .page-updates .update-filters{gap:6px;margin-bottom:16px;padding:7px;overflow:auto;flex-wrap:nowrap}
  .page-updates .update-filters a{min-width:54px;flex:1 0 auto;padding:8px 7px;font-size:11px}
  .page-updates .result-heading{align-items:center;margin-bottom:13px}
  .page-updates .result-heading .eyebrow{display:none}
  .page-updates .result-heading h2{margin:0;font-size:20px}
  .page-updates .result-heading p{font-size:10px}
  .page-updates .update-book-grid{grid-template-columns:1fr;gap:10px}
  .page-updates .update-book-card{display:grid;grid-template-columns:78px minmax(0,1fr);gap:11px;min-height:128px;padding:10px;border-radius:12px;animation:none}
  .page-updates .update-book-card .cover{width:78px;height:117px;border-radius:6px}
  .page-updates .update-book-card .cover-fallback{font-size:11px}
  .page-updates .update-book-card .book-card-body{min-width:0;padding:0}
  .page-updates .update-book-card .card-top{margin:0;font-size:9px}
  .page-updates .update-book-card h3{margin:4px 0;font-size:14px;line-height:1.45}
  .page-updates .update-book-card .author{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .page-updates .update-book-card .latest-chapter-block{margin:7px 0 0;padding:7px 8px}
  .page-updates .update-book-card .latest-chapter-block small{font-size:8px}
  .page-updates .update-book-card .latest-chapter-block a{margin-top:3px;font-size:11px}
  .page-updates .update-book-card .latest-chapter-block time{margin-top:3px;font-size:9px}
  .page-updates .update-book-card .tag-row,.page-updates .update-book-card .card-actions{display:none}
  .page-updates .pagination{justify-content:flex-start;overflow:auto;margin-top:20px;padding-bottom:3px}
  .page-updates .pagination a{flex:0 0 auto;min-width:39px;height:39px}

  .page-info .info-hero,.page-legal .info-hero{padding:27px 0 23px}
  .page-info .info-hero h1,.page-legal .info-hero h1{font-size:25px}
  .page-info .info-hero p,.page-legal .info-hero p{font-size:11px;line-height:1.65}
  .page-info .info-card,.page-legal .info-card{padding:20px 15px;border-radius:13px}
  .page-info .info-card>section+section,.page-legal .info-card>section+section{margin-top:25px;padding-top:23px}
  .page-info .info-card h2,.page-legal .info-card h2{font-size:20px}
  .page-info .info-card p,.page-legal .info-card p{font-size:13px;line-height:1.85}
  .page-info .feedback-form{gap:14px}
  .page-info .feedback-form input,.page-info .feedback-form select{height:44px;font-size:16px}
  .page-info .feedback-form textarea{font-size:16px}
}
@media(min-width:521px) and (max-width:760px){.page-home .daily-card{grid-template-columns:124px minmax(0,1fr);min-height:250px}.page-home .daily-cover{width:124px;height:186px}.page-home .daily-info h2{font-size:22px}.page-home .library-section .book-grid{gap:22px}.page-books .book-card{grid-template-columns:110px minmax(0,1fr)}.page-books .book-card .cover{width:110px;height:165px}}
@media(prefers-reduced-motion:reduce){.page-home .book-card,.page-books .book-card{animation:none}}

/* Dense discovery grids: three-column illustrated picks, two-column update cards. */
.mobile-cover-meta,.mobile-card-status,.mobile-update-tags{display:none}
@media(max-width:760px){
  .page-home .library-section .book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 9px}
  .page-home .library-section .book-card{display:block!important;min-width:0}
  .page-home .library-section .cover{aspect-ratio:3/4;border-radius:13px;box-shadow:none}
  .page-home .library-section .cover:after{content:"";position:absolute;z-index:3;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.8));pointer-events:none}
  .page-home .library-section .cover .mobile-cover-meta{display:flex;flex-direction:column;align-items:flex-start;gap:5px;position:absolute;bottom:11px;left:11px;right:11px;z-index:4;color:#fff}
  .page-home .library-section .mobile-cover-meta small{padding:2px 6px;border-radius:4px;background:#287b5e;font-size:10px;line-height:1.5}
  .page-home .library-section .mobile-cover-meta b{font-size:12px;line-height:1.45;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;text-shadow:0 1px 3px #0008}
  .page-home .library-section .book-card-body{padding-top:6px}
  .page-home .library-section .book-card-body h3,.page-home .library-section .author,.page-home .library-section .card-actions,.mobile-stories-toggle{display:none}
  .page-home .library-section .tag-row,.page-books .book-card .tag-row,.page-home .mobile-update-tags{display:flex;flex-wrap:wrap;align-content:flex-start;gap:4px;margin:0;min-height:27px;overflow:visible}
  .page-home .library-section .tag-row a,.page-books .book-card .tag-row a,.page-home .mobile-update-tags a{display:inline-flex;align-items:center;max-width:100%;min-height:25px;padding:3px 6px;background:#fff0e3;border-radius:5px;color:#99552e;font-size:10px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;word-break:normal}
  .page-home .library-section .tag-row a:nth-child(n+3),.page-books .book-card .tag-row a:nth-child(n+3){display:none}
  .page-home .tag-row a:active,.page-books .tag-row a:active,.page-home .mobile-update-tags a:active{background:#ffdcbf;color:#a8481f}

  .page-home .update-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px;align-items:start}
  .page-books .book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px 10px;align-items:start}
  .page-home .update-row{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent}
  .page-home .mobile-update-cover,.page-books .book-card .cover{display:block;position:relative;width:100%;height:auto;aspect-ratio:2/3;border-radius:9px;box-shadow:0 4px 11px #35251614;flex:none}
  .page-home .mobile-update-cover .cover-fallback,.page-books .book-card .cover-fallback{font-size:13px;padding:10px;line-height:1.6}
  .page-home .mobile-card-status,.page-books .mobile-card-status{display:block;position:absolute;z-index:3;left:6px;bottom:7px;padding:2px 5px;border-radius:4px;background:#287b5ef0;color:#fff;font-size:9px;line-height:1.5;pointer-events:none}
  .page-home .update-row .update-category,.page-home .update-row .update-author,.page-home .update-row .update-words{display:none}
  .page-home .update-book-link,.page-books .book-card h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:normal;height:39px;margin:7px 0 0;color:var(--ink);font-size:13px;font-weight:700;line-height:1.5}
  .page-home .update-chapter{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:normal;min-height:34px;margin:4px 0 0;color:#ae5429;font-size:11px;line-height:1.55}
  .page-home .update-row time{display:block;margin:5px 0 7px;font-size:10px;line-height:1.5;color:#9c6546;white-space:nowrap;overflow:visible;font-variant-numeric:tabular-nums}
  .page-home .mobile-update-tags{margin-top:0}

  .page-books .book-card{display:block;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
  .page-books .book-card-body{padding:0;min-width:0}
  .page-books .book-card .card-top,.page-books .book-card .summary,.page-books .book-card .card-actions{display:none}
  .page-books .book-card h3{margin:7px 0 3px;font-size:13px;line-height:1.5}
  .page-books .book-card .author{display:block;margin:0 0 6px;font-size:10px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .page-books .book-card .cover img,.page-home .library-section .cover img,.page-home .mobile-update-cover img{width:100%;height:100%;object-fit:cover}
}

/* Batch 2: mobile detail, catalog, volume and reader pages. */
@media(max-width:760px){
  .page-detail .breadcrumbs,.page-catalog .breadcrumbs,.page-volume .breadcrumbs{padding:13px 0;font-size:11px}
  .page-detail .book-hero{padding:18px 0 22px;background:linear-gradient(180deg,#fff8f1,#fffaf4)}
  .page-detail .detail-grid{grid-template-columns:106px minmax(0,1fr);gap:15px;align-items:start}
  .page-detail .detail-cover{height:155px;border-radius:10px;box-shadow:0 9px 22px #4a302421}
  .page-detail .book-overview{min-width:0}.page-detail .book-overview h1{margin:5px 0 6px;font-size:22px;line-height:1.38;letter-spacing:-.02em;overflow-wrap:anywhere}
  .page-detail .book-overview>.category{font-size:10px}.page-detail .byline{margin:0;font-size:11px;line-height:1.65}.page-detail .byline a{gap:0}.page-detail .byline a span{display:none}
  .page-detail .book-overview .tags{display:flex!important;gap:5px;margin:10px 0;max-height:58px;overflow:hidden}.page-detail .book-overview .tags>a{padding:4px 6px;border-radius:5px;background:#f5e8dc;color:#795e4d;font-size:10px;line-height:1.4}
  .page-detail .book-intro{display:-webkit-box!important;overflow:hidden;margin:9px 0 0;color:#6f655d;font-size:11px;line-height:1.7;-webkit-line-clamp:4;-webkit-box-orient:vertical}
  .page-detail .book-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:14px 0 0;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.page-detail .book-stats span{min-width:0;padding:0 7px;border-left:1px solid var(--line);font-size:9px;line-height:1.45}.page-detail .book-stats span:first-child{padding-left:0;border-left:0}.page-detail .book-stats b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
  .page-detail .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.page-detail .hero-actions .button{min-height:42px;padding:0 8px;font-size:12px}.page-detail .hero-actions .button.primary{grid-column:1/-1}
  .page-detail .content-section,.page-catalog .content-section,.page-volume .content-section{padding:24px 0 32px}.page-detail .content-layout{gap:12px}.page-detail .panel{padding:17px;border-radius:12px}.page-detail .panel-heading{align-items:center;margin-bottom:9px}.page-detail .panel-heading h2{font-size:20px}.page-detail .panel-heading .eyebrow{font-size:9px}.page-detail .volume-row{grid-template-columns:31px minmax(0,1fr);gap:10px;min-height:62px;padding:13px 0}.page-detail .volume-row i{display:none}.page-detail .volume-index{font-size:18px}.page-detail .volume-row b{font-size:13px;line-height:1.5}.page-detail .volume-row small{font-size:10px;line-height:1.5}
  .page-detail .side-column{gap:12px}.page-detail .author-card{padding:17px}.page-detail .author-card-head{grid-template-columns:46px minmax(0,1fr);gap:11px}.page-detail .author-avatar{width:46px;height:46px;border-radius:14px;font-size:18px}.page-detail .author-card-head b{font-size:14px}.page-detail .author-card>p{margin-top:12px;font-size:11px}.page-detail .work-facts h3{font-size:17px}.page-detail .work-facts dl{grid-template-columns:1fr 1fr;gap:0 14px}.page-detail .work-facts dl>div{padding:8px 0}.page-detail .latest-card h3{margin-bottom:12px}
  .page-detail .related-section{padding:30px 0 calc(36px + env(safe-area-inset-bottom,0px))}.page-detail .related-section .section-heading{margin-bottom:15px}.page-detail .related-section .section-heading h2{font-size:21px}.page-detail .related-section .section-heading p{display:none}.page-detail .related-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 9px}.page-detail .related-grid .book-card{display:block;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.page-detail .related-grid .book-card .cover{display:block;width:100%;height:auto;aspect-ratio:2/3;border-radius:8px;box-shadow:0 4px 11px #35251614}.page-detail .related-grid .book-card-body{padding:0}.page-detail .related-grid .card-top,.page-detail .related-grid .summary,.page-detail .related-grid .author,.page-detail .related-grid .card-actions{display:none}.page-detail .related-grid h3{height:39px;margin:7px 0 3px;font-size:12px;line-height:1.55}.page-detail .related-grid .tag-row{display:flex;flex-wrap:wrap;gap:4px;margin:0;min-height:24px}.page-detail .related-grid .tag-row a{display:inline-flex;align-items:center;max-width:100%;min-height:23px;padding:3px 5px;border-radius:4px;background:#fff0e3;color:#99552e;font-size:9px;line-height:1.35;overflow:hidden;text-overflow:ellipsis}.page-detail .related-grid .tag-row a:nth-child(n+3){display:none}

  .page-catalog .catalog-head{padding:24px 0;text-align:left;background:#fff4e9}.page-catalog .catalog-head .eyebrow{font-size:9px}.page-catalog .catalog-head h1{margin:6px 0;font-size:23px;line-height:1.42;overflow-wrap:anywhere}.page-catalog .catalog-head p{margin:0;font-size:11px}.page-catalog .narrow-shell{width:calc(100% - 28px)}.page-catalog .catalog-volume,.page-volume .catalog-volume{margin-bottom:13px;border-radius:12px}.page-catalog .catalog-volume>header,.page-volume .catalog-volume>header{padding:14px 15px}.page-catalog .catalog-volume>header>div,.page-volume .catalog-volume>header>div{gap:10px}.page-catalog .catalog-volume>header>div>span,.page-volume .catalog-volume>header>div>span{font-size:21px}.page-catalog .catalog-volume h2,.page-volume .catalog-volume h2{font-size:16px;line-height:1.45}.page-catalog .catalog-volume header p,.page-volume .catalog-volume header p{font-size:10px;line-height:1.45}.page-catalog .chapter-list,.page-volume .chapter-list{padding:3px 15px}.page-catalog .chapter-list a,.page-volume .chapter-list a{grid-template-columns:29px minmax(0,1fr);gap:9px;min-height:52px;padding:11px 0}.page-catalog .chapter-list b,.page-volume .chapter-list b{font-size:13px;line-height:1.55;overflow-wrap:anywhere}.page-catalog .chapter-list span,.page-volume .chapter-list span{font-size:14px}

  .page-volume .volume-hero{padding:20px 0 22px}.page-volume .volume-hero-inner{grid-template-columns:76px minmax(0,1fr);gap:14px}.page-volume .mini-cover{height:108px;border-radius:7px;box-shadow:0 7px 17px #4a302421}.page-volume .volume-hero .eyebrow{font-size:9px}.page-volume .volume-hero h1{margin:5px 0;font-size:22px;line-height:1.4;overflow-wrap:anywhere}.page-volume .volume-parent{margin:0;font-size:11px;line-height:1.55}.page-volume .volume-hero p:not(.volume-parent){display:none}.page-volume .volume-hero .button{min-height:38px;margin-top:9px;padding:0 13px;font-size:11px}

  .page-reader{background:#f4efe7}.page-reader .site-header{height:58px}.page-reader .brand strong{font-size:16px}.page-reader .brand small{display:none}.page-reader .brand-nut{width:34px;height:34px;font-size:18px}.page-reader .reader-paper{width:100%;margin:0;padding:17px 18px 32px;background:#fffdf8}.page-reader .reader-breadcrumb{gap:6px;font-size:10px;white-space:nowrap;overflow:hidden}.page-reader .reader-breadcrumb a{overflow:hidden;text-overflow:ellipsis}.page-reader .chapter-header{padding:28px 0 21px}.page-reader .chapter-header .eyebrow{font-size:9px}.page-reader .chapter-header h1{margin:8px 0;font-size:23px;line-height:1.5;overflow-wrap:anywhere}.page-reader .chapter-header p{margin:0;font-size:10px;line-height:1.6}.page-reader .chapter-content{padding:26px 0 31px;line-height:2.02;letter-spacing:.025em}.page-reader .chapter-content p{margin-bottom:1.2em;overflow-wrap:anywhere}.page-reader .reader-tools{right:9px;bottom:calc(10px + env(safe-area-inset-bottom,0px));gap:0;border-radius:12px;box-shadow:0 8px 24px #3525162b}.page-reader .reader-tools button{width:42px;height:42px;font-size:11px}.page-reader .chapter-nav{grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr);gap:7px;padding-top:19px}.page-reader .chapter-nav>div{min-width:0}.page-reader .chapter-nav small{margin-bottom:4px;font-size:9px}.page-reader .chapter-nav b{display:-webkit-box;overflow:hidden;font-size:11px;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}.page-reader .catalog-button{width:46px;height:40px;font-size:11px}.page-reader .reader-help{width:calc(100% - 36px);margin-top:12px;font-size:10px}.page-reader .reader-report{width:calc(100% - 36px);margin-top:6px;font-size:10px}.page-reader.reader-night .reader-paper{background:#222624}.page-reader.reader-green .reader-paper{background:#f3f8f2}
}
/* The app-only controls are never part of the desktop shelf. */
.app-shelf-header,.app-shelf-tabs,.app-shelf-search{display:none}

/* App-style shelf: a focused mobile collection, not a reduced desktop list. */
@media(max-width:760px){
  body.page-account-shelf{background:#f6f7f9}
  .page-account-shelf .site-header{display:none}
  .page-account-shelf main{min-height:calc(100vh - 70px)}
  .page-account-shelf .account-page{padding:0 0 24px;background:#f6f7f9}
  .page-account-shelf .app-shelf-header{display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 17px;border-bottom:1px solid #f0d9d9;background:#fffafa}
  .page-account-shelf .app-shelf-header h1{margin:0;color:#c9102d;font-size:19px;line-height:1;font-weight:900}
  .page-account-shelf .app-shelf-header>div{display:flex;align-items:center;gap:13px}
  .page-account-shelf .app-shelf-header button{display:grid;place-items:center;min-width:34px;height:40px;padding:0;border:0;background:transparent;color:#c9102d;font:inherit;font-size:14px;font-weight:800}
  .page-account-shelf .app-shelf-search-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
  .page-account-shelf .app-shelf-tabs{display:flex;gap:27px;height:41px;padding:0 16px;border-bottom:1px solid #f0d9d9;background:#fffafa}
  .page-account-shelf .app-shelf-tabs a{position:relative;display:flex;align-items:center;color:#586078;font-size:12px}
  .page-account-shelf .app-shelf-tabs a.active{color:#c9102d;font-weight:900}
  .page-account-shelf .app-shelf-tabs a.active:after{position:absolute;right:0;bottom:0;left:0;height:2px;border-radius:2px;background:#c9102d;content:""}
  .page-account-shelf .app-shelf-search{display:none;padding:9px 16px 11px;background:#fffafa}
  .page-account-shelf .app-shelf-search.open{display:block}
  .page-account-shelf .app-shelf-search label{display:block}
  .page-account-shelf .app-shelf-search label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .page-account-shelf .app-shelf-search input{width:100%;height:38px;padding:0 12px;border:0;border-radius:7px;background:#f1f2f5;color:#283044;font:14px inherit;outline:0}
  .page-account-shelf .app-shelf-search input:focus{box-shadow:0 0 0 2px #e7496230}
  .page-account-shelf .app-shelf-search small{display:block;margin-top:9px;color:#8890a0;font-size:11px}
  .page-account-shelf .account-layout{width:100%;display:block}
  .page-account-shelf .account-sidebar,.page-account-shelf .account-mobile-sections{display:none}
  .page-account-shelf .account-main{min-width:0}
  .page-account-shelf .shelf-panel{margin:0;padding:16px;background:transparent;border:0;border-radius:0;box-shadow:none}
  .page-account-shelf .shelf-panel>header{display:none}
  .page-account-shelf .shelf-group-tools{display:none}
  .page-account-shelf .shelf-sort{display:flex;margin:0 0 13px;padding:7px;gap:6px;overflow:auto;flex-wrap:nowrap;background:#fff}
  .page-account-shelf .shelf-sort span{display:flex;align-items:center;padding:0 4px;color:#8a92a0;font-size:11px;white-space:nowrap}
  .page-account-shelf .shelf-sort a{flex:0 0 auto;min-width:78px;padding:8px 10px;font-size:11px}
  .page-account-shelf .shelf-book-list{display:grid;grid-template-columns:repeat(2,minmax(0,112px));align-items:start;justify-content:start;gap:19px 14px}
  .page-account-shelf .shelf-book-list .account-book-item{min-width:0;border:0;border-radius:0;background:transparent;overflow:visible}
  .page-account-shelf .shelf-book-main{padding:0}
  .page-account-shelf .shelf-book-link{display:block;padding:0}
  .page-account-shelf .shelf-book-link .mini-book-cover{position:relative;display:block;width:112px;height:auto;aspect-ratio:2/3;overflow:hidden;border-radius:6px;background:linear-gradient(140deg,#f5c7d0,#8c4860);box-shadow:none}
  .page-account-shelf .shelf-book-link .mini-book-cover img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover}
  .page-account-shelf .app-shelf-cover-fallback{display:grid;position:absolute;inset:0;place-items:center;padding:11px;color:#fff;font-size:17px;font-weight:900;line-height:1.45;text-align:center}
  .page-account-shelf .mini-book-cover:has(img) .app-shelf-cover-fallback{display:none}
  .page-account-shelf .app-shelf-status{position:absolute;z-index:2;top:5px;left:5px;padding:2px 5px;border-radius:3px;background:#c9102d;color:#fff;font-size:9px;font-style:normal;font-weight:900;line-height:1.2}
  .page-account-shelf .shelf-book-link>span:last-child{display:block;padding-top:7px}
  .page-account-shelf .shelf-book-link b{display:-webkit-box;height:34px;overflow:hidden;color:#202633;font-size:13px;line-height:1.35;white-space:normal;text-overflow:clip;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .page-account-shelf .shelf-book-link small:not(.app-shelf-meta){display:none}
  .page-account-shelf .shelf-book-link .app-shelf-meta{display:block;overflow:hidden;margin-top:3px;color:#9198a5;font-size:10px;line-height:1.45;white-space:nowrap;text-overflow:ellipsis}
  .page-account-shelf .shelf-reading-state{display:none}
  .page-account-shelf .shelf-item-actions{display:none}
  .page-account-shelf .app-history-panel{margin:0;padding:0 16px 6px;border:0;border-radius:0;background:transparent;box-shadow:none}
  .page-account-shelf .app-history-panel>header{display:none}
  .page-account-shelf .app-history-panel .account-book-list{display:block;margin:0;background:transparent}
  .page-account-shelf .app-history-panel .account-book-item{border:0;border-bottom:1px solid #e5e7ec;border-radius:0;background:transparent}
  .page-account-shelf .app-history-panel .account-book-item>a{grid-template-columns:58px minmax(0,1fr);gap:12px;min-height:105px;padding:12px 0}
  .page-account-shelf .app-history-panel .mini-book-cover{width:58px;height:81px;border-radius:6px;box-shadow:none}
  .page-account-shelf .app-history-panel .account-book-item b{overflow:hidden;color:#202633;font-size:14px;line-height:1.45;white-space:nowrap;text-overflow:ellipsis}
  .page-account-shelf .app-history-panel .account-book-item small{display:-webkit-box;overflow:hidden;margin-top:5px;color:#8a92a0;font-size:10px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .page-account-shelf .app-history-panel .account-item-remove{display:none}
  .page-account-shelf .app-shelf-search-hidden{display:none!important}
  .page-account-shelf .account-empty{margin:0;padding:64px 20px;border:0;background:transparent}
  .page-account-shelf .account-empty a{margin-top:14px;border-radius:7px;background:#c9102d;color:#fff}
  .page-account-shelf .member-pagination{display:flex;justify-content:flex-start;gap:7px;margin:28px 0 0;padding:0;overflow:auto}
  .page-account-shelf .member-pagination a{flex:0 0 auto;border-color:#e4e6eb;background:#fff;border-radius:6px;color:#526072}
  .page-account-shelf.mobile-shelf-managing .shelf-group-tools{display:flex;margin:0 0 14px;padding:10px;border:1px solid #e9e1e3;background:#fff;border-radius:9px}
  .page-account-shelf.mobile-shelf-managing .shelf-sort{display:flex;margin:0 0 13px}
  .page-account-shelf.mobile-shelf-managing .shelf-item-actions{position:static;display:flex;justify-content:flex-start;margin-top:7px;padding-top:7px;border-top:1px solid #edf0f3}
  .page-account-shelf.mobile-shelf-managing .shelf-book-list{grid-template-columns:1fr;gap:13px}
  .page-account-shelf.mobile-shelf-managing .shelf-book-link{display:grid;grid-template-columns:86px minmax(0,1fr);gap:10px;align-items:start}
  .page-account-shelf.mobile-shelf-managing .shelf-book-link .mini-book-cover{width:86px}
  .page-account-shelf.mobile-shelf-managing .shelf-book-link>span:last-child{padding-top:0}
  .page-account-shelf.mobile-shelf-managing .app-history-panel>header{display:flex;justify-content:flex-end;margin:0 0 2px}
  .page-account-shelf.mobile-shelf-managing .app-history-panel>header h2{display:none}
  .page-account-shelf.mobile-shelf-managing .app-history-panel .account-clear-history{min-height:36px;padding:0 4px;color:#c9102d;font-size:12px;font-weight:800}
  .page-account-shelf.mobile-shelf-managing .app-history-panel .account-book-item>a{padding-right:48px}
  .page-account-shelf.mobile-shelf-managing .app-history-panel .account-item-remove{position:absolute;top:50%;right:0;bottom:auto;display:inline-flex;align-items:center;min-height:32px;padding:0;color:#c9102d;font-size:11px;font-weight:800;transform:translateY(-50%)}
  .page-account-shelf .mobile-bottom-nav{border-top-color:#eadadd;background:#fffafa;box-shadow:none}
  .page-account-shelf .mobile-bottom-nav a[aria-current=page]{color:#c9102d}
  .page-account-shelf .mobile-bottom-nav a[aria-current=page] svg{background:#ffe4e8;box-shadow:0 0 0 5px #ffe4e8}
}
@media(max-width:350px){
  .page-account-shelf .shelf-book-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
  .page-account-shelf .shelf-book-link .mini-book-cover{width:100%}
}

@media(max-width:360px){
  .page-detail .detail-grid{grid-template-columns:88px minmax(0,1fr);gap:12px}.page-detail .detail-cover{height:132px}.page-detail .book-overview h1{font-size:19px}.page-detail .book-overview .tags{margin:7px 0}.page-detail .book-intro{font-size:10px}.page-detail .book-stats{gap:0}.page-detail .book-stats span{padding:0 4px}.page-detail .hero-actions{grid-template-columns:1fr}.page-detail .hero-actions .button.primary{grid-column:auto}.page-detail .related-grid{gap:14px 7px}
}
/* App personal center, using existing member data and actions. */
@media(max-width:760px){
  body.page-account-app{background:#fff7f8}
  .page-account-app .site-header,.page-account-app .account-sidebar,.page-account-app .account-mobile-sections{display:none}
  .page-account-app .account-page{padding:0 0 25px;background:#fff7f8}
  .page-account-app-home .account-layout{display:none}
  .page-account-app .mobile-bottom-nav{background:#fffafa;border-top-color:#eedee1;box-shadow:none}
  .page-account-app .mobile-bottom-nav a[aria-current=page]{color:#d70b3d}
  .page-account-app .mobile-bottom-nav a[aria-current=page] svg{background:#ffe7ed;box-shadow:0 0 0 5px #ffe7ed}
  .app-profile-home{display:block;color:#242636}
  .app-profile-home svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
  .app-profile-toolbar{display:flex;align-items:center;justify-content:space-between;height:58px;padding:0 21px;border-bottom:1px solid #f5e9ec;color:#d70b3d}
  .app-profile-toolbar>a:first-child{font-size:17px;font-weight:900}
  .app-profile-toolbar>a:last-child{display:grid;place-items:center;width:44px;height:44px}
  .app-profile-content{padding:0 20px}
  .app-profile-identity{display:flex;align-items:center;gap:14px;padding:24px 0 22px}
  .app-profile-avatar{display:grid;place-items:center;flex-shrink:0;width:70px;height:70px;border:4px solid #fff;border-radius:50%;background:#f9dfe6;color:#c60a39;box-shadow:0 3px 12px #67334616;font-size:27px;font-weight:800;overflow:hidden}
  .app-profile-avatar img{width:100%;height:100%;object-fit:cover}
  .app-profile-name{min-width:0;flex:1}.app-profile-name-main{display:block}.app-profile-name b{display:block;overflow:hidden;font-size:17px;text-overflow:ellipsis;white-space:nowrap}
  .app-profile-name small{display:flex;gap:9px;flex-wrap:wrap;margin-top:7px;color:#d70b3d;font-size:10px}.app-profile-name small span{color:#92909b}
  .app-profile-settings{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff;box-shadow:0 2px 8px #6849530d;color:#7c8194;flex-shrink:0}
  .app-profile-home h2{margin:0 0 12px;font-size:14px;line-height:1.5;font-weight:800}
  .app-profile-resume{margin-bottom:24px}.app-profile-resume>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.app-profile-resume h2{margin:0}.app-profile-resume>header>a{display:grid;place-items:center;width:30px;height:30px;color:#9196a4}
  .app-profile-reading-card{display:flex;align-items:center;gap:12px;overflow:hidden;min-height:100px;border-radius:13px;background:#fff;box-shadow:0 5px 16px #6c384810}
  .app-profile-book-cover{display:grid;place-items:center;flex:0 0 68px;width:68px;height:100px;background:#e8c7d2;color:#923952;padding:5px;font-size:12px;text-align:center}
  .app-profile-book-cover:has(img){padding:0}.app-profile-book-cover img{width:100%;height:100%;object-fit:cover}
  .app-profile-reading-copy{min-width:0;flex:1;padding:10px 0}.app-profile-reading-copy b{display:-webkit-box;overflow:hidden;font-size:13px;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .app-profile-reading-copy small{display:block;overflow:hidden;margin-top:6px;font-size:10px;color:#8a8b9c;text-overflow:ellipsis;white-space:nowrap}
  .app-profile-reading-copy em{display:block;margin-top:10px;font-size:10px;font-style:normal;color:#d70b3d}.app-profile-reading-copy em span{margin-left:6px}
  .app-profile-play{display:grid;place-items:center;width:28px;height:28px;margin-right:12px;border-radius:50%;background:#e80c43;color:#fff;font-size:10px;flex-shrink:0}
  .app-profile-reading-empty{display:flex;align-items:center;gap:13px;padding:20px 15px;background:#fff;border-radius:13px;color:#d70b3d}
  .app-profile-reading-empty>span{flex:1}.app-profile-reading-empty b,.app-profile-reading-empty small{display:block}.app-profile-reading-empty b{color:#303044;font-size:13px}.app-profile-reading-empty small{margin-top:5px;color:#8b8a99;font-size:11px}
  .app-profile-shortcuts{margin-bottom:24px}.app-profile-shortcuts nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  .app-profile-shortcuts a{display:flex;align-items:center;flex-direction:column;gap:8px;min-width:0}.app-profile-shortcuts a>span{position:relative;display:grid;place-items:center;width:47px;height:44px;border:1px solid #efe5e8;border-radius:12px;background:#fff;color:#d70b3d;box-shadow:0 2px 5px #51404c04}
  .app-profile-shortcuts a:nth-child(2)>span{color:#728099}.app-profile-shortcuts a:nth-child(3)>span{color:#a17164}.app-profile-shortcuts a:nth-child(4)>span{color:#967487}
  .app-profile-shortcuts b{font-size:11px;font-weight:500}.app-profile-shortcuts em{position:absolute;right:-7px;top:-6px;min-width:17px;padding:2px 4px;border-radius:10px;background:#e70e42;color:#fff;font-size:9px;line-height:1.2;font-style:normal;text-align:center}
  .app-profile-menu{margin-bottom:21px}.app-profile-menu nav{overflow:hidden;border-radius:13px;background:#fff}
  .app-profile-menu nav>a{display:flex;align-items:center;gap:12px;min-height:49px;margin:0 15px;border-bottom:1px solid #f1ebee}
  .app-profile-menu nav>a:last-child{border-bottom:0}.app-profile-menu nav>a>span{display:grid;place-items:center;color:#bc6b82}.app-profile-menu nav>a>span svg{width:19px;height:19px}
  .app-profile-menu b{flex:1;font-size:12px;font-weight:500}.app-profile-menu nav>a>svg{width:15px;height:15px;color:#9a9eac}
  .app-profile-logout{display:block;width:100%;min-height:48px;margin-top:14px;border:0;border-radius:12px;background:#fff;color:#df0c40;font:inherit;font-size:14px}
  .app-profile-signoff{margin:17px 0 5px;text-align:center;color:#b4a8b1;font-size:10px}
  .app-profile-notice{display:block;margin-bottom:17px;padding:12px;border:1px solid #f0bdc9;border-radius:9px;background:#fff;color:#c41540;font-size:11px}
  .app-profile-recommend{margin-bottom:20px}.app-profile-recommend>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .app-profile-recommend a{min-width:0}.app-profile-recommend a>span{display:grid;place-items:center;aspect-ratio:2/3;overflow:hidden;border-radius:7px;background:#e8ccd6;color:#903b56;text-align:center;font-size:13px}
  .app-profile-recommend img{width:100%;height:100%;object-fit:cover}.app-profile-recommend b{display:-webkit-box;overflow:hidden;margin-top:7px;font-size:11px;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .page-account-app .app-profile-subheader{display:flex;align-items:center;justify-content:space-between;height:56px;margin-bottom:17px;padding:0 15px;border-bottom:1px solid #f1dde3;background:#fffafa;color:#d70b3d}
  .app-profile-subheader h1{margin:0;font-size:16px}.app-profile-subheader a{display:grid;place-items:center;min-width:40px;height:44px;font-size:12px}.app-profile-subheader a:first-child{font-size:32px}
  .page-account-app .account-panel{border-color:#f0e5e8;border-radius:13px}.page-account-app .member-form>button{background:#d70b3d}
  .page-account-app .app-profile-home a:focus-visible,.page-account-app .app-profile-home button:focus-visible{outline:2px solid #d70b3d;outline-offset:3px}
}

/* Keep member App pages on the same warm orange visual system as mobile home. */
@media(max-width:760px){
  body.page-account-shelf,body.page-account-app{background:#fff8f0}
  .page-account-shelf .account-page,.page-account-app .account-page{background:#fff8f0}

  .page-account-shelf .app-shelf-header,.page-account-shelf .app-shelf-tabs,.page-account-shelf .app-shelf-search{background:#fffdf9}
  .page-account-shelf .app-shelf-header,.page-account-shelf .app-shelf-tabs{border-bottom-color:#edddce}
  .page-account-shelf .app-shelf-header h1,.page-account-shelf .app-shelf-header button,.page-account-shelf .app-shelf-tabs a.active{color:var(--orange-deep)}
  .page-account-shelf .app-shelf-tabs a{color:#81776d}
  .page-account-shelf .app-shelf-tabs a.active:after{background:var(--orange)}
  .page-account-shelf .app-shelf-search input{background:#f7eee5;color:var(--ink)}
  .page-account-shelf .app-shelf-search input:focus{box-shadow:0 0 0 2px #ff713833}
  .page-account-shelf .app-shelf-search small,.page-account-shelf .shelf-book-link .app-shelf-meta,.page-account-shelf .app-history-panel .account-book-item small{color:#8b8178}
  .page-account-shelf .shelf-book-link .mini-book-cover{background:linear-gradient(140deg,#ffd37d,#ff7b3d)}
  .page-account-shelf .app-shelf-status{background:#279a72}
  .page-account-shelf .app-history-panel .account-book-item{border-bottom-color:#eadfd3}
  .page-account-shelf .account-empty a{background:var(--orange);color:#fff}
  .page-account-shelf .member-pagination a{border-color:#eadfd3;background:#fffdf9;color:#76675b}
  .page-account-shelf.mobile-shelf-managing .shelf-group-tools{border-color:#eadfd3;background:#fffdf9}
  .page-account-shelf.mobile-shelf-managing .shelf-item-actions{border-top-color:#eee2d8}
  .page-account-shelf .mobile-bottom-nav,.page-account-app .mobile-bottom-nav{border-top-color:var(--line);background:#fffdf9;box-shadow:0 -4px 20px #58412308}
  .page-account-shelf .mobile-bottom-nav a[aria-current=page],.page-account-app .mobile-bottom-nav a[aria-current=page]{color:var(--orange-deep)}
  .page-account-shelf .mobile-bottom-nav a[aria-current=page] svg,.page-account-app .mobile-bottom-nav a[aria-current=page] svg{background:#fff0e3;box-shadow:0 0 0 5px #fff0e3}

  .app-profile-home{color:var(--ink)}
  .app-profile-toolbar{border-bottom-color:#edddce;color:var(--orange-deep);background:#fffdf9}
  .app-profile-avatar{background:#fff0df;color:var(--orange-deep);box-shadow:0 3px 12px #74502f16}
  .app-profile-name small{color:var(--orange-deep)}
  .app-profile-settings{box-shadow:0 2px 8px #684f380d;color:#81776d}
  .app-profile-reading-card{border:1px solid #f2e5d9;box-shadow:0 5px 16px #6b4a2e0d}
  .app-profile-book-cover{background:#ffe2b8;color:#9a4d21}
  .app-profile-reading-copy small{color:#8b8178}
  .app-profile-reading-copy em{color:var(--orange-deep)}
  .app-profile-play{background:var(--orange)}
  .app-profile-reading-empty{border:1px solid #f2e5d9;color:var(--orange-deep)}
  .app-profile-reading-empty small{color:#8b8178}
  .app-profile-shortcuts a>span{border-color:#edddce;color:var(--orange-deep);box-shadow:0 2px 5px #59432e08}
  .app-profile-shortcuts a:nth-child(2)>span{color:#7b817b}.app-profile-shortcuts a:nth-child(3)>span{color:#a16035}.app-profile-shortcuts a:nth-child(4)>span{color:#8b735e}
  .app-profile-shortcuts em{background:var(--orange);color:#fff}
  .app-profile-menu nav{border:1px solid #f2e5d9}
  .app-profile-menu nav>a{border-bottom-color:#eee2d8}
  .app-profile-menu nav>a>span{color:#c66a37}
  .app-profile-menu nav>a>svg{color:#9b9188}
  .app-profile-recommend a>span{background:#ffe2b8;color:#91481f}
  .page-account-app .app-profile-subheader{border-bottom-color:#edddce;background:#fffdf9;color:var(--orange-deep)}
  .page-account-app .account-panel{border-color:#eee2d8}
  .page-account-app .member-form>button{background:var(--orange)}
  .page-account-app .app-profile-home a:focus-visible,.page-account-app .app-profile-home button:focus-visible{outline-color:var(--orange-deep)}
}
