* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f5f6f8; color: #18273a; padding-bottom: 64px; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #fff; border-bottom: 1px solid #eee; }
.brand { font-weight: 700; font-size: 18px; }
.me-label { font-size: 13px; color: #666; margin-right: 8px; }
main { max-width: 640px; margin: 0 auto; padding: 16px; }
.card { background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.card .meta { font-size: 12px; color: #888; margin-bottom: 6px; }
.card .text { white-space: pre-wrap; line-height: 1.6; }
.card img { max-width: 100%; border-radius: 8px; margin-top: 8px; }
.card .actions { margin-top: 10px; font-size: 13px; color: #666; }
.btn { border: 0; border-radius: 8px; padding: 10px 16px; background: #ff5a5f; color: #fff; font-size: 15px; cursor: pointer; }
.btn.ghost { background: #eee; color: #333; padding: 6px 10px; font-size: 13px; }
.btn.secondary { background: #fff; color: #333; border: 1px solid #ddd; }
input, textarea, select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; margin: 6px 0 12px; }
textarea { min-height: 120px; resize: vertical; }
label { font-size: 14px; color: #444; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tabs button { border: 1px solid #ddd; background: #fff; border-radius: 20px; padding: 6px 14px; cursor: pointer; }
.tabs button.active { background: #18273a; color: #fff; border-color: #18273a; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; background: #fff; border-top: 1px solid #eee; z-index: 10; }
.tabbar button { flex: 1; border: 0; background: none; padding: 14px 0; font-size: 14px; cursor: pointer; }
.tabbar button.active { color: #ff5a5f; font-weight: 700; }
.toast { position: fixed; left: 50%; bottom: 76px; transform: translateX(-50%); background: #18273a; color: #fff; padding: 10px 16px; border-radius: 20px; font-size: 14px; z-index: 20; }
.hint { font-size: 13px; color: #888; line-height: 1.6; }
.error { color: #c00; font-size: 14px; }
.food-card a { display: block; margin-top: 8px; color: #ff5a5f; }
