/* 커뮤니티 게시판(site/board) — 토큰은 ../assets/site.css 를 그대로 쓴다 */
.bd { background: var(--bg); }
.bd .gnb { color: var(--ink); }
.bd-hero { padding: calc(var(--gnb-h) + 26px) 0 22px; background: linear-gradient(180deg, color-mix(in srgb, var(--pink) 16%, var(--bg)) 0%, var(--bg) 100%); }
.bd-hero .wrap { display: flex; align-items: center; gap: 14px; }
.bd-hero img { width: 64px; height: auto; animation: bob 3s ease-in-out infinite; }
.bd-hero h1 { margin: 0; font-size: clamp(26px, 6.4vw, 38px); font-weight: 400; line-height: 1.15; }
.bd-hero p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.bd-main { padding-bottom: 60px; min-height: 60vh; }
.bd-tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin: 6px 0 14px; }
.bd-tabs a { text-decoration: none; font-family: var(--display); font-size: 19px; padding: 10px 14px; margin-bottom: -2px; border-bottom: 3px solid transparent; color: var(--muted); }
.bd-tabs a[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--pink); }
#who { display: flex; align-items: center; gap: 6px; }
.who-btn { border: 0; background: var(--surface2); border-radius: 99px; padding: 8px 14px; font-weight: 800; font-size: 14px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-btn.pri { background: var(--pink); color: #fff; }

.bar { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.search { flex: 1; display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 12px; height: 44px; min-width: 0; }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16px; color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 14px; height: 44px; padding: 0 16px; font-weight: 800; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.btn.pri { background: var(--pink); border-color: var(--pink); color: #fff; box-shadow: 0 3px 0 color-mix(in srgb, var(--pink) 70%, #000); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 11px; }
.btn.ghost { background: none; border-color: transparent; color: var(--muted); }
.btn.danger { color: #e0446f; }
.btn:disabled { opacity: .5; cursor: default; }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.list a { display: block; text-decoration: none; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: transform .15s, box-shadow .15s; }
.list a:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.list .tt { font-weight: 800; font-size: 15.5px; display: flex; gap: 6px; align-items: center; min-width: 0; }
.list .tt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list .tt .cm { flex: none; color: var(--pink); font-size: 13px; }
.list .meta { display: flex; gap: 10px; color: var(--muted); font-size: 12.5px; margin-top: 4px; flex-wrap: wrap; }
.list .meta svg { width: 13px; height: 13px; vertical-align: -2px; }
.pin { flex: none; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--pink); color: #fff; }
.hid { flex: none; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: #888; color: #fff; }
.empty-b { text-align: center; color: var(--muted); padding: 50px 16px; background: var(--surface); border: 1px dashed var(--line); border-radius: 18px; }
.empty-b img { width: 90px; margin: 0 auto 10px; opacity: .9; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }

.post { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px 18px; }
.post h2 { margin: 0; font-size: 21px; line-height: 1.4; word-break: break-word; }
.post .meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin: 8px 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.post .meta b { color: var(--ink); }
.post .body { white-space: pre-wrap; word-break: break-word; font-size: 16px; line-height: 1.75; min-height: 60px; }
.post .acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; justify-content: flex-end; }
.cmts { margin-top: 16px; }
.cmts h3 { font-size: 16px; margin: 0 0 8px; }
.cmt { padding: 12px 2px; border-bottom: 1px solid var(--line); }
.cmt .h { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.cmt .h b { color: var(--ink); }
.cmt .h .sp { flex: 1; }
.cmt p { margin: 4px 0 0; white-space: pre-wrap; word-break: break-word; }
.cmt.del p { color: var(--muted); font-style: italic; }
.cform { display: flex; gap: 8px; margin-top: 12px; align-items: flex-end; }
.cform textarea { flex: 1; min-height: 48px; max-height: 160px; }
.note { font-size: 13px; color: var(--muted); background: var(--surface2); border-radius: 14px; padding: 12px 14px; margin-top: 12px; }
.note a { color: var(--pink); font-weight: 800; }

.fm { display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.fm label { font-weight: 800; font-size: 14px; }
.fm .cnt { font-size: 12px; color: var(--muted); text-align: right; margin-top: -6px; }
input.tx, textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 16px; outline: none; }
input.tx:focus, textarea:focus { border-color: var(--pink); }
textarea { resize: vertical; min-height: 220px; line-height: 1.7; }
.fm .row { display: flex; gap: 8px; justify-content: flex-end; }
.err { color: #e0446f; font-weight: 700; font-size: 14px; min-height: 20px; margin: 0; }

.bd-dlg { border: 0; border-radius: 24px; padding: 0; width: min(420px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.bd-dlg::backdrop { background: rgba(17, 12, 40, .6); backdrop-filter: blur(3px); }
.bd-dlg .in { padding: 22px 20px 18px; display: grid; gap: 10px; }
.bd-dlg h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; }
.bd-dlg p { margin: 0; color: var(--muted); font-size: 14px; }
.social { display: grid; gap: 8px; }
.social button { height: 50px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-weight: 800; font-size: 15.5px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.social .kakao { background: #fee500; color: #191600; border-color: #fee500; }
.social .naver { background: #03c75a; color: #fff; border-color: #03c75a; }
.social .apple { background: #111; color: #fff; border-color: #111; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.chk { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.chk input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--pink); flex: none; }
.reasons { display: grid; gap: 6px; }
.reasons label { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.reasons input { accent-color: var(--pink); width: 18px; height: 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 14.5px; z-index: 80; transition: transform .3s; max-width: calc(100vw - 32px); text-align: center; }
.toast.on { transform: translate(-50%, 0); }
@media (max-width: 999px) { .bd .gnb nav { display: none; } }

/* 이메일 가입·재설정(26.10.11) */
.links { display: flex; justify-content: center; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; }
.links .lk { background: none; border: 0; padding: 6px 2px; color: var(--ink); font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hint { margin: -2px 2px 2px; font-size: 12.5px; color: var(--muted); }
.hint.bad { color: #e0446f; font-weight: 700; }
.hint.good { color: #1fae6a; font-weight: 700; }
