:root{--bg:#f6f5f2;--surface:#fff;--surface-2:#efede8;--text:#17171a;--muted:#6d6b72;--line:#e2dfd8;--accent:#e5484d;--accent-ink:#fff;--accent-soft:#fde8e8;--shadow:0 1px 2px #0000000f, 0 4px 14px #0000000f;--radius:14px;--s-reading:#2f80ed;--s-caught-up:#27a567;--s-plan-to-read:#8e6ad8;--s-on-hold:#d9952b;--s-dropped:#8b8a91;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#121214;--surface:#1c1c20;--surface-2:#26262b;--text:#f2f1ee;--muted:#9b99a1;--line:#2e2e34;--accent:#ff5f63;--accent-ink:#fff;--accent-soft:#3a1c1e;--shadow:0 1px 2px #0006}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font:16px/1.4 -apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,system-ui,sans-serif}body.no-scroll{overflow:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}h1{letter-spacing:-.02em;margin:0;font-size:30px}h2{margin:0 0 10px;font-size:17px}code{font:13px ui-monospace,SFMono-Regular,Menlo,monospace}code.block{background:var(--surface-2);word-break:break-all;border-radius:8px;margin-top:6px;padding:8px;display:block}main{max-width:1100px;padding:env(safe-area-inset-top) 16px calc(84px + env(safe-area-inset-bottom));margin:0 auto}.page{padding-top:14px}.page-head{justify-content:space-between;align-items:center;gap:12px;min-height:44px;margin-bottom:12px;display:flex}.muted{color:var(--muted)}.small{font-size:13px}.center{text-align:center}.truncate{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.break{word-break:break-all}.error{color:var(--accent);font-size:14px}.hint{color:var(--s-on-hold);margin:-4px 0 0;font-size:13px}.btn{border:1px solid var(--line);background:var(--surface);cursor:pointer;white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:0 16px;font-size:15px;font-weight:600;display:inline-flex}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn.danger{color:var(--accent);margin-top:18px}.btn.wide{width:100%}.btn:disabled,.btn.disabled{opacity:.45;cursor:default}.btn-row{flex-wrap:wrap;gap:8px;display:flex}.icon-btn{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;width:36px;height:36px}.icon-btn:hover{background:var(--surface-2)}.link-btn{color:var(--accent);cursor:pointer;text-align:left;background:0 0;border:0;padding:4px 0;font-size:14px}.back{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;font-size:17px}.seg{background:var(--surface-2);border-radius:9px;padding:2px;display:inline-flex}.seg button{cursor:pointer;width:38px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:7px}.seg button.on{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}input,select,textarea{border:1px solid var(--line);background:var(--surface);border-radius:10px;outline:none;width:100%;padding:10px 12px;font-size:16px}input:focus,select:focus,textarea:focus{border-color:var(--accent)}textarea.code{margin-bottom:10px;font:13px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace}.check{align-items:center;gap:8px;margin:12px 0 4px;font-size:14px;display:flex}.check input{width:auto}.paste-box,.toolbar{gap:8px;margin-bottom:10px;display:flex}.toolbar .search{flex:1}.toolbar select{width:auto}.chips{scrollbar-width:none;gap:6px;margin:0 -16px 14px;padding-bottom:4px;padding-left:16px;padding-right:16px;display:flex;overflow-x:auto}.chip{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:999px;flex:none;align-items:center;gap:6px;padding:6px 12px;font-size:14px;display:inline-flex}.chip.on{background:var(--text);color:var(--bg);border-color:var(--text)}.chip-count{opacity:.6;font-size:12px}.cover{background:linear-gradient(150deg, hsl(var(--hue) 55% 55%), hsl(calc(var(--hue) + 40) 60% 35%));color:#fff;flex:none;place-items:center;font-weight:700;display:grid;position:relative;overflow:hidden}.cover img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.cover-card{aspect-ratio:2/3;width:100%;font-size:28px}.cover-row{border-radius:8px;width:56px;height:84px;font-size:18px}.cover-hero{aspect-ratio:2/3;width:132px;box-shadow:var(--shadow);border-radius:12px;font-size:36px}.grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;display:grid}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;display:flex;overflow:hidden}.card-link{flex:1;display:block}.card-body{padding:10px 10px 6px}.card-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:15px;font-weight:650;line-height:1.25;display:-webkit-box;overflow:hidden}.card-meta{color:var(--muted);gap:4px;min-width:0;margin-top:3px;font-size:13px;display:flex}.card-meta>span:not(.truncate){white-space:nowrap;flex:none}.dot{opacity:.6}.btn.continue{background:var(--accent-soft);min-height:34px;color:var(--accent);border-color:#0000;margin:4px 10px 10px;font-size:14px}.list{flex-direction:column;gap:10px;display:flex}.row{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);align-items:center;gap:8px;padding:10px;display:flex}.row-link{flex:1;gap:12px;min-width:0;display:flex}.row-body{flex-direction:column;justify-content:center;min-width:0;display:flex}.row-foot{white-space:nowrap;align-items:center;gap:8px;margin-top:6px;display:flex}.row .btn.continue{margin:0}.pill{color:var(--pc);background:color-mix(in srgb, var(--pc) 15%, transparent);border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600}.pill-reading{--pc:var(--s-reading)}.pill-caught-up{--pc:var(--s-caught-up)}.pill-plan-to-read{--pc:var(--s-plan-to-read)}.pill-on-hold{--pc:var(--s-on-hold)}.pill-dropped{--pc:var(--s-dropped)}.stars{color:var(--line);font-size:18px;display:inline-flex}.stars .on{color:#f5b301}.stars button{color:var(--line);cursor:pointer;background:0 0;border:0;padding:0 1px;font-size:22px}.stars button.on{color:#f5b301}.empty{text-align:center;padding:40px 12px}.empty-art{font-size:44px}.empty p{color:var(--muted);max-width:340px;margin:8px auto 16px}.empty-note{color:var(--muted);text-align:center;padding:24px 0}.hero{gap:16px;margin-bottom:16px;display:flex}.hero-body{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.hero h1{font-size:24px;line-height:1.15}.hero-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.big-chapter{align-items:baseline;gap:8px;margin:4px 0 6px;display:flex}.big-chapter strong{letter-spacing:-.02em;font-size:30px}.panel{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:14px;padding:14px}.panel p{margin:0 0 10px}label.inline{justify-content:space-between;align-items:center;gap:12px;display:flex}label.inline select{width:auto}.notes{white-space:pre-wrap;margin-top:12px!important}.history{margin:0;padding:0;list-style:none}.history li{border-top:1px solid var(--line);align-items:center;display:flex}.history li:first-child{border-top:0}.history a{flex:1;justify-content:space-between;align-items:center;padding:10px 4px 10px 0;display:flex}.setting-row{justify-content:space-between;padding:8px 0;font-weight:500;display:flex}.steps{margin:0 0 10px;padding-left:20px}.steps li{margin-bottom:6px}.bookmark{cursor:grab}.form{flex-direction:column;gap:12px;display:flex}.form label{color:var(--muted);flex-direction:column;gap:4px;font-size:13px;font-weight:600;display:flex}.form label>input,.form label>select,.form label>textarea{color:var(--text);font-weight:400}.two{grid-template-columns:1fr 1fr;gap:10px;display:grid}.sheet-backdrop{z-index:50;background:#00000073;justify-content:center;align-items:flex-end;animation:.15s ease-out fade;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);border-radius:18px 18px 0 0;flex-direction:column;width:100%;max-width:520px;max-height:92dvh;animation:.2s ease-out rise;display:flex}@media (width>=700px){.sheet-backdrop{align-items:center}.sheet{border-radius:18px}.sheet-grabber{display:none}}.sheet-grabber{background:var(--line);border-radius:3px;width:36px;height:5px;margin:8px auto 0}.sheet-head{justify-content:space-between;align-items:center;padding:8px 12px 4px 16px;display:flex}.sheet-head h2{margin:0}.sheet-body{padding:6px 16px 16px;overflow-y:auto}.sheet-foot{padding:10px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}.confirm-top{align-items:center;gap:12px;margin-bottom:14px;display:flex}.confirm-title{font-size:18px;font-weight:700}@keyframes rise{0%{opacity:0;transform:translateY(30px)}}@keyframes fade{0%{opacity:0}}.tabbar{padding:6px 0 calc(6px + env(safe-area-inset-bottom));background:color-mix(in srgb, var(--bg) 85%, transparent);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--line);z-index:10;justify-content:center;gap:40px;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar a{color:var(--muted);flex-direction:column;align-items:center;min-width:64px;font-size:11px;font-weight:600;display:flex}.tabbar a.on{color:var(--accent)}.tab-icon{font-size:20px;line-height:1.3}.toast{left:50%;bottom:calc(80px + env(safe-area-inset-bottom));background:var(--text);color:var(--bg);z-index:100;max-width:calc(100% - 32px);box-shadow:var(--shadow);border-radius:12px;padding:10px 16px;font-size:14px;font-weight:500;animation:.2s ease-out rise;position:fixed;transform:translate(-50%)}.banner{background:var(--accent-soft);border-radius:var(--radius);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;padding:10px 12px;font-size:14px;font-weight:500;display:flex}.banner-actions{gap:8px;display:flex}.banner .btn{min-height:34px;font-size:14px}.setting-line{justify-content:space-between;align-items:center;gap:12px;padding:6px 0;font-size:15px;display:flex}.setting-line select{width:auto}.warn{color:var(--s-on-hold);font-weight:600}.cover-edit{align-items:center;gap:12px;display:flex}.cover-edit-body{flex-direction:column;gap:6px;display:flex}.cover-edit-label{color:var(--muted);font-size:13px;font-weight:600}
