/* 📎 게시판 첨부파일 */
.bf-tool{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
.bf-tool .bf-pick{cursor:pointer}
.bf-tool .bf-allow{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;opacity:.85;cursor:pointer}
.bf-tool .bf-status{font-size:12px;opacity:.8;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bf-card{margin:10px 0;border:1px solid rgba(155,140,255,.35);border-radius:14px;background:rgba(155,140,255,.08);overflow:hidden;max-width:720px}
.bf-head{display:flex;align-items:center;gap:12px;padding:12px 14px}
.bf-ico{font-size:26px;line-height:1}
.bf-name{flex:1;min-width:0;display:grid;gap:2px}
.bf-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bf-name small{opacity:.7;font-size:12px}
.bf-badge{font-weight:800}
.bf-nodl .bf-badge{color:#ff9db5}
.bf-btns{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bf-btns button,.bf-btns .bf-dl{padding:7px 12px;border-radius:10px;border:1px solid rgba(155,140,255,.45);background:rgba(155,140,255,.18);color:inherit;font-weight:800;font-size:13px;text-decoration:none;cursor:pointer}
.bf-own{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;opacity:.85;cursor:pointer}
.bf-body{padding:0 14px 14px}
.bf-body img,.bf-body video{display:block;max-width:100%;max-height:70vh;border-radius:10px}
.bf-body audio{width:100%}
.bf-nodl .bf-body img{-webkit-user-drag:none;user-select:none}
.bf-locked{opacity:.7}
.bf-modal{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.7);display:grid;place-items:center;padding:16px}
.bf-sheet{width:min(1000px,100%);height:min(90vh,1200px);display:flex;flex-direction:column;background:#15131f;border-radius:14px;overflow:hidden}
.bf-sheet header{display:flex;align-items:center;gap:10px;padding:10px 14px;color:#fff}
.bf-sheet header b{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bf-sheet header button{padding:6px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;font-weight:800;cursor:pointer}
.bf-sheet iframe{flex:1;border:0;background:#fff}
.write-toolbar .bf-allow input[type=checkbox]{display:inline-block!important;position:static!important;opacity:1!important;width:15px!important;height:15px!important;margin:0;appearance:auto;-webkit-appearance:checkbox;accent-color:#9b8cff;clip:auto!important;pointer-events:auto}

.bf-run{background:rgba(255,157,181,.22)!important;border-color:rgba(255,157,181,.6)!important}
.bf-runmodal{padding:0;z-index:2147483000}
.bf-runmodal .bf-sheet{width:100vw;height:100dvh;max-width:none;border-radius:0}
@media (min-width:900px){.bf-runmodal{padding:24px}.bf-runmodal .bf-sheet{width:min(1600px,100%);height:min(94vh,1400px);border-radius:14px}}
@media (max-width:640px){.bf-head{flex-wrap:wrap}.bf-btns{width:100%;justify-content:flex-end}}
