/* 우리 동네 이야기 (voices.html) — 2026-11-14 */
.vc-promise { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; color: var(--text-sub); font-size: 15px; }
.vc-promise li { display: flex; align-items: center; gap: 8px; }
.vc-promise b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; }
.vc-promise strong { color: var(--text); }

.vc-offline { margin-bottom: 18px; padding: 12px 14px; background: #FFF8E6; border: 1px solid #F3D88E; border-radius: 10px; color: #6B4A00; font-size: 14px; }
.vc-offline .draft-badge { display: inline-block !important; margin-right: 6px; }

.vc-ask { display: grid; grid-template-columns: 150px 1fr auto; gap: 8px; padding: 8px; background: #fff; border: 2px solid var(--brand); border-radius: 16px; }
.vc-ask select, .vc-ask input { font: inherit; font-size: 16px; padding: 12px 14px; border: 0; border-radius: 10px; background: var(--brand-soft); min-width: 0; }
.vc-ask input { background: #fff; }
.vc-ask select:focus, .vc-ask input:focus { outline: 2px solid var(--brand); }
.vc-ask .btn { border-radius: 10px; }

.vc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 36px 0 14px; }
.vc-city select { font: inherit; font-weight: 700; font-size: 17px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.vc-sort { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.vc-sort button { font: inherit; font-size: 15px; padding: 9px 14px; border: 0; background: #fff; color: var(--text-sub); cursor: pointer; }
.vc-sort button.on { background: var(--text); color: #fff; font-weight: 700; }
.vc-count { margin-left: auto; color: var(--text-sub); font-size: 15px; }

.vc-leader { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 16px; padding: 14px 16px; background: var(--brand-soft); border-radius: 12px; }
.vc-leader-label { font-weight: 700; color: var(--brand-dark); }
.vc-leader a { color: var(--brand-dark); font-weight: 700; }
.vc-person { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; background: #fff; border: 1px solid #F6DCC8; border-radius: 999px; font: inherit; cursor: pointer; text-align: left; }
.vc-person img, .vc-init { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; }
.vc-init { display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; }
.vc-person small { display: block; font-size: 12px; color: var(--text-sub); }
.vc-person strong { font-size: 16px; }

.vc-list { display: grid; gap: 12px; }
.vc-card { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.vc-card.is-focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,114,16,.15); }
.vc-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.vc-date { color: var(--text-sub); font-size: 13px; margin-left: 4px; }
.vc-st { margin-left: auto; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #F1F3F5; color: var(--text-sub); }
.vc-st.done { background: #E7F6EC; color: #1E7B3C; }
.vc-text { margin-top: 10px; font-size: 19px; font-weight: 700; line-height: 1.45; word-break: keep-all; }
.vc-detail { margin-top: 8px; color: var(--text-sub); line-height: 1.7; }
.vc-card-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vc-card-foot button { font: inherit; font-size: 14px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; color: var(--text); }
.vc-card-foot button:hover { border-color: var(--brand); color: var(--brand-dark); }
.vc-emp span { color: #C9CED4; }
.vc-emp.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.vc-emp.on span { color: var(--brand); }
.vc-answers { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.vc-answers[hidden] { display: none; }
.vc-answer { padding: 14px 16px; background: #F7F8FA; border-left: 4px solid var(--brand); border-radius: 8px; line-height: 1.7; }
.vc-answer-who { margin-bottom: 4px; color: var(--text-sub); font-size: 14px; }
.vc-answer-who strong { color: var(--text); font-size: 15px; }
.vc-wait { color: var(--text-sub); font-size: 14px; }
.vc-error { padding: 20px; color: #B42318; }
.vc-more { display: block; margin: 20px auto 0; }

/* 이어서 쓰기 */
.vc-write-sec { padding-bottom: 0; }
.vc-write { padding: 28px; background: #fff; border: 2px solid var(--brand); border-radius: 18px; }
.vc-write-kicker { font-size: 14px; font-weight: 700; color: var(--brand-dark); }
.vc-write-text { margin-top: 6px; font-size: 21px; font-weight: 800; word-break: keep-all; }
.vc-write-state { margin: 6px 0 18px; color: var(--text-sub); font-size: 14px; }
.vc-write form { display: grid; gap: 12px; }
.vc-write label small { color: var(--text-sub); font-weight: 400; font-size: 13px; }
.vc-write textarea, .vc-write input[type=tel] { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; width: 100%; box-sizing: border-box; }
.vc-write textarea:focus, .vc-write input[type=tel]:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(255,114,16,.18); }
.vc-check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.vc-check input { width: 18px; height: 18px; accent-color: var(--brand); }
.vc-phone { display: grid; gap: 10px; padding: 14px; background: #FAFBFC; border-radius: 12px; }
.vc-phone[hidden] { display: none; }
.vc-phone > label { font-weight: 700; }
.vc-write-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-note { font-size: 13px; color: var(--text-sub); }
.hv-apply-terms { padding: 12px 14px; background: #F7F8FA; border-radius: 10px; font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.hv-apply-terms strong { display: block; color: var(--text); margin-bottom: 2px; }
.hv-apply-terms a { color: var(--brand-dark); text-decoration: underline; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 760px) {
  .vc-ask { grid-template-columns: 1fr; }
  .vc-count { margin-left: 0; width: 100%; }
  .vc-write { padding: 20px 16px; }
  .vc-text { font-size: 17px; }
}
.hv-error { margin-top: 12px; color: #B42318; font-weight: 700; }
#write { scroll-margin-top: 90px; }
button.btn-outline { background: #fff; }

.vc-card-foot .vc-sh-kakao { background: #FEE500; border-color: #FEE500; color: #191919; font-weight: 700; }
.vc-card-foot .vc-sh-kakao:hover { border-color: #E6CF00; color: #191919; }
.vc-card-foot .vc-sh-insta { border-color: #E1306C; color: #C13584; font-weight: 700; }
.vc-card-foot .vc-sh-insta:hover { background: #FDF0F5; border-color: #C13584; color: #C13584; }
