*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}
body{margin:0;font:16px/1.6 -apple-system,"PingFang SC","Helvetica Neue",sans-serif;color:#1c1b19;background:#f6f4ef;padding-bottom:calc(64px + env(safe-area-inset-bottom))}
#app{max-width:720px;margin:0 auto;padding:0 16px}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}
h1,h2,h3,h4,p{margin:0}small{color:#7a766c;font-size:13px;display:block;margin-top:4px}
a.src{display:inline-block;margin-top:8px;color:#0b5cab;font-size:14px}
.tag{display:inline-block;font-size:12px;padding:1px 8px;border-radius:99px;background:#e9e4d8;color:#5b5548}
.more{margin-top:10px;padding-top:10px;border-top:1px dashed #cfc9bb;font-size:15px}.more p{margin-bottom:6px}
table.val{width:100%;border-collapse:collapse;font-size:14px;margin:4px 0}table.val th,table.val td{border-bottom:1px solid #ddd6c6;padding:6px 4px;text-align:left}.note{font-size:13px;color:#7a766c}
.top{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 0;flex-wrap:wrap}
.switch{display:flex;background:#e9e4d8;border-radius:10px;padding:3px}.switch button{padding:6px 14px;border-radius:8px;font-size:15px}.switch .on{background:#fff;font-weight:600;box-shadow:0 1px 2px #0002}
.dateline{display:flex;align-items:center;gap:6px;font-size:14px;color:#5b5548}.dateline button{width:32px;height:32px;border-radius:8px;font-size:20px}.dateline button:disabled{opacity:.25}
.demo{text-align:center;font-size:12px;color:#a39e92;margin:28px 0 8px}
#vbar{position:fixed;left:0;right:0;bottom:0;display:flex;align-items:center;gap:6px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#1c1b19;color:#bbb;font-size:13px;overflow-x:auto;z-index:20}
#vbar button{flex:1;white-space:nowrap;padding:8px 6px;border-radius:8px;color:#ddd;font-size:14px}#vbar .on{background:#f6f4ef;color:#1c1b19;font-weight:600}
#sheet{position:fixed;inset:0;background:#0007;z-index:30;display:flex;align-items:flex-end}#sheet[hidden]{display:none}
.sheet-body{background:#fff;width:100%;max-width:720px;margin:0 auto;border-radius:18px 18px 0 0;padding:20px 18px calc(28px + env(safe-area-inset-bottom));max-height:82vh;overflow:auto;position:relative;animation:up .22s ease-out}
.sheet-body h2{font-size:20px;line-height:1.35;margin:8px 0}.sheet-body .close{position:absolute;right:12px;top:8px;font-size:26px;width:40px;height:40px;color:#7a766c}
@keyframes up{from{transform:translateY(40px);opacity:0}}
[data-k],[data-sheet]{cursor:pointer}
/* A 报纸 */
.v-a{background:#fbf8f1}.np{font-family:"Songti SC","Noto Serif SC",Georgia,serif}
.mast{text-align:center;border-top:3px double #1c1b19;border-bottom:1px solid #1c1b19;padding:10px 0 8px;margin-bottom:14px}.mast h1{font-size:38px;letter-spacing:.2em;font-weight:900}.mast p{font:12px -apple-system,sans-serif;color:#7a766c;letter-spacing:.08em}
.lead{padding-bottom:14px;border-bottom:2px solid #1c1b19}.lead h2{font-size:26px;line-height:1.3;margin:6px 0;font-weight:900}
.cols{columns:2 280px;column-gap:24px;column-rule:1px solid #d8d2c4;margin-top:14px}.cols section{break-inside:avoid-column;margin-bottom:8px}
.cols h3{font:600 13px -apple-system,sans-serif;letter-spacing:.15em;border-bottom:1px solid #1c1b19;padding-bottom:3px;margin:10px 0 2px}
.cols article{padding:9px 0;border-bottom:1px solid #e2dccd;break-inside:avoid}.cols h4{font-size:17px;line-height:1.4}.cols p{font-size:15px;color:#3d3a33}.np .alert h4::before{content:"● ";color:#b3261e}
/* B 卡片 */
.v-b{background:#eef0f4}.cards h3{font-size:14px;color:#6b7280;margin:18px 2px 8px}
.chips{display:flex;gap:8px;overflow-x:auto;padding:4px 0 6px;position:sticky;top:0;background:#eef0f4;z-index:5}.chips button{white-space:nowrap;padding:6px 14px;border-radius:99px;background:#fff;font-size:14px;border:1px solid #dde1e8}.chips .on{background:#1c1b19;color:#fff;border-color:#1c1b19}
.card{background:#fff;border-radius:14px;padding:14px 16px;margin-bottom:10px;box-shadow:0 1px 3px #0000000f;transition:transform .12s}.card:active{transform:scale(.98)}.card h4{font-size:17px;line-height:1.4;margin:6px 0 2px}.card p{font-size:15px;color:#4b5563}.card.alert{border-left:4px solid #d97706}
.v-b .tag{background:#eef2ff;color:#3730a3}
/* C 清单 */
.v-c{background:#fff}.prog{height:4px;background:#eee;border-radius:2px;overflow:hidden}.prog div{height:100%;background:#16a34a;transition:width .3s}.progt{font-size:12px;color:#7a766c;margin:4px 0 8px}
.list .sec{width:100%;display:flex;justify-content:space-between;align-items:center;padding:12px 0;font-weight:600;font-size:17px;border-bottom:1px solid #eee}.list .sec span{font-size:13px;font-weight:400;color:#7a766c}
.list ol{list-style:none;margin:0;padding:0}.list li{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #f3f3f3}.list li>div{flex:1}.list h4{font-size:16px;font-weight:500;line-height:1.45}
.tick{flex:none;width:24px;height:24px;border:2px solid #c9c9c9;border-radius:50%;margin-top:2px;font-size:14px;line-height:1}.read .tick{background:#16a34a;border-color:#16a34a;color:#fff}.read h4{color:#a3a3a3;text-decoration:line-through}.list .alert h4{border-left:3px solid #d97706;padding-left:8px}
/* D 杂志 */
.v-d{background:#111;color:#f4f1ea}.v-d #app{padding:0}.v-d .top{padding:10px 16px;position:sticky;top:0;background:#111;z-index:5}.v-d .switch{background:#2a2a2a}.v-d .switch .on{background:#f4f1ea;color:#111}.v-d .dateline{color:#aaa}
.pages{height:calc(100vh - 62px - 60px);overflow-y:auto;scroll-snap-type:y mandatory}.page{min-height:100%;scroll-snap-align:start;padding:22px 20px;display:flex;flex-direction:column;justify-content:center;border-bottom:1px solid #2a2a2a}
.page h2{font:900 30px/1.25 "Songti SC",Georgia,serif;margin:12px 0}.page p{font-size:17px;color:#d6d2c8}.page small{color:#8e8a80}.pd{margin-top:16px;padding:14px;background:#1c1c1c;border-radius:12px;font-size:15px}.pd p{font-size:15px;margin-bottom:6px}
.page footer{display:flex;justify-content:space-between;align-items:center;margin-top:20px;color:#8e8a80;font-size:13px}.page footer button{padding:10px 16px;border:1px solid #555;border-radius:99px;color:#f4f1ea}
.v-d .tag{background:#e4572e;color:#fff}.v-d a.src{color:#8ab4ff}.v-d table.val th,.v-d table.val td{border-color:#333}.v-d .demo{display:none}
/* E 看板 */
.v-e{background:#f3f5f7}.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.tiles button{background:#fff;border-radius:12px;padding:10px 4px;text-align:center}.tiles b{display:block;font-size:26px;line-height:1.1}.tiles span{font-size:12px;color:#6b7280}
.mine{display:flex;align-items:center;gap:8px;font-size:14px;margin:12px 2px;color:#374151}.mine input{width:18px;height:18px}
.dash h3{font-size:13px;color:#6b7280;margin:14px 2px 6px;letter-spacing:.05em}.dash section{background:#fff;border-radius:12px;overflow:hidden;scroll-margin-top:8px}
.row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:start;padding:11px 14px;border-bottom:1px solid #eef0f3}.row h4{font-size:15px;font-weight:500;line-height:1.4}.row .more{grid-column:1/-1;margin-top:2px}.row.alert{background:#fff8eb}.empty{text-align:center;color:#6b7280;padding:30px}
