button,.actions a{border:1px solid #3a4635;background:#242e20;color:#e6efdf;border-radius:7px;padding:8px 13px;font-size:14px}.primary{background:var(--green);color:#17220f;border:0}.section-heading{margin-top:24px}.project-open{margin-top:auto;text-align:left;background:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:14px 0 0;color:var(--green)}.kind{overflow-wrap:anywhere}.empty{padding:35px;color:var(--muted);border:1px dashed var(--line);border-radius:10px}.post{padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:9px;margin:12px 0}.post span,.small,.post small{font-size:12px;color:var(--muted)}.post p{white-space:pre-wrap;overflow-wrap:anywhere}.post button{padding:3px 9px;margin-right:10px}dialog{background:#171d17;color:#eef4eb;border:1px solid #53654a;border-radius:16px;padding:32px;width:min(840px,calc(100% - 28px));max-height:90vh}dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}dialog h2{font-size:32px;margin:12px 0}.close{float:right;font-size:22px;background:none;border:0}.notice{background:#263020;padding:16px;border-left:3px solid var(--green);color:#c4d0bb;font-size:14px;margin:22px 0}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}textarea{width:100%;background:#111610;border:1px solid #43513b;color:#e2eddb;font:14px/1.8 'Segoe UI',sans-serif;padding:12px;border-radius:8px;resize:vertical;min-height:110px}#agent-prompt{height:160px}form label{display:block;margin:15px 0 7px}form input{display:block;margin-top:7px;padding:10px;border:1px solid #43513b;border-radius:6px;background:#111610}#auth{max-width:440px}#auth p{font-size:14px;color:var(--muted)}#auth-error,#post-error{color:#ffa7a7!important}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:10;background:var(--green);color:#14200e;padding:12px 22px;border-radius:9px;max-width:90vw}[hidden]{display:none!important}button:disabled{opacity:.5;cursor:wait}@media(max-width:650px){nav{flex-wrap:wrap}nav button{flex:auto}dialog{padding:20px}}
header{gap:12px}header>span{margin-right:auto}#theme-toggle{white-space:nowrap}
html[data-theme="light"]{color-scheme:light;--bg:#f5f7f3;--panel:#fff;--line:#d8dfd2;--muted:#596553;--green:#2e671a}
html[data-theme="light"] body{color:#202b1a}
html[data-theme="light"] .brand span,html[data-theme="light"] header strong{color:#202b1a}
html[data-theme="light"] nav button.active{background:#e0efd6;color:#285c17}
html[data-theme="light"] .search,html[data-theme="light"] textarea,html[data-theme="light"] form input{background:#fff;color:#202b1a;border-color:#adbca3}
html[data-theme="light"] input{color:#202b1a}
html[data-theme="light"] .card p,html[data-theme="light"] .notice{color:#46543c}
html[data-theme="light"] .tag,html[data-theme="light"] .monogram,html[data-theme="light"] .notice{background:#eaf2e4;color:#2d571c}
html[data-theme="light"] button,html[data-theme="light"] .actions a{background:#eef4e9;color:#2b4820;border-color:#c3d0b8}
html[data-theme="light"] .primary{background:#326d1c;color:#fff}
html[data-theme="light"] dialog{background:#fff;color:#202b1a;border-color:#adbca3}
html[data-theme="light"] #toast{background:#326d1c;color:#fff}
html[data-theme="light"] #auth-error,html[data-theme="light"] #post-error{color:#a32222!important}
@media(max-width:650px){header{height:auto;min-height:60px;flex-wrap:wrap;padding:10px 0}header>span{flex-basis:100%}}
.feed-list{display:block}.feed-status{padding:16px 20px;background:var(--panel);border:1px solid var(--line);border-radius:9px;font-size:13px;color:var(--muted)}.feed-status p{margin:5px 0}.hot-post{display:grid;grid-template-columns:42px 1fr;gap:14px;padding:24px 12px;border-bottom:1px solid var(--line)}.hot-post h3{font-size:19px;line-height:1.5;margin:0;overflow-wrap:anywhere}.hot-post h3 a:hover{color:var(--green)}.rank{font:22px monospace;color:var(--muted);padding-top:5px}.hot-post .actions{align-items:center;font-size:13px;margin-bottom:0}.hot-post .actions span{color:var(--muted);margin-right:auto}.hot-post .tags{margin-bottom:8px}
/* In-flow advertising only; never overlap content or masquerade as downloads. */
.card{overflow:hidden;box-shadow:0 3px 14px #15251005;transition:border-color .2s,box-shadow .2s}.card:hover{box-shadow:0 8px 24px #15251012}.card .source-image{position:relative;margin:-22px -22px 20px;border-bottom:1px solid var(--line);background:radial-gradient(ellipse at 20% 10%,#33423b,transparent 70%),linear-gradient(135deg,#161d22,#111416);overflow:hidden}.card .source-image>a{display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;padding:16px}.card .source-image img{width:100%;height:100%;max-height:none;object-fit:contain;background:transparent;border:0;border-radius:4px;filter:drop-shadow(0 4px 10px #0003);transition:transform .25s}.card .source-image:hover img{transform:scale(1.025)}.card .source-image figcaption{position:absolute;bottom:8px;right:10px;margin:0;padding:3px 7px;border-radius:5px;background:#111b;color:#fff;font-size:10px;opacity:0;transition:opacity .2s;pointer-events:none}.card .source-image:hover figcaption,.card .source-image:focus-within figcaption{opacity:1}.card .kind{font-size:11px}.card .monogram{flex-shrink:0;width:36px;height:36px;font-size:14px}.card h3{font-size:18px}.card .project-open{background:transparent!important}.hot-post .source-image{padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:12px}.hot-post .source-image img{border:0}
.source-image{margin:12px 0;min-width:0}.source-image img{display:block;width:100%;max-height:280px;object-fit:contain;background:var(--panel);border:1px solid var(--line);border-radius:8px}.source-image figcaption{font-size:11px;color:var(--muted);margin-top:5px}.card .source-image img{height:150px}#detail .source-image img{max-height:480px}.hot-post .source-image{max-width:660px}
.ad-slot{position:static!important;width:auto!important;height:auto!important;min-height:88px;margin:20px 0;padding:16px!important;border:1px dashed var(--line);border-radius:10px;display:flex!important;align-items:center;justify-content:center;gap:12px;color:var(--muted);background:var(--panel)}
.ad-slot small{font-size:12px}.beginner-guide{padding:18px 22px;border:1px solid var(--line);border-radius:12px;margin:14px 0}.beginner-guide h2{font-size:20px;margin:0 0 10px}.beginner-guide p,.beginner-guide li{line-height:1.8;font-size:14px}.beginner-guide ol{padding-left:22px}
