:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#172b4d;background:#f5f8fd;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.topbar{height:76px;background:#fff;border-bottom:1px solid #e9eef7;position:sticky;top:0;z-index:4}.top-inner{max-width:1440px;height:100%;margin:auto;padding:0 34px;display:flex;align-items:center;gap:52px}.brand{display:flex;align-items:center;gap:12px;font-weight:750;font-size:19px;white-space:nowrap;letter-spacing:.04em}.brand small{display:block;font-size:8px;letter-spacing:.16em;color:#9aa9c0;margin-top:3px}.logo{width:40px;height:40px;border-radius:13px;background:linear-gradient(140deg,#6e9efc,#366fe1);color:white;display:grid;place-items:center;font-size:24px;box-shadow:0 7px 18px #4e82ef44}nav{display:flex;align-self:stretch;gap:32px;color:#72809a;font-size:14px;white-space:nowrap}nav a{display:flex;align-items:center;position:relative}nav a.active{color:#315fcd;font-weight:700}nav a.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:#4e7ff0;border-radius:4px}.head-actions{margin-left:auto;display:flex;gap:9px;align-items:center;white-space:nowrap}.head-actions #user-label{font-size:13px;color:#617392}.btn{border:0;border-radius:10px;padding:11px 16px;font-weight:650;font-size:13px}.primary{background:#4779e9;color:white;box-shadow:0 5px 14px #4779e926}.primary:hover{background:#3569dc}.ghost{color:#55709c;background:#eff4fc}.outline{background:white;border:1px solid #e0e8f4;color:#617495}.danger{color:#d05a5a}.hidden{display:none!important}.layout{max-width:1440px;margin:0 auto;display:grid;grid-template-columns:192px minmax(0,1fr) 250px;gap:30px;padding:32px 34px}.sidebar{padding-top:4px}.side-label{font-size:11px;color:#a5b1c2;font-weight:700;margin:17px 12px 12px;letter-spacing:.12em}.side-link{width:100%;border:0;text-align:left;padding:13px 15px;border-radius:11px;background:transparent;color:#7788a3;font-size:14px;margin-bottom:3px}.side-link span{font-size:19px;margin-right:12px;vertical-align:-1px}.side-link.selected{background:#e9f0ff;color:#3f72e1;font-weight:700}.side-link:hover{background:#edf3fd}.side-card{margin-top:55px;padding:18px;border-radius:16px;background:linear-gradient(145deg,#eaf2ff,#f1f6ff);color:#365793;font-size:13px}.side-star{font-size:23px;color:#5783e3;margin-bottom:14px}.side-card p,.rail-card p{line-height:1.75;color:#8a9ab3;font-size:12px}.hero{min-height:158px;overflow:hidden;position:relative;background:linear-gradient(110deg,#e8f1ff,#f2f6ff);border:1px solid #e4edff;border-radius:19px;padding:26px 29px;margin-bottom:27px}.hero:after{content:"✦";position:absolute;font-size:180px;color:#d4e4ff;right:25px;top:-35px;transform:rotate(15deg)}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.16em;color:#7193d5}.hero h1{font-size:24px;margin:11px 0;color:#25477d;letter-spacing:.02em}.hero p{font-size:13px;color:#8296b7;margin:0;line-height:1.6}.section-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.section-top h2{margin:0;font-size:19px}.section-top p{margin:7px 0 0;color:#9aaac0;font-size:12px}.search{display:flex;align-items:center;gap:8px;background:white;border:1px solid #e7edf6;border-radius:10px;padding:0 12px;height:39px}.search input{border:0;outline:0;width:155px;color:#344c70;background:transparent;font-size:12px}.search button{border:0;background:none;color:#7790b4}.filters{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.chip{background:transparent;border:0;border-radius:9px;padding:9px 14px;color:#8d9db4;font-size:13px}.chip.active{background:#e8efff;color:#4776db;font-weight:700}.feed,.card{border-radius:15px;background:white;border:1px solid #eaf0f8;box-shadow:0 5px 24px #2e5b9410}.post{padding:20px 22px;border-bottom:1px solid #f0f3f8;cursor:pointer}.post:last-child{border:0}.post:hover{background:#fafcff}.post-line{display:flex;gap:8px;align-items:center;justify-content:space-between}.post h3{font-size:15px;color:#2a4164;margin:0;line-height:1.5}.badge{background:#f0f5ff;color:#6a90da;border-radius:6px;font-size:11px;padding:4px 7px;white-space:nowrap}.excerpt{color:#96a5ba;font-size:12px;line-height:1.7;margin:9px 0 14px;white-space:pre-wrap}.meta{font-size:11px;color:#a8b4c5;display:flex;gap:14px;align-items:center}.avatar{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:8px;background:#edf3ff;color:#6e91da;font-weight:700}.meta .push{margin-left:auto}.rail-card{background:#fff;border:1px solid #e9eff8;border-radius:16px;padding:23px}.rail-card h3{font-size:16px;margin:12px 0 8px}.rail-rule{height:1px;background:#eff3f9;margin:20px 0}.guide-line{display:flex;gap:12px;margin:18px 0}.guide-line span{color:#a8bfec;font-weight:800;font-size:12px}.guide-line b{display:block;font-size:12px;color:#5f7291}.guide-line small{display:block;color:#a4b1c4;font-size:11px;margin-top:5px}.rail-note{font-size:11px;color:#a8b6c8;line-height:1.9;margin:22px 8px}.empty{padding:55px 20px;text-align:center;color:#a1afc2;font-size:13px}.card{padding:24px}.card h2{margin:0 0 12px}.detail-body{line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#4e6380;font-size:14px;margin:26px 0}.actions{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.comment{padding:18px 0;border-top:1px solid #eef2f8}.comment p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;color:#576e8c;font-size:13px}.comment-tools{display:flex;gap:8px}.tiny{border:0;background:none;color:#8da0bc;font-size:12px;padding:3px}.tiny:hover{color:#4779e9}.form-label{font-size:12px;color:#617493;display:block;font-weight:700;margin:14px 0 7px}.input{width:100%;border:1px solid #dce6f4;border-radius:10px;background:#fbfdff;padding:11px 12px;outline:0;color:#253d60}.input:focus{border-color:#84aaf8;box-shadow:0 0 0 3px #eaf1ff}textarea.input{min-height:140px;resize:vertical}.muted{color:#9caac0;font-size:12px;line-height:1.7}.stack{display:grid;gap:12px}.item{padding:15px 0;border-bottom:1px solid #edf1f8}.item:last-child{border:0}.item h3{font-size:14px;margin:0 0 6px}.item p{font-size:12px;color:#8293ab;line-height:1.7;margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.pager{display:flex;gap:8px;margin-top:16px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.code{font:12px/1.8 ui-monospace,monospace;background:#f4f7fc;border-radius:9px;padding:14px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}dialog{border:0;border-radius:18px;box-shadow:0 20px 70px #172d5455;padding:24px;width:min(560px,calc(100% - 32px));max-height:90vh;overflow:auto}dialog::backdrop{background:#233c6055}.modal-head{display:flex;align-items:center;justify-content:space-between}.modal-head h2{font-size:18px;margin:0}.icon-btn{border:0;border-radius:9px;background:#f1f5fc;color:#8394ab;font-size:22px;width:34px;height:34px}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#273f65;color:white;border-radius:9px;padding:10px 16px;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:8}#toast.show{opacity:1}@media(max-width:1100px){.layout{grid-template-columns:165px minmax(0,1fr);gap:20px}.rail{display:none}.top-inner{gap:25px}}@media(max-width:700px){.topbar{height:auto}.top-inner{padding:12px 16px;gap:12px;flex-wrap:wrap}.brand{font-size:16px}.logo{width:35px;height:35px}nav{order:3;width:100%;height:35px;gap:25px}.head-actions{gap:5px}.head-actions .btn{padding:9px;font-size:12px}#user-label{display:none}.layout{display:block;padding:18px 14px}.sidebar{display:flex;overflow:auto;gap:5px;padding:0 0 12px}.side-label,.side-card{display:none}.side-link{width:auto;white-space:nowrap;padding:9px 11px;font-size:12px}.side-link span{font-size:14px;margin-right:4px}.hero{min-height:135px;padding:20px}.hero h1{font-size:20px}.hero:after{font-size:130px;right:0}.section-top{align-items:flex-start}.search input{width:100px}.post{padding:17px}.meta{gap:8px}.rail{display:none}}
.spaced{margin-top:16px}.detail-heading{margin-top:14px!important}.api-heading{margin-top:12px!important}
.admin-layout .rail{display:none}.admin-layout .layout{grid-template-columns:192px minmax(0,1fr)}.admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric{padding:20px}.metric span{display:block;color:#647b9b;font-size:12px}.metric strong{display:block;font-size:28px;letter-spacing:-.03em;margin:12px 0}.metric small{display:block;font-size:11px;color:#7184a0;line-height:1.6}.table-scroll{overflow:auto}.admin-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px;white-space:nowrap}.admin-table th{font-size:11px;font-weight:600;color:#7184a0;padding:12px;background:#f5f8fd}.admin-table td{padding:16px 12px;border-bottom:1px solid #edf1f8;max-width:400px;overflow-wrap:anywhere;white-space:normal}.admin-table td small{display:block;color:#8091aa;font-size:11px;margin-top:6px}.admin-details{display:grid;grid-template-columns:130px 1fr;gap:14px;font-size:13px;line-height:1.6}.admin-details dt{color:#8293ab}.admin-details dd{margin:0;overflow-wrap:anywhere}.admin-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:0 0 20px}.admin-filters>input{max-width:320px}.admin-filters label{font-size:12px;color:#617493}.admin-filters label .input{margin-top:6px}.pager{align-items:center}.btn:disabled{opacity:.45;cursor:default}.running-badge:before{content:'●';margin-right:5px;animation:pulse 1.2s infinite}@keyframes pulse{50%{opacity:.25}}@media(max-width:1000px){.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.admin-layout .layout{display:block}.admin-details{grid-template-columns:100px 1fr}.admin-table td{padding:12px 8px}.metric{padding:15px}}
.profile-hero{display:flex;align-items:center;gap:20px}.profile-hero h1{font-size:24px;margin:6px 0}.profile-hero .btn{margin-left:auto}.profile-avatar{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(140deg,#699dfb,#3b6ed4);color:white;font-size:28px;font-weight:700}.profile-record{padding:20px 0;border-bottom:1px solid #edf1f8}.profile-record .detail-body{margin:12px 0;font-size:13px}.profile-record b{overflow-wrap:anywhere}#user-label[role=button]{cursor:pointer}body:has(.profile-hero) .rail{display:none}body:has(.profile-hero) .layout{grid-template-columns:192px minmax(0,1fr)}@media(max-width:700px){.profile-hero{gap:12px;flex-wrap:wrap}.profile-avatar{width:44px;height:44px;border-radius:14px}.profile-hero h1{font-size:20px}.profile-hero .btn{margin-left:0}}
#profile-refresh{flex-shrink:0;white-space:nowrap}.profile-hero{overflow-wrap:anywhere}

/* Changfeng workspace palette: calm mist blue, clear hierarchy and readable metadata. */
:root{--page:#e5ebf3;--surface:#f8fafd;--ink:#20324b;--muted:#586c85;--line:#cbd6e4;--accent:#326bd6;color:var(--ink);background:var(--page)}
.topbar{height:68px;background:var(--surface);border-color:var(--line)}
.top-inner{gap:36px}.brand small{color:var(--muted)}.logo{box-shadow:none;background:linear-gradient(140deg,#4b8ae4,#326bd6)}
nav,.head-actions #user-label,.side-link,.side-label,.meta,.excerpt,.muted,.section-top p,.hero p,.item p,.rail-card p,.side-card p,.rail-note,.guide-line small,.empty{color:var(--muted)}
.layout{gap:24px;padding-top:24px}.feed,.card,.rail-card{background:var(--surface);border-color:var(--line);box-shadow:0 3px 12px #20324b05;border-radius:14px}
.hero{min-height:136px;background:linear-gradient(115deg,#d1e0f5,#e8eff8);border-color:#c5d6ed;padding:24px;margin-bottom:22px}.hero:after{color:#b4ccef;opacity:.55}.hero h1{color:var(--ink)}.hero p,.hero h1,.eyebrow{position:relative;z-index:1}.eyebrow{color:#426dad}.hero h1{font-size:23px}
.primary{background:var(--accent);box-shadow:none}.ghost,.side-link.selected,.chip.active{background:#d6e3f7;color:#285cb6}.outline{background:var(--surface);border-color:var(--line);color:#405b7d}.side-link:hover{background:#dce5f0}.side-card{background:#dce6f4;color:var(--ink)}
.post{border-color:#dce4ee;padding:22px}.post:hover{background:#edf3fc}.post h3{font-size:16px;color:var(--ink)}.excerpt{font-size:13px;line-height:1.75}.meta{font-size:12px}.badge{background:#e0eaf8;color:#3d659e}
.search,.input{background:var(--surface);border-color:var(--line)}.search input{font-size:13px}.chip{color:var(--muted)}.detail-body{color:#344b68;font-size:15px}.comment p{font-size:14px;color:#405773}.tiny{color:#586c85}.code{background:#e8eef6;color:#243b59}.admin-table th{background:#e5edf7}.admin-table td{border-color:#dce4ee}
button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.btn,.side-link,.post{transition:background .15s ease,color .15s ease}.btn:active{transform:translateY(1px)}
@media(max-width:700px){.topbar{height:auto}.layout{padding:16px 12px}.hero{padding:20px;min-height:128px}.post{padding:18px 16px}.side-link{min-height:40px}.btn{min-height:40px}.search input{width:94px}.section-top{gap:10px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-width:700px){.top-inner{gap:12px}.sidebar{scrollbar-width:none}.sidebar::-webkit-scrollbar{display:none}.filters{flex-wrap:nowrap;overflow:auto;scrollbar-width:none}.chip{white-space:nowrap;flex-shrink:0}}
@media(max-width:700px){.brand small{display:none}.brand{gap:8px}.top-inner{column-gap:10px}}
.site-announcements{max-width:1372px;margin:16px auto 0;padding:0 16px;display:grid;gap:8px}.site-notice{background:#d9e7fc;border:1px solid #b8cfed;border-radius:12px;padding:12px 16px;color:#244675}.site-notice summary{cursor:pointer;display:flex;align-items:center;gap:12px}.site-notice summary span{font-size:11px;border:1px solid #9fbce6;padding:3px 6px;border-radius:6px;flex-shrink:0}.site-notice summary b{overflow-wrap:anywhere;font-size:14px}.site-notice p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;margin:12px 0 0}.config-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.notice-checks{display:flex;gap:16px;flex-wrap:wrap;font-size:14px;margin:16px 0}.notice-checks input{accent-color:var(--accent)}.admin-layout .detail-body{margin:12px 0}.admin-layout .tabs{row-gap:12px}@media(max-width:700px){.config-grid{grid-template-columns:1fr;gap:0}.site-announcements{padding:0 12px}.admin-layout .tabs .chip{padding:9px}}

#notice-add{flex-shrink:0;white-space:nowrap}

.slider-captcha{margin:12px 0;padding:12px;border:1px solid #d6e7dc;border-radius:12px;background:#f7fbf8}.slider-captcha p{font-size:13px;margin:0 0 8px}.slider-picture{position:relative;overflow:hidden;line-height:0;border-radius:8px}.slider-picture img{display:block;width:100%;height:auto}.slider-indicator{position:absolute;left:0;top:0;bottom:0;width:3px;background:#10aa72;transform:translateX(-50%);box-shadow:0 0 0 1px #fff}.slider-captcha input[type=range]{width:100%;margin:14px 0;accent-color:#16865c}.slider-captcha .actions{display:flex;justify-content:flex-end;gap:8px}

.email-code-row{display:flex;gap:10px;align-items:center}.email-code-row .input{min-width:0;flex:1}.email-code-row .btn{flex-shrink:0}.auth-status{min-height:1.5em;line-height:1.6}.auth-status.error{color:#b23c38}.slider-captcha{margin-top:14px}

.rich-content{font:15px/1.85 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink,#20324b);white-space:normal;overflow-wrap:anywhere;min-width:0}
.rich-content>:first-child{margin-top:0}.rich-content>:last-child{margin-bottom:0}
.rich-content h1,.rich-content h2,.rich-content h3,.rich-content h4,.rich-content h5,.rich-content h6{font-weight:700;line-height:1.4;letter-spacing:-.02em;margin:1.4em 0 .6em;color:var(--ink,#20324b)}
.rich-content h1{font-size:1.7em}.rich-content h2{font-size:1.4em;border-bottom:1px solid var(--line,#d1ddea);padding-bottom:.35em}.rich-content h3{font-size:1.18em}.rich-content h4,.rich-content h5,.rich-content h6{font-size:1.05em}
.rich-content p{font-size:inherit;color:inherit;line-height:inherit;white-space:normal;margin:.8em 0}.rich-content strong{font-weight:700}.rich-content a{color:var(--accent,#326bd6);text-decoration:underline;text-underline-offset:3px}
.rich-content blockquote{margin:1em 0;padding:.6em 1em;border-left:4px solid var(--accent,#326bd6);border-radius:0 10px 10px 0;background:var(--soft,#e8eff8);color:var(--muted,#516985)}
.rich-content ul,.rich-content ol{padding-left:1.65em;margin:.75em 0}.rich-content li{margin:.25em 0}.rich-content li>p{margin:.2em 0}
.rich-content code{font: .9em/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;background:var(--soft,#e8eff8);padding:.15em .4em;border-radius:5px;overflow-wrap:anywhere}
.rich-content pre{padding:16px;background:var(--code-bg,#202428);color:var(--code-ink,#e6e5df);border:1px solid var(--line,#4b535d);border-radius:12px;overflow:auto;white-space:pre;margin:1em 0;max-width:100%;tab-size:4}
.rich-content pre code{font:13px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;padding:0;background:none;color:inherit;white-space:pre;overflow-wrap:normal}
.rich-content table{display:block;border-collapse:collapse;overflow-x:auto;max-width:100%;margin:1em 0;font-size:.92em}.rich-content th,.rich-content td{border:1px solid var(--line,#d1ddea);padding:9px 13px;min-width:80px;text-align:left}.rich-content th{background:var(--soft,#e8eff8);font-weight:700}.rich-content tr:nth-child(even){background:var(--soft,#e8eff8)}
.rich-content img{display:block;max-width:100%;height:auto;max-height:520px;object-fit:contain;margin:14px auto;border-radius:12px}.rich-content hr{border:0;border-top:1px solid var(--line,#d1ddea);margin:1.5em 0}.rich-content input[type=checkbox]{accent-color:var(--accent,#326bd6);margin-right:.45em}
.rich-editor{border:1px solid var(--line,#d1ddea);border-radius:12px;overflow:hidden;background:var(--surface,#f7faff);margin:8px 0 16px}.rich-toolbar{display:flex;gap:5px;flex-wrap:wrap;padding:8px;border-bottom:1px solid var(--line,#d1ddea);background:var(--soft,#e8eff8)}.rich-toolbar button{border:0;border-radius:6px;padding:7px 9px;background:transparent;color:var(--ink,#20324b);cursor:pointer;font-size:12px;white-space:nowrap}.rich-toolbar button:hover,.rich-toolbar button[aria-pressed=true]{background:var(--surface,#f7faff);color:var(--accent,#326bd6)}.rich-editor textarea.input{border:0;border-radius:0;min-height:200px;resize:vertical;margin:0;line-height:1.7}.rich-editor .rich-preview{padding:18px;min-height:200px;max-height:500px;overflow:auto}.rich-help{padding:8px 12px;border-top:1px solid var(--line,#d1ddea);font-size:12px;color:var(--muted,#516985)}.rich-empty{color:var(--muted,#516985)}
.cf-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.cf-actions a{display:inline-block;padding:7px 12px;border-radius:8px;text-decoration:none;background:var(--soft,#e8eff8);font-size:13px}.cf-meta{font-size:12px;color:var(--muted,#516985);margin:8px 0 20px}.cf-comment{border-top:1px solid var(--line,#d1ddea);padding-top:18px;margin-top:18px}.cf-notice+.cf-notice{border-top:1px solid var(--line,#d1ddea);margin-top:24px;padding-top:20px}
@media(max-width:700px){.rich-content{font-size:14px}.rich-content pre{padding:12px}.rich-editor textarea.input{min-height:180px}.rich-toolbar{gap:2px;padding:6px}.rich-toolbar button{padding:8px}.rich-content th,.rich-content td{padding:8px 10px}}

.cf-notice>h2:first-child{margin-top:0}

:root {
  --page: #f3f6fb;
  --surface: #fff;
  --ink: #192c47;
  --muted: #536781;
  --line: #dce5f1;
  --accent: #285bbe;
}
.topbar { height: 64px; }
.top-inner { max-width: 1192px; gap: 36px; padding: 0 24px; }
.brand { font-size: 17px; letter-spacing: 0; }
.logo { width: 34px; height: 34px; border-radius: 10px; font-size: 20px; }
nav { gap: 24px; }
nav a { gap: 5px; }
.layout, .admin-layout .layout, body:has(.profile-hero) .layout {
  display: block;
  max-width: 1060px;
  padding: 24px 24px 56px;
}
.admin-layout .layout { max-width: 1280px; }
.site-announcements { padding: 0; margin: 0 0 18px; }
.page-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 4px 0 18px; }
.page-head h1, .member-name h1 { margin: 0; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.25; overflow-wrap: anywhere; }
.card { padding: 22px; }
.card h2 { font-size: 17px; }
.post h3 { font-size: 17px; overflow-wrap: anywhere; }
.post-line .badge { flex: none; }
.post .excerpt { font-size: 14px; overflow-wrap: anywhere; }
.meta { flex-wrap: wrap; gap: 8px 12px; }
.author-link { color: #2b559c; font-weight: 650; }
.author-link:hover { text-decoration: underline; }
.user-menu { position: relative; }
.head-actions #user-label { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
#user-label::-webkit-details-marker { display: none; }
#user-label::after { content: ' ▾'; }
.user-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 152px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 12px 24px #192c471a; }
.user-menu-panel :is(a,button) { display: block; width: 100%; border: 0; border-radius: 7px; background: none; padding: 9px 12px; color: var(--ink); font-size: 13px; text-align: left; }
.user-menu-panel :is(a,button):hover { background: #edf3ff; }
.notification { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 20px; background: #285bbe; color: #fff; font-size: 10px; font-weight: 700; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.project-grid .post { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); min-width: 0; }
.project-grid .post:hover { background: #f6f9ff; }
.project-grid .post .excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.member-profile-head, .member-identity, .member-actions, .membership-level, .achievements { display: flex; align-items: center; gap: 10px; }
.member-profile-head, .member-actions, .membership-level, .achievements { flex-wrap: wrap; }
.member-name { min-width: 0; flex: 1 1 160px; }
.member-name p { margin: 5px 0 0; overflow-wrap: anywhere; }
.member-avatar { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #285bbe; background: #e6efff; font-size: 19px; font-weight: 750; }
.member-profile-head .member-avatar { width: 62px; height: 62px; font-size: 28px; }
.member-bio { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.membership { margin-top: 16px; padding: 14px; border-radius: 12px; background: #f1f5fb; }
.membership-level { font-size: 13px; color: var(--muted); }
.membership-level strong { color: var(--accent); font-size: 17px; }
.membership progress { width: 100%; height: 7px; margin: 9px 0 12px; accent-color: var(--accent); }
.achievement { background: #ffefcc; color: #785014; padding: 4px 9px; border-radius: 20px; font-size: 12px; }
.reward-rules { margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.reward-rules summary { cursor: pointer; }
.member-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.member-row:last-child { border-bottom: 0; }
.member-identity small { display: block; color: var(--muted); margin-top: 3px; }
.member-identity:hover strong, a.member-row:hover strong { color: var(--accent); }
.people-search { display: flex; gap: 8px; margin-bottom: 24px; }
.people-search .btn { flex: none; }
.thread-row { flex-wrap: nowrap; }
.thread-row > div:first-of-type { min-width: 0; flex: 1; }
.thread-row p { margin: 4px 0 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-size: 13px; }
.thread-time { text-align: right; display: grid; justify-items: end; }
.chat-log { list-style: none; margin: 12px 0; padding: 0 4px; max-height: min(54vh,540px); overflow: auto; }
.chat-line { display: grid; justify-items: start; gap: 5px; margin: 0 0 14px; }
.chat-line.mine { justify-items: end; }
.chat-line time { color: var(--muted); font-size: 11px; }
.bubble { max-width: 86%; border-radius: 12px; padding: 10px 12px; line-height: 1.55; font-size: 14px; background: #f0f3f8; white-space: pre-wrap; overflow-wrap: anywhere; }
.mine .bubble { background: #dce9ff; }
.chat-form { display: flex; align-items: end; gap: 10px; }
.chat-form .input { min-height: 68px; }
@media (max-width: 800px) { .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 700px) {
  .topbar { height: auto; }
  .top-inner { padding: 10px 12px 0; gap: 8px; }
  .brand { font-size: 15px; gap: 7px; }
  .logo { width: 30px; height: 30px; }
  nav { width: 100%; flex-wrap: nowrap; gap: 18px; height: 36px; }
  .head-actions #user-label { display: block; max-width: 112px; }
  .layout, .admin-layout .layout, body:has(.profile-hero) .layout { padding: 16px 12px 32px; }
  .card { padding: 16px; }
  .search input { width: 105px; }
}
@media (max-width: 520px) {
  .project-grid { grid-template-columns: 1fr; }
  .thread-time .muted { font-size: 10px; }
}
.chat-form .input { flex: 1; min-width: 0; }
.chat-form .btn { flex: none; white-space: nowrap; }

.feedback-text{white-space:pre-wrap;overflow-wrap:anywhere}

.presence-label{display:flex!important;gap:5px;align-items:center;color:var(--muted);font-size:12px}.presence-label i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#a2aaa6}.presence-label.is-online{color:#19835d}.presence-label.is-online i{background:#22a778}

/* Discovery: clear reading hierarchy, restrained amber, responsive project surfaces. */
.layout{max-width:1180px;padding-top:28px}.top-inner{max-width:1280px}.content{min-width:0}.page-intro{color:var(--muted);margin:-6px 0 24px}.text-link{color:var(--accent);font-weight:600}.text-link:hover{text-decoration:underline}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.welcome{display:block;padding:26px 0 32px}.welcome h1{font-size:clamp(34px,4vw,52px);line-height:1.22;letter-spacing:-.04em;margin:18px 0}.welcome p{color:var(--muted);line-height:1.85;max-width:720px}.welcome .actions{margin-top:26px}.eyebrow{font-size:12px;letter-spacing:.08em;font-weight:650}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 18px}.section-heading h2{margin:6px 0;font-size:21px}.section-heading>a{font-size:13px;white-space:nowrap}.discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface);transition:transform .18s,border-color .18s}.project-card:hover{transform:translateY(-3px);border-color:var(--accent)}.project-art{height:124px;padding:20px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(125deg,#3a3c39,#282e34);color:var(--accent)}.project-art>span{font:600 42px ui-monospace,monospace;letter-spacing:-4px}.project-art small{max-width:50%;text-align:right;font:12px ui-monospace,monospace;opacity:.75;overflow-wrap:anywhere}.art-2{background:linear-gradient(125deg,#303d47,#283036);color:#9fc3d0}.art-4{background:linear-gradient(125deg,#3d354b,#2d2e3c);color:#c4b1db}.art-5{background:linear-gradient(125deg,#304139,#283332);color:#a3c5af}.project-copy{padding:18px}.project-copy .post-line{display:block}.project-copy h3{margin:0 0 10px;font-size:17px;line-height:1.5}.project-copy .badge{font-size:10px}.project-summary{font-size:13px;color:var(--muted);line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:47px;margin:12px 0 18px}.project-copy .meta{gap:10px;font-size:11px;flex-wrap:wrap}.home-bottom{margin-top:36px}.getting-started{margin-top:20px;padding:26px;border-left:1px solid var(--line)}.getting-started h2{font-size:20px}.getting-started ol{padding-left:18px;color:var(--muted);font-size:14px;line-height:2.2}.getting-started p{font-size:13px;line-height:1.8}.feed .post{padding:20px}.feed .excerpt{-webkit-line-clamp:2}.discovery-search{display:flex;gap:10px;margin:24px 0 18px}.search-wide{flex:1;min-width:0}.discovery-search .input{margin:0;min-height:44px}.discovery-search select{width:auto}.results-caption{color:var(--muted);font-size:12px;margin:20px 0}.project-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0}.project-title h1{font-size:clamp(26px,3vw,36px);margin:12px 0;overflow-wrap:anywhere}.breadcrumb{display:flex;gap:12px;color:var(--muted);font-size:13px;overflow-wrap:anywhere}.project-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.project-readme,.project-sidebar{display:flex;flex-direction:column;gap:20px;min-width:0}.project-readme .card{padding:26px}.project-readme h2,.project-sidebar h2{font-size:18px;margin:0 0 18px}.project-readme .detail-body{margin-bottom:0;line-height:1.9}.project-sidebar .card{padding:22px}.import-card{position:sticky;top:90px}.import-card .btn{display:flex;width:100%;justify-content:center;margin:14px 0}.small{font-size:12px;line-height:1.7}.project-sidebar .text-link{font-size:12px}.qr-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:20px 0;font-size:13px}.project-qr{max-width:100%;height:auto;background:#fff;border-radius:8px;margin-top:14px}.project-facts dl{display:grid;grid-template-columns:auto 1fr;gap:14px;font-size:13px}.project-facts dt{color:var(--muted)}.project-facts dd{text-align:right;margin:0;overflow-wrap:anywhere}.project-facts .tiny{display:block;margin-top:16px}.run-steps{padding-left:20px;font-size:14px;color:var(--muted);line-height:2}.file-list{font:13px/2 ui-monospace,monospace;overflow-wrap:anywhere;padding-left:18px}.project-readme .code{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--code-bg);padding:18px}.download-intro{display:flex;gap:18px;align-items:center;margin-bottom:28px}.download-intro h2{margin:0}.release-notes{white-space:pre-wrap;line-height:1.8}.retry-load{display:block;margin:18px auto}.copy-helper{position:fixed;top:0;left:0;width:1px;height:1px;opacity:0}.project-readme details summary{cursor:pointer}.project-detail-layout .rich-content{overflow-wrap:anywhere}.page-head .btn{white-space:nowrap}
@media(max-width:900px){.welcome{gap:24px}.discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-detail-layout{grid-template-columns:minmax(0,1fr) 270px}.top-inner{gap:22px}nav{gap:18px}}
@media(max-width:700px){.layout{padding:20px 16px 40px}.welcome{grid-template-columns:1fr;padding:12px 0 26px;gap:24px}.welcome h1{font-size:36px}.welcome p{font-size:14px}.welcome .actions{display:flex;flex-wrap:wrap;gap:10px}.welcome .btn{font-size:12px}.discovery-grid{gap:14px;grid-template-columns:1fr}.project-card{display:grid;grid-template-columns:80px minmax(0,1fr)}.project-art{height:100%;padding:12px;flex-direction:column;justify-content:center;gap:14px}.project-art>span{font-size:28px}.project-art small{max-width:100%;font-size:10px;text-align:center}.project-copy{padding:16px}.project-copy h3{font-size:16px}.project-summary{margin:10px 0 12px;min-height:0}.home-bottom{grid-template-columns:1fr;gap:12px;margin-top:24px}.getting-started{border-left:0;border-top:1px solid var(--line);padding:24px 0}.discovery-search{flex-wrap:wrap}.discovery-search select{font-size:13px}.discovery-search label:last-child{margin-left:auto}.project-detail-layout{display:flex;flex-direction:column}.project-sidebar{display:contents}.project-sidebar .import-card{order:-1}.project-sidebar .project-facts{order:1}.project-facts{display:block}.import-card{position:static}.project-title{align-items:flex-start}.project-title>.btn{font-size:12px;flex-shrink:0}.project-readme .card{padding:20px}.project-sidebar .card{padding:20px}.qr-details{display:none}.project-copy .meta .push{margin-left:0}.section-heading h2{font-size:20px}nav{gap:22px}.top-inner{padding:10px 16px}.project-filters{gap:8px}.project-readme .detail-body{font-size:14px}.project-title h1{font-size:26px}.page-head{gap:12px}}
@media(prefers-reduced-motion:reduce){.project-card{transition:none}.project-card:hover{transform:none}}

.import-card .app-open{display:none}@media(max-width:700px),(pointer:coarse){.import-card .app-open{display:flex}.import-card .scan-open{display:none}}

/* Mobile web shell. Desktop layout remains controlled by the existing stylesheets. */
.mobile-nav{display:none}
@media(max-width:820px){
 html{-webkit-text-size-adjust:100%;scroll-padding-top:76px}
 body{font-size:14px}
 .topbar{height:auto;padding-top:env(safe-area-inset-top);box-shadow:none;z-index:10}
 .top-inner{height:60px;padding:0 16px;flex-wrap:nowrap;gap:12px}
 .top-inner>nav{display:none}
 .brand{font-size:16px;gap:8px;min-width:0}.brand .logo{width:30px;height:30px;font-size:20px;border-radius:10px}
 .head-actions{gap:6px;min-width:0}.head-actions .btn{padding:8px 11px;min-height:40px;font-size:12px}
 .head-actions #user-label{max-width:104px;min-height:40px;padding:11px 8px;font-size:12px}
 .user-menu-panel{min-width:180px;max-width:calc(100vw - 32px)}.user-menu-panel :is(a,button){min-height:44px;padding:13px}
 .mobile-nav{display:flex;position:fixed;z-index:12;left:0;right:0;bottom:0;width:auto;height:auto;gap:0;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -4px 16px #0001}
 .mobile-nav a{display:flex;flex:1;min-width:0;min-height:47px;gap:5px;align-items:center;justify-content:center;flex-direction:column;font-size:10px;color:var(--muted);border-radius:10px}
 .mobile-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
 .mobile-nav a.active{color:var(--accent);background:var(--selected)}.mobile-nav a.active:after{display:none}
 body:has(input:focus,textarea:focus,select:focus) .mobile-nav{display:none}
 .layout,.admin-layout .layout,body:has(.profile-hero) .layout{display:block;width:100%;padding:18px 16px calc(92px + env(safe-area-inset-bottom));max-width:100%}
 .content{width:100%;min-width:0}.page-head{margin:0 0 16px;gap:10px}.page-head h1{font-size:23px}.page-head>.btn{font-size:12px;padding:10px 12px}
 .welcome{padding:8px 0 22px}.welcome h1{font-size:30px;line-height:1.4;letter-spacing:-.025em;margin:12px 0;max-width:320px}.welcome .eyebrow{font-size:11px;letter-spacing:.03em}
 .welcome h1 span{display:block}.welcome p{font-size:14px;line-height:1.8;margin:0}.welcome .actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 0}.welcome .btn{text-align:center;padding:13px 8px;font-size:12px}
 .section-heading{margin:16px 0 13px;gap:10px}.section-heading h2{font-size:19px}.section-heading .eyebrow{display:none}.section-heading>a{font-size:12px}
 .discovery-grid{grid-template-columns:1fr;gap:12px}.project-card{display:grid;grid-template-columns:58px minmax(0,1fr);padding:14px;gap:12px;align-items:start;border-radius:14px;box-shadow:none}.project-card:hover{transform:none}
 .project-art{height:58px;width:58px;padding:0;border-radius:12px;display:grid;place-items:center}.project-art>span{font-size:25px;letter-spacing:-2px}.project-art small{display:none}
 .project-copy{padding:0;min-width:0}.project-copy h3{font-size:15px;margin:0 0 7px;line-height:1.5}.project-copy .badge{font-size:10px;padding:3px 6px}.project-summary{font-size:12px;line-height:1.7;margin:9px 0;min-height:0}.project-copy .meta{font-size:10px;gap:5px 8px}.project-copy .meta .push{margin-left:0}
 .home-bottom{display:block;margin-top:22px}.getting-started{border-left:0;border-top:1px solid var(--line);padding:20px 0;margin-top:24px}
 .page-intro{font-size:13px;line-height:1.7;margin:0 0 18px}
 .discovery-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:16px 0 10px}.discovery-search .search-wide{min-width:0}.discovery-search label:last-child{grid-column:1/-1;justify-self:end;margin:0}.discovery-search select{min-height:36px;padding:7px 10px;font-size:12px;width:auto}
 .filters,.tabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;gap:6px;scrollbar-width:none;padding-bottom:4px}.filters::-webkit-scrollbar,.tabs::-webkit-scrollbar{display:none}.chip{flex-shrink:0;white-space:nowrap;min-height:40px;padding:10px 12px;font-size:12px}.results-caption{font-size:11px;margin:10px 0 14px}
 .card{padding:16px;border-radius:14px;box-shadow:none}.feed{box-shadow:none}.feed .post{padding:16px}.post h3{font-size:16px}.post .excerpt{font-size:13px;line-height:1.75;margin:8px 0 12px}.meta{font-size:11px;gap:7px}.meta .push{margin-left:0}.post-line{align-items:flex-start}.post-line h3,.post-line b{min-width:0}.post-line .badge{font-size:10px}
 .page-head .search{flex-basis:100%;width:100%;height:44px}.search input{width:100%;min-width:0;flex:1;font-size:16px}.search button{min-width:32px;min-height:40px}
 .breadcrumb{font-size:11px;gap:8px;line-height:1.7}.project-title{margin:18px 0;gap:10px}.project-title h1{font-size:25px;line-height:1.4;margin:10px 0}.project-title .muted{font-size:11px}.project-title>.btn{font-size:11px;min-height:40px;padding:10px;flex-shrink:0}
 .project-detail-layout{display:flex;flex-direction:column;gap:16px}.project-sidebar{display:contents}.project-sidebar .import-card{order:-1;position:static;padding:16px}.project-sidebar .project-facts{order:1}.project-readme{gap:16px}.project-readme .card{padding:18px}.project-readme h2,.project-sidebar h2{font-size:16px;margin-bottom:12px}
 .import-card h2{display:none}.import-card .app-open{display:flex;margin:0 0 10px;min-height:46px}.import-card .scan-open,.import-card .qr-details{display:none}.import-card>.small{font-size:11px;margin:8px 0}.import-card>.small:last-child{display:none}.import-card>a[download]{display:inline-flex;width:auto;margin:10px 0 0;font-size:11px;padding:8px 12px;min-height:36px}.import-card>.text-link{display:block;font-size:12px}
 .detail-heading{font-size:22px;line-height:1.5;overflow-wrap:anywhere}.detail-body,.project-readme .detail-body{font-size:14px;line-height:1.85;margin:18px 0}.run-steps{font-size:13px}.rich-content img{max-width:100%;height:auto}.rich-content pre{max-width:100%;overflow:auto}.rich-content table{display:block;max-width:100%;overflow:auto}.comment-tools{flex-wrap:wrap;gap:8px}.tiny{min-height:36px;padding:8px}.actions{gap:8px}.actions .btn{font-size:12px}
 .input,input,textarea,select{font-size:16px}.btn{min-height:44px}.form-label{font-size:13px}.form-actions{gap:10px;flex-wrap:wrap}.form-actions .btn{flex:1;white-space:nowrap}
 dialog{width:100%;max-width:100%;max-height:90vh;max-height:90dvh;margin:auto 0 0;padding:0 18px calc(22px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;overscroll-behavior:contain}
 .modal-head{position:sticky;top:0;z-index:2;padding:18px 0 12px;background:var(--surface)}.modal-head h2{font-size:18px}.icon-btn{width:40px;height:40px;flex:none}#toast{bottom:calc(80px + env(safe-area-inset-bottom));max-width:calc(100% - 32px)}
 .member-profile-head{align-items:center;gap:12px}.member-profile-head .member-avatar{width:48px;height:48px;font-size:23px;border-radius:14px}.member-name{flex:1;min-width:0}.member-name h1{font-size:22px}.member-name p{font-size:11px}.member-actions{width:100%;display:flex;gap:8px}.member-actions .btn{flex:1;text-align:center;font-size:12px}.membership{padding:12px}.admin-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{padding:14px;min-width:0}.metric strong{font-size:24px;overflow-wrap:anywhere}.metric span,.metric small{font-size:11px}.section-top{align-items:flex-start;gap:10px}.section-top h2{font-size:18px}.section-top p{font-size:11px;line-height:1.7}.section-top>.btn{flex-shrink:0}.profile-record{overflow-wrap:anywhere}.config-grid{grid-template-columns:1fr}.admin-filters{display:flex;flex-wrap:wrap;gap:10px}.admin-filters>label{flex:1 1 140px;min-width:0}.admin-table{font-size:12px}.admin-table th,.admin-table td{padding:10px;white-space:normal;min-width:95px}.admin-details{overflow-wrap:anywhere}
 .chat-log{max-height:50vh;max-height:50dvh;padding:0}.bubble{max-width:90%;font-size:14px}.chat-form{gap:8px}.chat-form .input{min-height:50px;max-height:140px}.chat-form .btn{min-height:50px}.thread-row{gap:10px}.member-identity{min-width:0}.member-identity>div{min-width:0;overflow-wrap:anywhere}.people-search{gap:8px}.site-announcements{padding:0;margin-bottom:16px}.site-notice{padding:10px 12px}.site-notice summary{gap:8px}.site-notice summary b{font-size:12px}
}
@media(min-width:521px) and (max-width:820px){.discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome h1{max-width:none}.layout{padding-left:24px;padding-right:24px}}
@media(max-width:360px){.top-inner{padding:0 12px;gap:6px}.brand{font-size:14px}.head-actions .btn{font-size:11px;padding:8px}.layout{padding-left:12px;padding-right:12px}.project-card{grid-template-columns:46px minmax(0,1fr);gap:10px;padding:12px}.project-art{width:46px;height:46px}.project-copy h3{font-size:14px}.welcome h1{font-size:28px}}

@media(max-width:820px){.mobile-nav .notification{position:absolute;top:0;left:calc(50% + 5px);font-size:9px;min-width:16px;height:16px;padding:0 4px}.rich-editor-toolbar button{min-height:36px;min-width:32px}}

/* Keep the home recommendations easy to scan on a phone. */
@media(max-width:520px){
 #home-projects{gap:10px}
 #home-projects .project-card{padding:12px;align-items:center}
 #home-projects .project-summary{-webkit-line-clamp:1;line-height:1.5;margin:6px 0}
 #home-projects .project-copy h3{line-height:1.35;margin-bottom:5px}
 #home-projects .project-copy .meta{line-height:1.4}
}

/* Single shared light palette: white, neutral gray and restrained green. */
:root{color-scheme:light;--page:#f5f5f7;--surface:#fff;--ink:#242424;--muted:#707070;--line:#e8e8eb;--accent:#168553;--soft:#f5f5f7;--selected:#f0f0f2;--code-bg:#f5f5f7;--code-ink:#242424;color:var(--ink);background:var(--page)}
body{background:var(--page);color:var(--ink)}
.topbar,.feed,.card,.rail-card,dialog,.user-menu-panel,.project-card{background:var(--surface);color:var(--ink);border-color:var(--line);box-shadow:none;border-radius:10px}
.topbar{border-radius:0}.logo,.profile-avatar{background:var(--accent);color:#fff;box-shadow:none}
nav a.active{color:var(--ink)}nav a.active:after{background:var(--accent)}
.author-link{color:var(--ink)}.tiny:hover,.text-link,.guide-line span,.eyebrow{color:var(--accent)}
nav,.head-actions #user-label,.side-label,.side-link,.meta,.excerpt,.muted,.section-top p,.hero p,.item p,.rail-card p,.side-card p,.rail-note,.guide-line small,.empty,.chip,.metric span,.metric small,.admin-table th,.admin-table td small,.admin-details dt,.admin-filters label,.form-label,.tiny,.brand small,.search button{color:var(--muted)}
.post h3,.hero h1,.guide-line b,.detail-body,.comment p,.item h3,.project-copy h3{color:var(--ink)}
.primary,.notification{background:var(--accent);color:#fff;box-shadow:none}.primary:hover{background:#116d43;color:#fff}
.ghost,.side-link.selected,.chip.active,.badge,.avatar,.member-avatar,.achievement{background:var(--soft);color:var(--ink)}
.chip.active{position:relative;background:transparent;color:var(--ink);font-weight:700}.chip.active:after{content:"";position:absolute;left:25%;right:25%;bottom:1px;height:3px;background:var(--accent);border-radius:2px}
.outline,.icon-btn{background:var(--surface);color:var(--ink);border-color:var(--line)}
.side-link:hover,.post:hover,.project-grid .post:hover,.user-menu-panel :is(a,button):hover{background:var(--soft)}
.side-card,.membership,.bubble,.code,.admin-table th,.mine .bubble{background:var(--soft);color:var(--ink)}
.hero{background:var(--surface);border-color:var(--line);border-radius:10px}.hero:after{display:none}
.search,.input,.search input,input,textarea,select{background:var(--soft);color:var(--ink);border-color:var(--line)}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}.input:focus{border-color:var(--accent);box-shadow:0 0 0 2px #16855314}
input[type=checkbox],input[type=radio],progress{accent-color:var(--accent)}
.post,.item,.comment,.profile-record,.admin-table td,.member-row,.rail-rule{border-color:var(--line)}.rail-rule{background:var(--line)}
.site-notice{background:var(--soft);border:0;border-radius:8px;color:var(--ink)}.site-notice summary span{border-color:var(--line);color:var(--muted)}
.rich-editor-toolbar,.rich-preview{background:var(--surface);border-color:var(--line);color:var(--ink)}
dialog::backdrop{background:#0006}#toast{background:#242424;color:#fff;border:0}
.project-art,.art-2,.art-4,.art-5{background:var(--soft);color:var(--accent)}.project-art small{color:var(--muted);opacity:1}
.project-card:hover{transform:none;border-color:#cbd8d0}.project-grid .post{background:var(--surface)}
.mobile-nav{background:var(--surface);box-shadow:none}.mobile-nav a.active{background:transparent;color:var(--accent)}
::selection{background:#d6eee0;color:#242424}
@media(max-width:820px){.feed{border:0;background:var(--page)}.feed .post{background:var(--surface);border:0;border-radius:8px;margin-bottom:10px}.feed .post:hover{background:var(--surface)}}

.brand img.logo{object-fit:cover;display:block;padding:0;background:none;box-shadow:none;border-radius:10px;flex-shrink:0}

.download-intro img.logo{object-fit:cover;display:block;padding:0;background:none;border-radius:16px;flex-shrink:0}

.release-digest{display:block;overflow-wrap:anywhere;word-break:break-all;font-size:12px;max-width:100%}

