/* 念念生活助手 —— 找搭子 / 互助服务 / 共享儿女 / 我的发布
 * 命名空间 .hc-scope，全部样式收敛在此，绝不污染整站其它模块。
 * 配色沿用整站暖色调（paper #FAF6EE / ink #2B2B2B / accent #E88A7A）。 */

.hc-scope {
  --hc-paper: #FAF6EE;
  --hc-ink: #2B2B2B;
  --hc-ink-soft: #6B6B6B;
  --hc-ink-faint: #A8A39A;
  --hc-accent: #E88A7A;
  --hc-accent-2: #7AB3E8;
  --hc-accent-3: #F2C66B;
  --hc-line: #EAE4D7;
  --hc-radius: 16px;
  --hc-shadow: 0 6px 20px rgba(0,0,0,0.08);
  --hc-green: #4CAF80;

  color: var(--hc-ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  padding: 8px 0 24px;
}

/* 头部 */
.hc-head { margin: 4px 0 18px; }
.hc-title { font-size: 22px; font-weight: 800; letter-spacing: .5px; }
.hc-sub { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--hc-ink-soft); max-width: 760px; }

/* 双栏布局：左表单 右广场 */
.hc-grid { display: grid; grid-template-columns: 360px 1fr; gap: 18px; align-items: start; }
@media (max-width: 880px) { .hc-grid { grid-template-columns: 1fr; } }

.hc-panel {
  background: #fff;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
  padding: 18px;
}
.hc-modtitle { font-size: 16px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hc-hint { font-size: 12px; font-weight: 400; color: var(--hc-ink-faint); margin-left: 4px; }

/* 表单 */
.hc-form { display: flex; flex-direction: column; gap: 12px; }
.hc-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--hc-ink-soft); }
.hc-form input,
.hc-form select,
.hc-form textarea {
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  color: var(--hc-ink);
  background: #FBF8F1;
  border: 1px solid var(--hc-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.hc-form input:focus,
.hc-form select:focus,
.hc-form textarea:focus {
  border-color: var(--hc-accent);
  box-shadow: 0 0 0 3px rgba(232,138,122,0.15);
  background: #fff;
}
.hc-form textarea { resize: vertical; line-height: 1.6; }
.hc-form input::placeholder,
.hc-form textarea::placeholder { color: #C9C2B5; }
.hc-anon { flex-direction: row !important; align-items: center; gap: 8px !important; font-size: 13px !important; color: var(--hc-ink-soft) !important; }
.hc-anon input { width: auto !important; }

.hc-btn {
  margin-top: 4px;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--hc-accent);
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.hc-btn:hover { background: #DD7868; }
.hc-btn:active { transform: translateY(1px); }

/* 列表 / 卡片 */
.hc-list { display: flex; flex-direction: column; gap: 12px; min-height: 60px; }
.hc-card {
  background: #fff;
  border: 1px solid var(--hc-line);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.hc-cardtop { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.hc-kind { font-size: 14px; font-weight: 700; color: var(--hc-ink); }
.hc-title2 { font-size: 15px; font-weight: 700; margin: 2px 0 6px; color: var(--hc-ink); }
.hc-content { font-size: 14px; line-height: 1.7; color: var(--hc-ink-soft); white-space: pre-wrap; word-break: break-word; }
.hc-meta { font-size: 12px; color: var(--hc-ink-faint); margin-top: 8px; line-height: 1.6; }

/* 状态徽章 */
.hc-badge {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.hc-badge.s1 { background: rgba(76,175,128,0.16); color: #2f8f5e; }   /* 展示中 */
.hc-badge.s0 { background: rgba(242,198,107,0.28); color: #a9802a; }  /* 待审核 */
.hc-badge.s2 { background: rgba(168,163,154,0.22); color: #6f6a61; }  /* 已下架 */
.hc-badge.s3 { background: rgba(232,138,122,0.20); color: #c75e4c; }  /* 未通过 */

/* 卡片操作 */
.hc-actions { margin-top: 10px; display: flex; gap: 8px; }
.hc-mini {
  border: 1px solid var(--hc-line);
  background: #fff;
  color: var(--hc-ink-soft);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
}
.hc-mini:hover { border-color: var(--hc-accent); color: var(--hc-accent); background: #fff7f5; }

/* 空态 / 登录提示 */
.hc-empty { color: var(--hc-ink-faint); font-size: 14px; text-align: center; padding: 28px 10px; }
.hc-login-tip {
  color: var(--hc-ink-soft); font-size: 14px; text-align: center; padding: 24px 10px;
  background: #FBF8F1; border: 1px dashed var(--hc-line); border-radius: 12px;
}

/* 我的发布 tabs */
.hc-tabs { display: flex; gap: 8px; margin: 6px 0 16px; }
.hc-tab {
  border: 1px solid var(--hc-line);
  background: #fff;
  color: var(--hc-ink-soft);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s;
}
.hc-tab.active { background: var(--hc-accent); color: #fff; border-color: var(--hc-accent); }

/* 共享儿女：长辈友好，字大一点 */
.hc-elder { font-size: 18px; }
.hc-elder .hc-title { font-size: 26px; }
.hc-elder .hc-sub { font-size: 17px; }
.hc-elder .hc-form label { font-size: 16px; }
.hc-elder .hc-form input,
.hc-elder .hc-form select,
.hc-elder .hc-form textarea { font-size: 17px; padding: 14px 14px; }
.hc-elder .hc-btn { font-size: 18px; padding: 16px 18px; }
.hc-elder .hc-kind,
.hc-elder .hc-title2 { font-size: 18px; }
.hc-elder .hc-content { font-size: 17px; }
.hc-elder .hc-meta { font-size: 15px; }
.hc-elder .hc-modtitle { font-size: 19px; }
