; visibility:hidden; transition:opacity .25s ease; } .mask.open{ opacity:1; visibility:visible; } .drawer{ position:fixed; top:0; bottom:0; left:0; width:86%; max-width:340px; z-index:90; background:var(--surface); transform:translateX(-100%); transition:transform .28s ease; display:flex; flex-direction:column; box-shadow:var(--shadow-2); } .drawer.open{ transform:none; } .drawer__tabs{ display:flex; border-bottom:1px solid var(--border); flex:0 0 auto; } .drawer__tabs button{ flex:1; height:48px; border:none; background:transparent; color:var(--text-2); font-size:15px; border-bottom:2px solid transparent; } .drawer__tabs button.active{ color:var(--primary); border-bottom-color:var(--primary); } .drawer__search{ padding:10px 12px; flex:0 0 auto; } .drawer__search input{ width:100%; height:36px; border:1px solid var(--border); border-radius:var(--r-pill); padding:0 14px; background:var(--surface-2); color:var(--text); outline:none; } .drawer__body{ flex:1; overflow:auto; padding:6px 0 16px; -webkit-overflow-scrolling:touch; } .drawer__body .chapter-list{ grid-template-columns:1fr; gap:0; padding:0 4px; } .drawer__body .chapter-list a{ padding:11px 12px; } .drawer__body .chapter-list a.active{ color:var(--primary); background:var(--surface-2); font-weight:600; } .bm-item{ display:flex; align-items:center; gap:10px; padding:10px 14px; border-bottom:1px solid var(--border); } .bm-item a{ flex:1; min-width:0; color:var(--text); font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .bm-item a:hover{ color:var(--primary); } .bm-item .del{ border:none; background:transparent; color:var(--text-3); font-size:13px; padding:4px 6px; } .bm-empty{ padding:30px 14px; text-align:center; color:var(--text-3); font-size:13px; } /* 设置面板(底部抽屉) */ .sheet{ position:fixed; left:0; right:0; bottom:0; z-index:90; background:var(--surface); border-radius:var(--r-lg) var(--r-lg) 0 0; box-shadow:var(--shadow-2); transform:translateY(100%); transition:transform .28s ease; max-height:82vh; overflow:auto; padding:18px 18px 26px; } .sheet.open{ transform:none; } .sheet__row{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0; border-bottom:1px solid var(--border); } .sheet__row:last-child{ border-bottom:none; } .sheet__label{ font-size:14px; color:var(--text-2); } .sheet__ctrl{ display:flex; align-items:center; gap:10px; } .sheet__ctrl input[type=range]{ width:140px; } .sheet__ctrl select{ height:34px; border:1px solid var(--border); border-radius:var(--r); background:var(--surface-2); color:var(--text); padding:0 8px; } .sheet__chips{ display:flex; gap:8px; } .sheet__chips button{ border:1px solid var(--border); background:var(--surface); color:var(--text-2); border-radius:var(--r-pill); padding:6px 14px; font-size:13px; } .sheet__chips button.active{ background:var(--primary); color:var(--primary-ink); border-color:var(--primary); } .sheet__title{ font-family:var(--font-serif); font-size:17px; font-weight:700; margin-bottom:6px; } .sheet__close{ position:absolute; top:14px; right:16px; border:none; background:transparent; font-size:20px; color:var(--text-3); } /* 书签 */ #btn-bm.active{ color:var(--primary); text-shadow:0 0 6px color-mix(in srgb,var(--primary) 40%,transparent); } #bmCount{ font-size:11px; opacity:.7; } /* 翻页模式 */ .reader-page[data-readmode="page"] .reader-article{ height:calc(100vh - 132px); overflow-y:auto; scroll-snap-type:y proximity; -webkit-overflow-scrolling:touch; } .reader-page[data-readmode="page"] .read-page{ scroll-snap-align:start; min-height:calc(100vh - 132px); display:flex; flex-direction:column; justify-content:center; } /* toast */ .toast{ position:fixed; left:50%; bottom:96px; transform:translateX(-50%) translateY(10px); z-index:96; background:rgba(20,17,13,.88); color:#fff; padding:10px 18px; border-radius:var(--r-pill); font-size:13px; opacity:0; visibility:hidden; transition:.2s; pointer-events:none; } .toast.show{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); } /* ---------- Footer ---------- */ .site-footer{ border-top:1px solid var(--border); background:var(--surface); margin-top:32px; padding:28px 0; } .footer-inner{ max-width:var(--maxw); margin:0 auto; padding:0 var(--sp); text-align:center; color:var(--text-3); font-size:13px; line-height:1.9; } .footer-inner a{ color:var(--text-2); margin:0 8px; } /* ---------- Mobile bottom nav ---------- */ .bottom-nav{ display:none; position:fixed; left:0; right:0; bottom:0; z-index:60; background:var(--surface); border-top:1px solid var(--border); height:56px; grid-template-columns:repeat(4,1fr); } .bottom-nav a{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; font-size:11px; color:var(--text-2); } .bottom-nav a .ic{ font-size:18px; } .bottom-nav a.active{ color:var(--primary); } /* ---------- Pagination ---------- */ .pages{ text-align:center; margin:18px 0; } .pages ul{ display:inline-flex; flex-wrap:wrap; gap:8px; justify-content:center; list-style:none; padding:0; margin:0; } .pages a{ min-width:36px; height:36px; padding:0 10px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--border); border-radius:var(--r); background:var(--surface); color:var(--text-2); font-size:13px; text-decoration:none; transition:.15s; } .pages a:hover{ border-color:var(--primary); color:var(--primary); } .pages li.current a{ background:var(--primary); color:var(--primary-ink); border-color:var(--primary); font-weight:600; } /* ---------- Responsive ---------- */ @media (max-width:1024px){ .layout{ grid-template-columns:1fr; } .sidebar{ order:2; } .book-grid{ grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); } } @media (max-width:860px){ .top-nav{ display:none; } .book-hero{ flex-direction:column; align-items:center; text-align:center; } .book-hero .actions{ justify-content:center; } } @media (max-width:640px){ :root{ --sp:12px; } .search{ max-width:none; } .header-actions .btn-pill{ display:none; } .book-grid{ grid-template-columns:repeat(3,1fr); gap:12px; } .chapter-list{ grid-template-columns:1fr; } .book-hero .cover{ flex-basis:130px; width:130px; } .book-hero .meta h1{ font-size:22px; } .bottom-nav{ display:grid; } body{ padding-bottom:56px; } } @media (max-width:420px){ .book-grid{ grid-template-columns:repeat(2,1fr); } }
‹ 璀璨人生叶辰

第398章 变卖家产

加载中,请稍候…
‹ 上一章 下一章 ›
阅读设置
字号
19
行距
阅读宽度
60em
字体
配色
翻页模式
屏幕常亮
全屏阅读