body[data-store-page="store"]{color-scheme:light;--bg:#fff;--soft:#f6f7f6;--text:#202724;--muted:#717975;--line:#e1e6e2;--accent:#0e6b5c;--selected:#e7f1ed;--danger:#b43832;--radius:10px;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif}
body[data-store-page="store"] *{box-sizing:border-box}body[data-store-page="store"]{margin:0;background:var(--bg);color:var(--text)}body[data-store-page="store"] button,body[data-store-page="store"] input,body[data-store-page="store"] select,body[data-store-page="store"] textarea{font:inherit}body[data-store-page="store"] button,body[data-store-page="store"] a,body[data-store-page="store"] select{-webkit-tap-highlight-color:transparent}body[data-store-page="store"] button{cursor:pointer}body[data-store-page="store"] button:disabled{cursor:default;opacity:.45}body[data-store-page="store"] a{color:inherit;text-decoration:none}body[data-store-page="store"] button{color:inherit}body[data-store-page="store"] button,body[data-store-page="store"] select,body[data-store-page="store"] input,body[data-store-page="store"] textarea{border-radius:8px}body[data-store-page="store"] button:focus-visible,body[data-store-page="store"] a:focus-visible,body[data-store-page="store"] input:focus-visible,body[data-store-page="store"] select:focus-visible,body[data-store-page="store"] textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}body[data-store-page="store"] [hidden]{display:none!important}body[data-store-page="store"] h1,body[data-store-page="store"] h2,body[data-store-page="store"] h3,body[data-store-page="store"] p{margin-top:0}body[data-store-page="store"] button svg{pointer-events:none}body[data-store-page="store"] .icon{display:inline-flex;align-items:center;justify-content:center;flex:none}body[data-store-page="store"] .icon svg{width:20px;height:20px;display:block}body[data-store-page="store"] strong{font-weight:600}body[data-store-page="store"] .muted{color:var(--muted)}body[data-store-page="store"] .small{font-size:12px}body[data-store-page="store"] .sr-only,body[data-store-page="store"] .skip{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}body[data-store-page="store"] .skip:focus{position:fixed;inset:8px auto auto 8px;width:auto;height:auto;clip-path:none;background:var(--bg);padding:12px;z-index:100}body[data-store-page="store"] .brand{font-size:23px;letter-spacing:-.8px;font-weight:750}body[data-store-page="store"] .primary{display:flex;align-items:center;gap:8px}body[data-store-page="store"] .primary>a,body[data-store-page="store"] .primary>button{padding:7px 15px;border:0;background:none;color:var(--muted);font-size:14px}body[data-store-page="store"] .primary>[aria-current]{background:var(--selected);border-radius:8px;color:var(--accent);font-weight:600}body[data-store-page="store"] .demo-badge{font-size:11px;color:var(--muted);border:1px solid var(--line);padding:2px 6px;border-radius:5px;margin-right:10px}body[data-store-page="store"] .icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;min-width:36px;height:36px;padding:7px;border:0;border-radius:8px;background:none;color:var(--muted)}body[data-store-page="store"] .icon-button:hover{background:var(--soft);color:var(--accent)}body[data-store-page="store"] .section-tabs{padding:0 32px;border-bottom:1px solid var(--line);background:var(--bg)}body[data-store-page="store"] .section-tabs>div{display:flex;gap:28px;max-width:1360px;margin:auto}body[data-store-page="store"] .section-tabs a{display:flex;align-items:center;min-height:48px;border-bottom:2px solid transparent;font-size:14px;color:var(--muted)}body[data-store-page="store"] .section-tabs a[aria-current]{border-color:var(--accent);color:var(--accent);font-weight:600}
body[data-store-page="store"] main{max-width:1424px;margin:auto;padding:24px 32px 36px;min-height:calc(100dvh - 160px)}body[data-store-page="store"] .catalog-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:32px}body[data-store-page="store"] .catalog-body{min-width:0}body[data-store-page="store"] .sidebar{align-self:start;position:sticky;top:84px;max-height:calc(100dvh - 110px);overflow:auto;padding-right:12px}body[data-store-page="store"] .side-title{font-size:11px;color:var(--muted);letter-spacing:.8px;margin:4px 12px 12px}body[data-store-page="store"] .category{width:100%;display:flex;align-items:center;gap:10px;padding:10px 12px;border:0;background:none;text-align:left;border-radius:8px}body[data-store-page="store"] :is(.category,.courses) .count{margin-left:auto;flex:none;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}body[data-store-page="store"] .category.active{background:var(--selected);color:var(--accent);font-weight:600}body[data-store-page="store"] .category:hover{background:var(--soft)}body[data-store-page="store"] .category.active:hover{background:var(--selected)}body[data-store-page="store"] .courses{padding:5px 0 8px 29px;margin-left:17px;border-left:1px solid var(--line)}body[data-store-page="store"] .courses button{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;text-align:left;border:0;background:none;font-size:13px;color:var(--muted)}body[data-store-page="store"] .courses button.active{color:var(--accent);font-weight:600}body[data-store-page="store"] .toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;min-height:36px}body[data-store-page="store"] .toolbar h1{font-size:17px;font-weight:600;line-height:26px;margin:0;overflow-wrap:anywhere}body[data-store-page="store"] .toolbar .tools{display:flex;align-items:center;gap:5px;flex:none}body[data-store-page="store"] .tools select{border:0;background:transparent;color:var(--muted);padding:6px 24px 6px 6px;font-size:12px;max-width:140px}body[data-store-page="store"] .filter-bar{display:flex;align-items:center;gap:10px;margin:0 0 20px;flex-wrap:wrap}body[data-store-page="store"] .filter-bar select{border:1px solid var(--line);background:var(--bg);color:var(--muted);padding:6px 24px 6px 10px;max-width:160px;font-size:12px}body[data-store-page="store"] .filter-clear{border:0;background:none;color:var(--accent);font-size:12px;padding:6px}body[data-store-page="store"] .view-toggle{padding:7px;border:0;border-radius:6px;background:none;color:var(--text)}body[data-store-page="store"] .view-toggle:hover{background:var(--soft);color:var(--accent)}body[data-store-page="store"] .view-toggle svg{width:20px;height:20px}body[data-store-page="store"] .query-chip{display:inline-flex;align-items:center;gap:6px;padding-left:10px;background:var(--selected);border-radius:8px;color:var(--accent);font-size:12px;max-width:100%;margin-bottom:18px}body[data-store-page="store"] .query-chip>span{overflow-wrap:anywhere}body[data-store-page="store"] .query-chip button{height:30px;width:30px;min-width:30px}
body[data-store-page="store"] .book-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(0,176px));gap:28px 24px;justify-content:start}body[data-store-page="store"] .book-card{min-width:0;position:relative}body[data-store-page="store"] .book-open{display:block;width:100%;padding:0;border:0;background:none;text-align:left;min-width:0}body[data-store-page="store"] .cover{--cover-bg:#edf5ed;--cover-ink:#28523a;--cover-line:#cedfce;position:relative;display:flex;flex-direction:column;gap:12px;aspect-ratio:3/4;min-width:0;width:100%;padding:18px 14px 18px 18px;border:1px solid var(--cover-line);border-left:5px solid var(--cover-line);border-radius:3px 7px 7px 3px;background:var(--cover-bg);color:var(--cover-ink);overflow:hidden}body[data-store-page="store"] .cover.blue{--cover-bg:#edf1f8;--cover-ink:#2c5074;--cover-line:#d0dbe9}body[data-store-page="store"] .cover.sand{--cover-bg:#f8f3e8;--cover-ink:#725e34;--cover-line:#e6ddc5}body[data-store-page="store"] .cover.rose{--cover-bg:#f7edf2;--cover-ink:#774b64;--cover-line:#e6d1de}body[data-store-page="store"] .cover>.icon svg{width:18px;height:18px}body[data-store-page="store"] .cover>.icon{justify-content:flex-start}body[data-store-page="store"] .cover strong{font:600 16px/1.5 Georgia,"Songti SC",serif;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}body[data-store-page="store"] .cover small{font-size:10px;line-height:16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:auto}body[data-store-page="store"] .cover .symbol{font:italic 18px/1 Georgia,serif;opacity:.55;margin-top:4px}body[data-store-page="store"] .book-open:hover .cover{border-color:var(--accent)}body[data-store-page="store"] .book-caption{display:flex;flex-direction:column;gap:4px;margin:12px 0}body[data-store-page="store"] .book-caption strong{font-size:14px;line-height:21px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}body[data-store-page="store"] .book-caption small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-store-page="store"] .book-status{display:flex;align-items:center;gap:8px;min-height:21px;font-size:11px;color:var(--muted)}body[data-store-page="store"] .book-status .owned{color:var(--accent)}body[data-store-page="store"] .book-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}body[data-store-page="store"] .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:7px 14px;border:1px solid var(--line);border-radius:8px;background:var(--soft);font-size:13px;font-weight:500}body[data-store-page="store"] .button:hover{filter:brightness(.97)}body[data-store-page="store"] .button.primary{background:var(--accent);border-color:var(--accent);color:#fff}body[data-store-page="store"] .button.quiet{background:transparent;color:var(--accent);border-color:transparent}body[data-store-page="store"] .button.danger,body[data-store-page="store"] .text-button.danger{color:var(--danger)}body[data-store-page="store"] .book-actions .button{flex:1}body[data-store-page="store"] .book-actions .icon-button{border:1px solid var(--line);color:var(--muted)}body[data-store-page="store"] .book-actions .icon-button svg{width:18px;height:18px}body[data-store-page="store"] .row-tags{display:none}body[data-store-page="store"] .book-list{border:1px solid var(--line);border-radius:12px;overflow:hidden}body[data-store-page="store"] .book-row{display:flex;align-items:center;gap:20px;min-width:0;padding:16px;border-bottom:1px solid var(--line)}body[data-store-page="store"] .book-row:last-child{border-bottom:0}body[data-store-page="store"] .book-row .book-open{display:flex;align-items:center;gap:14px;flex:1}body[data-store-page="store"] .book-row .cover{width:48px;height:66px;aspect-ratio:auto;flex:none;padding:0;align-items:center;justify-content:center;border-left-width:3px}body[data-store-page="store"] .book-row .cover strong,body[data-store-page="store"] .book-row .cover small,body[data-store-page="store"] .book-row .cover .symbol{display:none}body[data-store-page="store"] .book-row .cover .icon svg{width:22px;height:22px}body[data-store-page="store"] .book-row .book-caption{margin:0;min-width:0;flex:1}body[data-store-page="store"] .book-row .book-caption strong{font-size:15px}body[data-store-page="store"] .book-row .row-tags{display:block;max-width:150px;font-size:12px;color:var(--muted)}body[data-store-page="store"] .book-row .book-actions{flex:none;width:160px;margin:0}body[data-store-page="store"] .book-row .book-status{margin-top:4px}body[data-store-page="store"] .empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;min-height:300px;padding:32px;text-align:center;background:var(--soft);border-radius:12px}body[data-store-page="store"] .empty>.icon{color:var(--muted);margin-bottom:6px}body[data-store-page="store"] .empty h2{font-size:18px;margin:0;font-weight:600}body[data-store-page="store"] .empty p{font-size:13px;color:var(--muted);max-width:420px;margin:0 0 8px}body[data-store-page="store"] .section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0 16px}body[data-store-page="store"] .section-head h2{font-size:17px;margin:0}body[data-store-page="store"] .section-head a{font-size:12px;color:var(--accent)}
body[data-store-page="store"] .collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}body[data-store-page="store"] .collection{display:block;position:relative;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--bg);min-width:0}body[data-store-page="store"] .collection:hover{border-color:#aac5bb}body[data-store-page="store"] .collection-art{height:148px;display:flex;align-items:flex-end;justify-content:center;gap:8px;margin:0 0 20px;background:var(--soft);border-radius:8px;padding:16px 16px 0;overflow:hidden}body[data-store-page="store"] .collection-art .cover{width:78px;height:112px;flex:none;padding:12px 9px;border-left-width:3px;box-shadow:0 2px 5px #00000009}body[data-store-page="store"] .collection-art .cover:nth-child(2){height:124px}body[data-store-page="store"] .collection-art .cover .icon,body[data-store-page="store"] .collection-art .cover small,body[data-store-page="store"] .collection-art .cover .symbol{display:none}body[data-store-page="store"] .collection-art .cover strong{font-size:10px;line-height:16px;-webkit-line-clamp:4}body[data-store-page="store"] .collection-art .blank-cover{display:flex;align-items:center;justify-content:center;height:100%;color:var(--muted)}body[data-store-page="store"] .collection h2{font-size:17px;line-height:25px;margin:0 0 7px;overflow-wrap:anywhere}body[data-store-page="store"] .collection p{font-size:13px;color:var(--muted);line-height:21px;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}body[data-store-page="store"] .collection-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}body[data-store-page="store"] .privacy{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:11px}body[data-store-page="store"] .privacy .icon svg{width:12px;height:12px}body[data-store-page="store"] .page-caption{font-size:13px;color:var(--muted);margin:0 0 22px}body[data-store-page="store"] .breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--muted);margin-bottom:24px}body[data-store-page="store"] .breadcrumb a{color:var(--accent)}body[data-store-page="store"] .list-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin-bottom:28px}body[data-store-page="store"] .list-heading h1{font-size:27px;letter-spacing:-.5px;line-height:37px;overflow-wrap:anywhere;margin:10px 0}body[data-store-page="store"] .list-heading p{font-size:14px;line-height:24px;color:var(--muted);max-width:700px;margin:0 0 12px;white-space:pre-wrap;overflow-wrap:anywhere}body[data-store-page="store"] .list-heading .button{flex:none;margin-top:8px}body[data-store-page="store"] .list-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--muted)}body[data-store-page="store"] .list-body{display:grid;grid-template-columns:168px minmax(0,1fr);gap:32px}body[data-store-page="store"] .group-index{align-self:start;position:sticky;top:84px}body[data-store-page="store"] .group-index a{display:block;font-size:13px;color:var(--muted);padding:8px 0}body[data-store-page="store"] .group-index a:hover{color:var(--accent)}body[data-store-page="store"] .reading-group{scroll-margin-top:85px;margin-bottom:28px}body[data-store-page="store"] .reading-group>h2{font-size:16px;line-height:24px;margin:0 0 14px;font-weight:600}body[data-store-page="store"] .reading-row{display:grid;grid-template-columns:22px 48px minmax(0,1fr) 140px;gap:16px;align-items:start;padding:18px 0;border-top:1px solid var(--line)}body[data-store-page="store"] .reading-row>.cover{width:48px;height:66px;padding:0;align-items:center;justify-content:center;border-left-width:3px}body[data-store-page="store"] .reading-row>.cover strong,body[data-store-page="store"] .reading-row>.cover small,body[data-store-page="store"] .reading-row>.cover .symbol{display:none}body[data-store-page="store"] .reading-row .row-number{font-size:11px;color:var(--muted);padding-top:4px}body[data-store-page="store"] .reading-row h3{font-size:15px;line-height:23px;margin:0 0 4px}body[data-store-page="store"] .reading-row h3 button{padding:0;border:0;background:none;text-align:left;font-weight:600;font-size:inherit}body[data-store-page="store"] .reading-row p{font-size:12px;color:var(--muted);margin:0}body[data-store-page="store"] .reading-row .reason{margin-top:10px;line-height:22px;white-space:pre-wrap;color:var(--text);font-size:13px;overflow-wrap:anywhere}body[data-store-page="store"] .reading-row .book-actions{margin:0;flex-wrap:wrap}body[data-store-page="store"] .unavailable-label{display:inline-block;margin-bottom:6px;font-size:11px;color:var(--muted);background:var(--soft);border-radius:5px;padding:2px 6px}body[data-store-page="store"] .unavailable .cover{opacity:.55}
body[data-store-page="store"] .editor{max-width:900px;margin:auto}body[data-store-page="store"] .editor .toolbar{margin-bottom:24px}body[data-store-page="store"] .editor-form{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;margin-bottom:24px}body[data-store-page="store"] .field{display:flex;flex-direction:column;gap:7px;font-size:13px}body[data-store-page="store"] .field.wide{grid-column:1/-1}body[data-store-page="store"] .field input,body[data-store-page="store"] .field textarea,body[data-store-page="store"] .field select{width:100%;padding:10px 12px;border:1px solid var(--line);background:var(--bg);color:var(--text);font-size:15px;line-height:22px}body[data-store-page="store"] .field textarea{resize:vertical;min-height:78px}body[data-store-page="store"] .field small{font-size:11px;color:var(--muted)}body[data-store-page="store"] .editor-item{position:relative;padding:18px;border:1px solid var(--line);border-radius:12px;margin-bottom:14px}body[data-store-page="store"] .editor-item-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}body[data-store-page="store"] .editor-item-head h3{font-size:14px;line-height:22px;margin:0;flex:1}body[data-store-page="store"] .editor-item-head small{display:block;font-size:12px;color:var(--muted);font-weight:400}body[data-store-page="store"] .item-tools{display:flex;flex:none}body[data-store-page="store"] .item-tools .icon-button{width:32px;min-width:32px;height:32px;padding:6px}body[data-store-page="store"] .item-tools svg{width:16px;height:16px}body[data-store-page="store"] .editor-item .field{margin-top:12px}body[data-store-page="store"] .editor-item input,body[data-store-page="store"] .editor-item textarea{font-size:14px}body[data-store-page="store"] .editor-footer{position:sticky;bottom:0;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 0;background:var(--bg);border-top:1px solid var(--line);z-index:5}body[data-store-page="store"] .editor-footer>div{display:flex;gap:8px}body[data-store-page="store"] .editor-note{font-size:12px;color:var(--muted)}body[data-store-page="store"] .error{color:var(--danger);font-size:13px;line-height:21px;overflow-wrap:anywhere}body[data-store-page="store"] .error:empty{display:none}body[data-store-page="store"] .chooser-list{max-height:42dvh;overflow:auto;margin-top:16px}body[data-store-page="store"] .choice{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);min-height:50px}body[data-store-page="store"] .choice:last-child{border:0}body[data-store-page="store"] .choice>span{flex:1;min-width:0;overflow-wrap:anywhere}body[data-store-page="store"] .choice strong{font-size:14px;display:block}body[data-store-page="store"] .choice small{font-size:12px;color:var(--muted);display:block;margin-top:4px}body[data-store-page="store"] .choice input{accent-color:var(--accent);flex:none;width:18px;height:18px}body[data-store-page="store"] .choice .icon-button{flex:none}body[data-store-page="store"] .choice .button{flex:none}body[data-store-page="store"] .divider{border:0;border-top:1px solid var(--line);margin:20px 0}body[data-store-page="store"] .text-button{border:0;padding:5px 0;background:none;color:var(--accent);font-size:13px}
body[data-store-page="store"] dialog{width:520px;max-width:calc(100vw - 32px);max-height:88dvh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:18px;color:var(--text);background:var(--bg);box-shadow:0 20px 80px #142b2229}body[data-store-page="store"] dialog::backdrop{background:#13251f55}body[data-store-page="store"] dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}body[data-store-page="store"] dialog h2{font-size:18px;line-height:26px;margin:0}body[data-store-page="store"] dialog>header .icon-button{background:var(--soft);border-radius:50%}body[data-store-page="store"] dialog p{font-size:13px;line-height:23px;color:var(--muted);overflow-wrap:anywhere}body[data-store-page="store"] .dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}body[data-store-page="store"] .dialog-actions:empty{display:none}body[data-store-page="store"] .dialog-actions .button{min-height:40px}body[data-store-page="store"] .dialog-book-head{display:flex;gap:20px;align-items:center;margin-bottom:20px}body[data-store-page="store"] .dialog-book-head>.cover{width:96px;height:136px;flex:none;padding:14px 10px;gap:8px}body[data-store-page="store"] .dialog-book-head .cover strong{font-size:12px;line-height:19px}body[data-store-page="store"] .dialog-book-head .cover small{display:none}body[data-store-page="store"] .dialog-book-head .cover .symbol{font-size:16px}body[data-store-page="store"] .dialog-book-head .cover .icon{display:none}body[data-store-page="store"] .dialog-book-head h3{font-size:21px;line-height:30px;margin:0 0 8px;overflow-wrap:anywhere}body[data-store-page="store"] .dialog-book-head p{margin:0;font-size:13px}body[data-store-page="store"] .tags{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}body[data-store-page="store"] .tag{font-size:11px;color:var(--muted);background:var(--soft);border-radius:5px;padding:3px 7px}body[data-store-page="store"] .dialog-book-actions{display:flex;gap:10px;margin-top:22px}body[data-store-page="store"] .dialog-book-actions .button:first-child{flex:1}body[data-store-page="store"] .dialog-book-actions .button{min-height:44px}body[data-store-page="store"] .demo-controls .field{margin:16px 0}body[data-store-page="store"] .demo-controls .check-line{display:flex;align-items:center;gap:8px;font-size:13px}body[data-store-page="store"] .demo-controls .check-line input{accent-color:var(--accent)}body[data-store-page="store"] .prototype-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;max-width:1360px;margin:0 auto;padding:16px 0;color:var(--muted);font-size:11px;border-top:1px solid var(--line)}body[data-store-page="store"] .prototype-footer .text-button{font-size:11px;color:var(--muted)}body[data-store-page="store"] #toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:60;max-width:calc(100vw - 32px);width:max-content;padding:12px 18px;border-radius:10px;background:#253e34;color:#fff;box-shadow:0 4px 20px #0002;font-size:13px;pointer-events:none}body[data-store-page="store"] .bottom-nav{display:none}
@media(max-width:1150px){body[data-store-page="store"] .catalog-layout{grid-template-columns:180px minmax(0,1fr);gap:24px}body[data-store-page="store"] .book-grid{grid-template-columns:repeat(auto-fill,minmax(0,160px));gap:24px 20px}body[data-store-page="store"] .cover{padding:16px 12px 16px 15px}body[data-store-page="store"] .cover strong{font-size:15px}body[data-store-page="store"] .row-tags{display:none!important}body[data-store-page="store"] .book-row{gap:12px}body[data-store-page="store"] .prototype-footer{margin:0 32px}}
@media(pointer:coarse){body[data-store-page="store"] .icon-button{width:44px;min-width:44px;height:44px}body[data-store-page="store"] .button{min-height:44px}body[data-store-page="store"] .category{min-height:44px}body[data-store-page="store"] .courses button{min-height:40px}}
@media(max-width:760px){body[data-store-page="store"]{padding-bottom:calc(60px + env(safe-area-inset-bottom))}body[data-store-page="store"] .brand{font-size:21px}body[data-store-page="store"] .demo-badge{font-size:10px;margin-right:4px}body[data-store-page="store"] .icon-button{width:44px;min-width:44px;height:44px;padding:11px}body[data-store-page="store"] .section-tabs{padding:0 16px}body[data-store-page="store"] .section-tabs>div{gap:28px}body[data-store-page="store"] .section-tabs a{min-height:46px;font-size:14px}body[data-store-page="store"] main{padding:16px 16px 28px;min-height:calc(100dvh - 202px)}body[data-store-page="store"] .catalog-layout{display:block}body[data-store-page="store"] .sidebar{display:none}body[data-store-page="store"] .toolbar{gap:8px;min-height:40px;margin-bottom:14px}body[data-store-page="store"] .toolbar h1{font-size:15px;line-height:22px}body[data-store-page="store"] .toolbar .tools{gap:0}body[data-store-page="store"] .tools select{min-height:40px;max-width:105px;font-size:11px}body[data-store-page="store"] .filter-bar{gap:6px;margin-bottom:16px;flex-wrap:nowrap;overflow:auto;padding-bottom:4px}body[data-store-page="store"] .filter-bar select{font-size:11px;max-width:130px;min-height:36px;flex:none}body[data-store-page="store"] .filter-clear{flex:none}body[data-store-page="store"] .book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}body[data-store-page="store"] .cover{padding:16px 12px 16px 15px;gap:10px}body[data-store-page="store"] .cover strong{font-size:clamp(14px,3.9vw,16px);-webkit-line-clamp:5}body[data-store-page="store"] .cover small{font-size:10px}body[data-store-page="store"] .cover .symbol{font-size:16px}body[data-store-page="store"] .book-caption{margin:10px 0 8px}body[data-store-page="store"] .book-caption strong{font-size:14px;line-height:21px}body[data-store-page="store"] .book-caption small{font-size:11px}body[data-store-page="store"] .book-actions{gap:6px}body[data-store-page="store"] .book-actions .button{padding:7px 8px;font-size:12px;min-height:42px}body[data-store-page="store"] .book-actions .icon-button{width:42px;min-width:42px;height:42px;padding:11px}body[data-store-page="store"] .book-list{border-width:1px 0 0;border-radius:0}body[data-store-page="store"] .book-row{padding:16px 0;align-items:flex-start;gap:10px}body[data-store-page="store"] .book-row .book-open{align-items:flex-start;gap:10px}body[data-store-page="store"] .book-row .cover{width:44px;height:64px}body[data-store-page="store"] .book-row .book-caption strong{font-size:14px;line-height:21px}body[data-store-page="store"] .book-row .book-actions{width:94px;flex-direction:column;align-items:stretch;gap:0}body[data-store-page="store"] .book-row .book-actions .icon-button{align-self:flex-end;height:36px;min-height:36px;width:36px;min-width:36px;padding:8px}body[data-store-page="store"] .book-row .book-status{font-size:10px}body[data-store-page="store"] .empty{min-height:260px;padding:24px}body[data-store-page="store"] .empty h2{font-size:17px}body[data-store-page="store"] .empty p{font-size:12px}body[data-store-page="store"] .collection-grid{grid-template-columns:1fr;gap:16px}body[data-store-page="store"] .collection{padding:18px}body[data-store-page="store"] .collection-art{height:140px}body[data-store-page="store"] .collection h2{font-size:17px}body[data-store-page="store"] .page-caption{font-size:12px;line-height:21px}body[data-store-page="store"] .list-heading{gap:12px;margin-bottom:24px}body[data-store-page="store"] .list-heading h1{font-size:23px;line-height:32px}body[data-store-page="store"] .list-heading p{font-size:13px;line-height:23px}body[data-store-page="store"] .list-heading>.button{font-size:12px;min-height:40px;padding:8px 10px}body[data-store-page="store"] .list-meta{gap:8px;font-size:11px}body[data-store-page="store"] .list-body{display:block}body[data-store-page="store"] .group-index{display:flex;gap:16px;position:static;margin-bottom:16px;overflow:auto;white-space:nowrap;border-bottom:1px solid var(--line)}body[data-store-page="store"] .group-index a{padding:8px 0 12px}body[data-store-page="store"] .reading-row{grid-template-columns:40px minmax(0,1fr);gap:12px;padding:16px 0}body[data-store-page="store"] .reading-row>.row-number{display:none}body[data-store-page="store"] .reading-row>.cover{width:40px;height:58px}body[data-store-page="store"] .reading-row .book-actions{grid-column:2;justify-content:flex-start;flex-wrap:nowrap;margin-top:0}body[data-store-page="store"] .reading-row .book-actions>.button{flex:none;min-width:100px}body[data-store-page="store"] .reading-row .book-actions>.icon-button{border:0}body[data-store-page="store"] .reading-row h3{font-size:14px}body[data-store-page="store"] .reading-row .reason{font-size:12px;line-height:21px;margin-top:8px}body[data-store-page="store"] .editor .toolbar .button{min-height:40px;padding:8px 10px;font-size:12px}body[data-store-page="store"] .editor-form{grid-template-columns:1fr;gap:16px}body[data-store-page="store"] .field.wide{grid-column:auto}body[data-store-page="store"] .field input,body[data-store-page="store"] .field textarea{font-size:16px}body[data-store-page="store"] .editor-item{padding:14px}body[data-store-page="store"] .editor-item-head{gap:8px}body[data-store-page="store"] .editor-item-head h3{font-size:13px}body[data-store-page="store"] .item-tools .icon-button{width:32px;height:36px;min-width:32px;padding:7px}body[data-store-page="store"] .editor-footer{bottom:calc(60px + env(safe-area-inset-bottom));gap:8px;padding:12px 0}body[data-store-page="store"] .editor-note{font-size:11px;max-width:100px}body[data-store-page="store"] .editor-footer .button{min-height:42px;font-size:12px;padding:8px 11px}body[data-store-page="store"] dialog{position:fixed;inset:auto 0 0;width:100%;max-width:100vw;max-height:88dvh;margin:0;padding:20px 20px calc(24px + env(safe-area-inset-bottom));border-width:1px 0 0;border-radius:20px 20px 0 0}body[data-store-page="store"] dialog h2{font-size:17px}body[data-store-page="store"] .dialog-book-head{gap:14px}body[data-store-page="store"] .dialog-book-head>.cover{width:78px;height:112px}body[data-store-page="store"] .dialog-book-head h3{font-size:18px;line-height:26px}body[data-store-page="store"] .dialog-book-head p{font-size:12px}body[data-store-page="store"] .dialog-actions .button{min-height:44px}body[data-store-page="store"] .choice{min-height:52px}body[data-store-page="store"] .choice strong{font-size:14px}body[data-store-page="store"] .chooser-list{max-height:40dvh}body[data-store-page="store"] .prototype-footer{margin:0 16px;padding:16px 0 20px;font-size:10px}body[data-store-page="store"] .prototype-footer .text-button{font-size:10px}body[data-store-page="store"] .bottom-nav{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;inset:auto 0 0;z-index:20;height:calc(60px + env(safe-area-inset-bottom));padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);border-top:1px solid var(--line);background:var(--bg)}body[data-store-page="store"] .bottom-nav>a,body[data-store-page="store"] .bottom-nav>button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;border:0;background:none;min-height:44px;font-size:10px;color:var(--muted);padding:5px}body[data-store-page="store"] .bottom-nav [aria-current]{color:var(--accent);font-weight:600}body[data-store-page="store"] .bottom-nav svg{width:22px;height:22px}body[data-store-page="store"] #toast{bottom:calc(78px + env(safe-area-inset-bottom));font-size:12px}}
@media(prefers-reduced-motion:reduce){body[data-store-page="store"] *{scroll-behavior:auto!important}}
body[data-store-page="store"] .modal-open{overflow:hidden}body[data-store-page="store"] main:focus{outline:none}body[data-store-page="store"] .pointer-input :is(button,a,select):focus{outline:none}
@media(max-width:760px){body[data-store-page="store"] .editor-footer{flex-wrap:wrap}body[data-store-page="store"] .editor-note{flex:1 0 100%;max-width:none}body[data-store-page="store"] .editor-footer>div{width:100%;justify-content:flex-end}}
[data-theme="dark"] body[data-store-page="store"]{color-scheme:dark;--bg:#181c1a;--soft:#222925;--text:#e8eee9;--muted:#a5b2a9;--line:#364039;--accent:#86cdb6;--selected:#233e33;--danger:#f39289}
body[data-store-page="store"] .button.primary{background:#0e6b5c;border-color:#0e6b5c;color:#fff}
[data-theme="dark"] body[data-store-page="store"] .cover{--cover-bg:#1d2e24;--cover-ink:#b5d9bd;--cover-line:#3b5543}
[data-theme="dark"] body[data-store-page="store"] .cover.blue{--cover-bg:#1c2b3b;--cover-ink:#b4cfea;--cover-line:#3a5069}
[data-theme="dark"] body[data-store-page="store"] .cover.sand{--cover-bg:#302b20;--cover-ink:#e0cfa9;--cover-line:#554c34}
[data-theme="dark"] body[data-store-page="store"] .cover.rose{--cover-bg:#31242d;--cover-ink:#e2bbd0;--cover-line:#574051}
@media(pointer:coarse){body[data-store-page="store"] .tools select{min-height:44px}body[data-store-page="store"] .item-tools .icon-button{width:44px;min-width:44px;height:44px}}
@media(max-width:760px){body[data-store-page="store"] .book-actions .button,body[data-store-page="store"] .book-actions .icon-button,body[data-store-page="store"] .book-row .book-actions .icon-button{min-height:44px;height:44px}body[data-store-page="store"] .book-actions .icon-button,body[data-store-page="store"] .book-row .book-actions .icon-button{width:44px;min-width:44px}}
body[data-store-page="store"] .book-grid .cover{display:grid;grid-template-rows:18px minmax(0,1fr) auto}body[data-store-page="store"] .book-grid .cover strong{align-self:start;-webkit-line-clamp:4}body[data-store-page="store"] .book-grid .cover small{margin:0;-webkit-line-clamp:1}body[data-store-page="store"] .book-grid .cover .symbol,body[data-store-page="store"] .dialog-book-head>.cover .symbol{display:none}
body[data-store-page="store"] .courses{padding-left:10px}body[data-store-page="store"] .courses button{line-height:20px;overflow-wrap:anywhere}body[data-store-page="store"] .topics{margin:2px 0 6px 10px;padding-left:8px;border-left:1px solid var(--line)}body[data-store-page="store"] .topics button{font-size:12px}body[data-store-page="store"] .topics button.active{background:var(--selected)}
@media(pointer:coarse){body[data-store-page="store"] .courses button{min-height:44px}}


body[data-store-page="store"] .category>.icon,body[data-store-page="store"] .category>.tree-spacer{width:16px;flex:none}body[data-store-page="store"] .category>.icon svg{width:16px;height:16px}body[data-store-page="store"] #storeMessage{max-width:1360px;margin:8px auto;color:var(--danger);font-size:13px}body[data-store-page="store"] #storeMessage:empty{display:none}body[data-store-page="store"] .book-row .book-open{flex:1}body[data-store-page="store"] .shelf-mobile-nav{background:var(--bg)}
@media(max-width:760px){body[data-store-page="store"] #storeMessage{margin:8px 16px}body[data-store-page="store"] .editor-footer{bottom:calc(68px + env(safe-area-inset-bottom))}}

@media(max-width:760px){body[data-store-page="store"] dialog{bottom:var(--store-keyboard-offset,0px);max-height:min(88dvh,calc(var(--store-visible-height,100dvh) - 16px))}body[data-store-page="store"] .editor-footer{bottom:calc(var(--store-keyboard-offset,0px) + 68px)}}
body[data-store-page="store"] .cover{position:relative;overflow:hidden}body[data-store-page="store"] .cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;z-index:1}body[data-store-page="store"] .catalog-paging{display:flex;justify-content:center;margin:24px 0}
body[data-store-page="store"] .cover:has(>.cover-image){border:0;padding:0;background:transparent;border-radius:6px}
body[data-store-page="store"] .cover:has(>.cover-image)>:not(.cover-image){visibility:hidden}
body[data-store-page="store"] .book-row .cover{width:64px;height:88px}
@media(max-width:760px){body[data-store-page="store"] .book-row .cover{width:60px;height:84px}}

body[data-store-page="store"] .book-card .book-caption{margin:8px 0 0}
body[data-store-page="store"] .book-card .book-caption strong{font-weight:500}

@media(min-width:761px){body[data-store-page="store"] .sidebar{display:block}}


/* 手机书城：分段导航、常驻搜索与结果工具栏。 */
@media(max-width:760px){
  body[data-store-page="store"] .shelf-header{background:var(--bg);border-bottom:0;box-shadow:none}
  body[data-store-page="store"] .section-tabs{padding:8px 16px 12px;border:0;background:var(--bg)}
  body[data-store-page="store"] .section-tabs>div{gap:2px;padding:3px;border-radius:12px;background:var(--soft)}
  body[data-store-page="store"] .section-tabs a{justify-content:center;min-height:44px;padding:8px 6px;border:0;border-radius:9px;font-size:15px;white-space:nowrap;flex:1;min-width:0}
  body[data-store-page="store"] .section-tabs a[aria-current]{border:0;background:var(--bg);color:var(--text);box-shadow:0 1px 3px #00000020;font-weight:600}
  body[data-store-page="store"] .shelf-header .shelf-brand{flex:0 0 auto}
  body[data-store-page="store"] .shelf-header .shelf-brand>a{font-size:18px}
  body[data-store-page="store"] main{padding-top:8px}
  
  
  
  
  
  
  body[data-store-page="store"] .catalog-body>.toolbar{gap:8px;min-height:44px;margin-bottom:8px}
  body[data-store-page="store"] .catalog-body>.toolbar h1{flex:1;min-width:0;font-size:16px;line-height:24px}
  body[data-store-page="store"] .catalog-body>.toolbar h1 .small{font-size:13px;font-weight:400;margin-left:3px}
  body[data-store-page="store"] .toolbar .tools{gap:4px}
  body[data-store-page="store"] .tools select{min-height:44px;max-width:116px;font-size:14px;padding-left:4px}
  body[data-store-page="store"] .view-toggle{width:44px;min-width:44px;height:44px;padding:10px;background:none;border:0}
}

body[data-store-page="store"] .dialog-book-description{white-space:pre-line;overflow-wrap:anywhere}
