/* 익명 게시판. Cards, lists, inputs and tags come from picks.css and native.css; this adds the board's own parts. */
.pick-card .card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pick-card .card-head .pick-title { margin: 0; }
.bd-list li { display: block; padding: 0; }
.bd-item { display: grid; gap: 2px; padding: 10px 12px; color: inherit; }
.bd-item:hover .bd-title { color: var(--accent); text-decoration: underline; }
.bd-title { font-weight: 600; font-size: 15px; }
.bd-excerpt { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-stats { font-size: 12px; color: var(--muted); }
.bd-tag { font-size: 12px; }
[data-skin="github"] .bd-item, [data-skin="jira"] .bd-item, [data-skin="notion"] .bd-item { padding-left: 0; padding-right: 0; }

.bd-text {
  width: 100%; min-height: 40px; padding: 8px 10px; resize: vertical; border: 1px solid var(--line); border-radius: 6px;
  background: var(--bg); color: var(--fg); font: 14px/1.6 var(--font); box-sizing: border-box;
}
.bd-text:focus { outline: 2px solid var(--focus); outline-offset: -1px; }
.bd-photo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 4px; }
.bd-photo .btn { cursor: pointer; }
.bd-preview { display: flex; align-items: flex-end; gap: 10px; margin: 8px 0; }
.bd-preview[hidden] { display: none; }
.bd-preview img { max-width: 220px; max-height: 160px; border-radius: 6px; border: 1px solid var(--line); object-fit: cover; }

.bd-back { margin: 0 0 8px; font-size: 13px; }
.bd-back a { color: var(--accent); }
.bd-meta { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.bd-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.7; }
.bd-image { display: block; margin-top: 12px; }
.bd-image[hidden] { display: none; }
.bd-image img { display: block; max-width: 100%; max-height: 520px; border-radius: 6px; border: 1px solid var(--line); }

.bd-ctitle { margin-top: 22px; }
.bd-comments, .bd-replies { list-style: none; margin: 0; padding: 0; }
.bd-comment { padding: 10px 0; border-top: 1px solid var(--line); }
.bd-replies { margin-top: 8px; padding-left: 18px; border-left: 2px solid var(--line); }
.bd-replies .bd-comment { padding: 8px 0; border-top: 0; }
.bd-chead { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.bd-chead time { font-size: 12px; color: var(--muted); }
.bd-comment.op > .bd-chead b { color: var(--accent); }
.bd-mine { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; }
.bd-ctext { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.6; }
.bd-gone { margin: 4px 0 0; font-size: 13px; color: var(--muted); font-style: italic; }
.bd-cact { display: flex; gap: 10px; margin-top: 4px; }
.bd-cact button { border: 0; background: none; padding: 0; font-size: 12px; color: var(--muted); cursor: pointer; }
.bd-cact button:hover { color: var(--accent); text-decoration: underline; }
.bd-cform { display: flex; gap: 8px; align-items: flex-end; margin-top: 12px; }
.bd-cform .bd-text { flex: 1; }
.bd-rform { margin-top: 8px; }
[data-skin="jira"] .bd-text { border-radius: 3px; border-color: #8590a2; }
[data-skin="notion"] .bd-text { border: 0; border-radius: 4px; background: rgba(242, 241, 238, .6); box-shadow: rgba(15, 15, 15, .1) 0 0 0 1px inset; }
[data-mode="dark"][data-skin="notion"] .bd-text { background: rgba(255, 255, 255, .055); box-shadow: rgba(255, 255, 255, .094) 0 0 0 1px inset; }
[data-skin="figma"] .bd-text { background: #f5f5f5; border-color: transparent; color: #1e1e1e; }
@media (max-width: 600px) { .bd-cform { flex-direction: column; align-items: stretch; } }
#writeForm.dropping { outline: 2px dashed var(--accent); outline-offset: 6px; border-radius: 6px; }

/* 닉네임 공개 next to the submit button */
.bd-cbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.bd-showname { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); cursor: pointer; margin: 4px 0 8px; }
.bd-showname input:disabled + span { cursor: default; }
.bd-showname small a { color: var(--accent); }
.bd-cform { flex-direction: column; align-items: stretch; }
.bd-cbar .btn { margin-left: auto; }
