:root{--bg:#f6f5f2;--surface:#fff;--surface-2:#efede8;--text:#1c1b19;--muted:#6b6862;--border:#e3e0d9;--accent:#c2410c;--accent-soft:#fdebe1;--new:#2f7d4f;--new-soft:#e3f4e9;--danger:#c92a2a;--radius:14px;--shadow:0 1px 2px #0000000a, 0 2px 8px #0000000a;--tabbar-h:58px;--sidebar-w:220px;--list-w:400px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#151515;--surface:#1f1f1f;--surface-2:#2a2a2a;--text:#ecebe8;--muted:#9b988f;--border:#333230;--accent:#fb8a4c;--accent-soft:#3a2418;--new:#6fcf97;--new-soft:#1d3326;--shadow:none}}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);margin:0}body{-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;line-height:1.45}a{color:var(--accent)}h1,h2,h3{margin:0;line-height:1.2}p{margin:.4em 0}button,input,select{font:inherit;color:inherit}.muted{color:var(--muted)}.small{font-size:.85rem}.center{text-align:center}.shell{min-height:100dvh}.content{padding-bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom))}.sidebar{display:none}.tabbar{z-index:10;height:calc(var(--tabbar-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:color-mix(in srgb, var(--surface) 88%, transparent);-webkit-backdrop-filter:saturate(180%)blur(16px);border-top:1px solid var(--border);justify-content:space-around;display:flex;position:fixed;inset:auto 0 0}.tab{color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.7rem;text-decoration:none;display:flex}.tab.active{color:var(--accent)}@media (width>=900px){.shell{grid-template-columns:var(--sidebar-w) 1fr;display:grid}.content{min-width:0;padding-bottom:0}.tabbar{display:none}.sidebar{height:100dvh;padding:calc(20px + env(safe-area-inset-top)) 12px 20px calc(12px + env(safe-area-inset-left));border-right:1px solid var(--border);background:var(--surface);flex-direction:column;gap:4px;display:flex;position:sticky;top:0}.side-link{color:var(--text);border-radius:10px;align-items:center;gap:10px;padding:10px 12px;font-weight:500;text-decoration:none;display:flex}.side-link:hover{background:var(--surface-2)}.side-link.active{background:var(--accent-soft);color:var(--accent)}}.brand{letter-spacing:-.01em;padding:4px 12px 18px;font-size:1.15rem;font-weight:700}.brand.big{padding:0 0 4px;font-size:1.6rem}.brand-mark{color:var(--accent)}.page{padding:calc(16px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left));max-width:820px;margin:0 auto}.page.narrow{max-width:720px}.page-header{justify-content:space-between;align-items:flex-start;gap:12px;margin:8px 0 14px;display:flex}.page-header h1{letter-spacing:-.02em;font-size:1.9rem}.page-header p{margin-top:2px;font-size:.9rem}.header-actions{gap:6px;display:flex}.toolbar{margin-bottom:10px}.section-title{margin:22px 0 10px;font-size:1.1rem}.split{grid-template-columns:var(--list-w) 1fr;height:100dvh;display:grid}.split .list-pane{border-right:1px solid var(--border);width:100%;max-width:none;margin:0;overflow-y:auto}.reader-pane{overflow-y:auto}.reader-pane .page{max-width:760px}.reader-pane .empty{margin-top:30vh}.btn{border:1px solid var(--border);background:var(--surface);cursor:pointer;color:var(--text);border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:10px 16px;font-weight:600;text-decoration:none;display:inline-flex}.btn:disabled{opacity:.6;cursor:default}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.ghost{background:0 0}.btn.small{min-height:34px;padding:6px 12px;font-size:.85rem}.btn.block{width:100%;margin:14px 0;display:flex}.icon-btn{width:40px;height:40px;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover{background:var(--surface-2)}.icon-btn.danger{color:var(--danger)}.star-on{color:#e8a50c!important}input,select{border:1px solid var(--border);background:var(--surface);border-radius:10px;width:100%;padding:11px 12px;font-size:16px}input:focus,select:focus{outline:2px solid var(--accent);outline-offset:-1px}label{flex-direction:column;gap:6px;margin:10px 0;font-size:.9rem;font-weight:500;display:flex}.row{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.row>input{flex:220px}.row>select{flex:0 160px}.segmented{background:var(--surface-2);border-radius:10px;padding:3px;display:inline-flex}.segmented button{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:7px 14px;font-size:.88rem;font-weight:600}.segmented button.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.chips{scrollbar-width:none;gap:8px;margin:0 -16px;padding:2px 16px 12px;display:flex;overflow-x:auto}.chips::-webkit-scrollbar{display:none}.chip{--chip-color:var(--muted);white-space:nowrap;border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:7px 13px;font-size:.88rem;font-weight:500;display:inline-flex;position:relative}.chip.active{background:var(--text);color:var(--bg);border-color:var(--text)}.chip-swatch,.swatch{background:var(--chip-color);border-radius:99px;flex:none;width:8px;height:8px;display:inline-block}.dot{background:var(--accent);border-radius:99px;width:7px;height:7px}.search{margin-bottom:10px;position:relative}.search svg{color:var(--muted);position:absolute;top:50%;left:12px;transform:translateY(-50%)}.search input{background:var(--surface-2);border-color:#0000;padding-left:38px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);margin:12px 0;padding:16px}.card h3{align-items:center;gap:8px;margin-bottom:6px;font-size:1.02rem;display:flex}.badge{text-transform:uppercase;letter-spacing:.04em;background:var(--surface-2);color:var(--muted);vertical-align:middle;border-radius:6px;margin-left:6px;padding:2px 7px;font-size:.7rem;font-weight:700;display:inline-block}.badge.new{background:var(--new-soft);color:var(--new);margin:0 8px 0 0}.error-box,.ok-box{border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:10px 0;padding:10px 12px;display:flex}.error-box{background:color-mix(in srgb, var(--danger) 12%, transparent);color:var(--danger)}.ok-box{background:var(--new-soft);color:var(--new)}.empty{text-align:center;padding:48px 16px}.empty h3{margin-bottom:6px;font-size:1.1rem}.spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:99px;width:26px;height:26px;margin:40px auto;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.center-screen{justify-content:center;align-items:center;min-height:100dvh;padding:16px;display:flex}.login-card{width:100%;max-width:380px;padding:28px}.login-card .btn{width:100%;margin-top:8px}.digest-overview{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px 18px;font-size:1.05rem}.digest-overview p{margin:0}.digest-overview .badge.new{margin-bottom:8px;display:inline-block}.digest-items{flex-direction:column;gap:10px;margin:12px 0 0;padding:0;list-style:none;display:flex}.digest-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.digest-item.imp-3{border-left:4px solid var(--accent)}.digest-item.is-new{border-color:color-mix(in srgb, var(--new) 45%, var(--border))}.digest-item.is-new.imp-3{border-left-color:var(--accent)}.digest-item-head{text-align:left;cursor:pointer;background:0 0;border:none;align-items:flex-start;gap:12px;width:100%;padding:14px 16px;display:flex}.digest-item-head>div{flex:1;min-width:0}.digest-item h3{margin-bottom:4px;font-size:1.02rem}.digest-item.imp-1 h3{color:var(--muted);font-weight:600}.digest-item p{color:var(--text);opacity:.9;margin:0;font-size:.95rem}.digest-item-meta{color:var(--muted);align-items:center;gap:6px;padding-top:2px;display:flex}.count{background:var(--surface-2);border-radius:99px;padding:1px 7px;font-size:.75rem;font-weight:700}.chev{transition:transform .15s}.chev.open{transform:rotate(90deg)}.digest-sources{border-top:1px solid var(--border);background:var(--surface-2);padding:4px 0}.source-row{color:var(--text);grid-template-columns:1fr auto;gap:0 10px;padding:10px 16px;text-decoration:none;display:grid}.source-row .source-name{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;grid-column:1;font-size:.75rem;font-weight:700}.source-row .source-title{grid-column:1;font-weight:500}.source-row .small{grid-area:1/2/3;align-self:center}.source-row.read .source-title{color:var(--muted);font-weight:400}.digest-footer{justify-content:space-between;align-items:center;margin-top:14px;display:flex}.article-list{margin:0;padding:0;list-style:none}.article-row{border-bottom:1px solid var(--border);color:var(--text);padding:14px 4px;text-decoration:none;display:block}.split .article-row{border-bottom-color:#0000;border-radius:10px;margin-bottom:2px;padding:14px 12px}.article-row.active{background:var(--accent-soft)}.article-row-meta{align-items:center;gap:6px;margin-bottom:4px;font-size:.78rem;display:flex}.source-name{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:60%;font-weight:700;overflow:hidden}.article-row h3{margin-bottom:4px;font-size:1.02rem;font-weight:650}.article-row-summary{color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:.9rem;display:-webkit-box;overflow:hidden}.article-row.read h3{color:var(--muted);font-weight:450}.reader-bar{z-index:5;margin:calc(-16px - env(safe-area-inset-top)) -16px 8px;padding:calc(8px + env(safe-area-inset-top)) 8px 8px;background:color-mix(in srgb, var(--bg) 90%, transparent);-webkit-backdrop-filter:blur(14px);justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.reader-actions{align-items:center;gap:2px;display:flex}.reader-header h1{letter-spacing:-.02em;margin:6px 0 14px;font-size:1.65rem}.ai-summary{background:var(--accent-soft);border-radius:var(--radius);margin-bottom:8px;padding:14px 16px}.ai-label{text-transform:uppercase;letter-spacing:.05em;color:var(--accent);align-items:center;gap:6px;margin-bottom:4px;font-size:.75rem;font-weight:700;display:flex}.ai-summary p{margin:0;font-size:1.02rem}.prose{overflow-wrap:break-word;margin-top:16px;font-family:Iowan Old Style,Charter,Georgia,serif;font-size:1.08rem;line-height:1.65}.prose img,.prose video,.prose iframe{border-radius:10px;max-width:100%;height:auto}.prose pre{background:var(--surface-2);border-radius:10px;padding:12px;font-size:.85rem;overflow-x:auto}.prose blockquote{border-left:3px solid var(--border);color:var(--muted);margin:1em 0;padding-left:14px}.prose h1,.prose h2,.prose h3{margin:1.2em 0 .4em;font-family:-apple-system,BlinkMacSystemFont,sans-serif}.prose table{display:block;overflow-x:auto}.add-feed .row>input{flex:260px}.feed-group h3{margin-bottom:4px}.feed-row{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.feed-row.busy{opacity:.5}.feed-info{flex-direction:column;flex:220px;min-width:0;display:flex}.feed-info strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.feed-error{color:var(--danger)}.feed-actions{align-items:center;gap:2px;display:flex}.feed-actions select{width:auto;padding:6px 8px;font-size:14px}.topic-list{flex-direction:column;gap:6px;display:flex}.topic-edit{align-items:center;gap:8px;display:flex}.topic-edit input{padding:8px 10px}.color-dot{cursor:pointer;border-radius:99px;flex:none;width:22px;height:22px;margin:0;position:relative}.color-dot select{opacity:0;cursor:pointer;position:absolute;inset:0}.runs{border-collapse:collapse;width:100%;margin:10px 0;font-size:.8rem}.runs th,.runs td{text-align:left;border-bottom:1px solid var(--border);padding:5px 4px}.runs th{color:var(--muted);font-weight:600}
