:root{color-scheme:light;--ink:#302735;--muted:#706874;--rose:#a3324d;--pale:#faedf1;--line:#e3e8df;--paper:#fff;--ground:#f3f6f0}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--ground);color:var(--ink);font:15px/1.55 system-ui,"Microsoft YaHei UI",sans-serif}
.shell{max-width:860px;margin:auto;padding:18px clamp(12px,4vw,36px) 44px}
.header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:6px 0 15px}
h1,h2,h3,p{margin:0}
h1{font-size:34px;letter-spacing:.04em}
h2{font-size:22px}
h3{font-size:18px}
.eyebrow{color:var(--rose);font-weight:700}
.muted,.meta{color:var(--muted);font-size:.88rem}
.meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.chip{display:inline-block;background:var(--pale);color:var(--rose);border-radius:12px;padding:1px 9px;font-size:.77rem;font-weight:650}
nav,.bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
nav{margin-bottom:14px}
.spread{justify-content:space-between}
button,input,textarea{font:inherit;color:inherit}
button{background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:9px 14px;min-height:42px;cursor:pointer}
button:hover,button[aria-current="page"],button[aria-pressed="true"]{background:var(--pale);color:var(--rose)}
button:disabled{opacity:.55;cursor:default}
.primary,.primary:hover{background:var(--rose);color:white;border-color:var(--rose);font-weight:700}
.link{padding:4px 0;min-height:34px;border:0;background:transparent;text-align:left;color:var(--rose)}
.inbox{position:relative;display:grid;place-items:center;width:46px;height:46px;padding:10px}
.inbox svg{width:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.dot{position:absolute;top:4px;right:4px;width:10px;height:10px;background:#c42344;border:1px solid white;border-radius:50%}
.card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:clamp(14px,3vw,24px);margin:12px 0;overflow-wrap:anywhere}
.card > * + *,form > * + *{margin-top:10px}
.card > .bar + .bar{margin-top:14px}
.post-text{white-space:pre-wrap}
.headline{text-align:left;border:0;padding:0;background:transparent;font-size:inherit;font-weight:inherit;min-height:0}
.headline:hover{background:transparent;text-decoration:underline}
label{display:block;font-weight:650}
input,textarea{display:block;width:100%;margin-top:4px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fafbf8;font-weight:400}
textarea{min-height:108px;resize:vertical}
.notice{position:sticky;bottom:12px;border-radius:12px;padding:12px 16px;background:var(--ink);color:white;margin-top:12px}
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px}
.gallery button{padding:0;overflow:hidden;line-height:0}
.gallery img{width:100%;height:clamp(90px,28vw,230px);object-fit:contain;background:#f8f9f6}
#photo{border:1px solid var(--line);border-radius:12px;max-width:calc(100% - 28px)}
#photo::backdrop{background:#302735aa}
#photo img{display:block;max-width:100%;max-height:72vh;margin-top:8px}
article.highlight{border-color:var(--rose);background:var(--pale)}
code{display:block;padding:9px 11px;background:var(--ground);border-radius:8px;overflow-wrap:anywhere;user-select:all}
