/* 投稿表单样式：沿用站点配色变量，跟全站风格一致 */
.af{display:grid;gap:18px}
.af-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.af-f{display:flex;flex-direction:column;gap:7px;min-width:0}
.af-f>label{font-size:13px;font-weight:600;color:var(--ink-2)}
.af-f .hint{font-size:12px;color:var(--muted);line-height:1.6}
.af-f input,.af-f select,.af-f textarea{
  font:inherit;font-size:14px;padding:10px 12px;border-radius:10px;border:1px solid var(--line);
  background:var(--bg-soft);color:var(--ink);outline:none;width:100%}
.af-f textarea{min-height:180px;resize:vertical;line-height:1.75}
.af-f input:focus,.af-f select:focus,.af-f textarea:focus{
  border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
.af-f.full{grid-column:1 / -1}
.af-foot{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:4px}
.af-msg{margin-top:16px;padding:14px 16px;border-radius:12px;font-size:13.5px;line-height:1.75}
.af-msg.ok{background:var(--brand-soft);color:var(--brand-ink)}
.af-msg.err{background:#fdf3ee;color:#8a4a24;border:1px solid #f0d5c6}
.af-hint{font-size:12.5px;color:var(--muted);line-height:1.7}
.af-hint b{color:var(--ink-2)}
@media (max-width:680px){
  .af-row{grid-template-columns:1fr}
  .af-f.full{grid-column:auto}
}
