/* ================================================================
   [pliki 테마] 게시판 스킨 — 보기 / 댓글 / 글쓰기 (레이아웃 공용 CSS는 css/pliki.css)
   ================================================================ */
/* 보기 */
.pk-bv-hd { padding: 6px 0 18px; border-bottom: 1px solid var(--line, #e5e5e5); margin-bottom: 26px; }
.pk-bv-cate { display: inline-block; font-size: 12px; font-weight: 700; color: #767676; margin-bottom: 8px; }
#bo_v_title { font-size: 26px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.35; margin: 0 0 14px; word-break: keep-all; }
.pk-bv-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #767676; }
.pk-bv-meta a { color: #767676; }
.pk-bv-who { display: inline-flex; align-items: center; gap: 8px; }
.pk-bv-who img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.pk-bv-who strong { color: #111; font-weight: 700; }
.pk-bv-tools { margin-left: auto; display: flex; gap: 4px; }
.pk-bv-tools a { padding: 4px 8px; border-radius: 6px; font-size: 12px; color: #555; border: 1px solid var(--line, #e5e5e5); }
.pk-bv-tools a:hover { border-color: #111; color: #111; }
#bo_v_atc { min-height: 120px; }
#bo_v_img { margin-bottom: 20px; }
#bo_v_img img { max-width: 100%; height: auto; border-radius: 12px; }
#bo_v_con { font-size: 15px; line-height: 1.85; color: #222; word-break: break-word; }
#bo_v_con img { max-width: 100%; height: auto; }
#bo_v_con p { margin: 0 0 10px; }
.pk-bv-sign { margin-top: 20px; color: #999; font-size: 12px; }
.pk-bv-share { display: flex; align-items: center; gap: 8px; margin-top: 34px; padding-top: 18px; border-top: 1px dashed var(--line, #e5e5e5); }
.pk-bv-share .sns_wrap, .pk-bv-share #bo_v_sns { display: inline-flex; gap: 6px; }
.pk-bv-gng { margin-left: auto; display: flex; gap: 6px; position: relative; }
.pk-bv-gng b { position: absolute; top: -34px; right: 0; background: #111; color: #fff; font-size: 11px; padding: 6px 10px; border-radius: 6px; display: none; white-space: nowrap; }
.pk-bv-box { margin-top: 18px; background: #f7f7f8; border-radius: 12px; padding: 16px 18px; }
.pk-bv-box h2 { font-size: 12px; font-weight: 700; color: #767676; margin: 0 0 8px; }
.pk-bv-box ul { list-style: none; margin: 0; padding: 0; }
.pk-bv-box li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; padding: 5px 0; }
.pk-bv-box li i { color: #999; }
.pk-bv-box a strong { font-weight: 600; color: #111; }
.pk-bv-box-sub { font-size: 11px; color: #999; }
.pk-bv-nb { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line, #e5e5e5); }
.pk-bv-nb li { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line, #e5e5e5); font-size: 13.5px; }
.pk-bv-nb .nb_tit { flex: 0 0 64px; color: #999; font-size: 12px; }
.pk-bv-nb a { flex: 1; min-width: 0; color: #111; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-bv-nb .nb_date { color: #999; font-size: 12px; }

/* 댓글 */
.cmt_btn { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 34px; padding: 12px 0; border: 0; border-bottom: 1px solid #111; background: none; font-size: 15px; font-weight: 800; cursor: pointer; text-align: left; }
.cmt_btn .total { color: #111; }
.cmt_btn .cmt_more::before { content: '\f107'; font: 16px FontAwesome; color: #999; }
.cmt_btn.cmt_btn_op .cmt_more::before { content: '\f106'; }
#bo_vc { padding: 4px 0 0; }
#bo_vc h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
#bo_vc article { display: flex; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line, #e5e5e5); position: relative; }
#bo_vc article .pf_img img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
#bo_vc article .cm_wrap { flex: 1; min-width: 0; }
#bo_vc article header { font-size: 13px; color: #111; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#bo_vc article header h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
#bo_vc article header .bo_vc_hdinfo { font-size: 11.5px; color: #999; font-weight: 400; }
#bo_vc .cmt_contents { margin-top: 6px; font-size: 14px; line-height: 1.7; color: #333; }
#bo_vc .cmt_contents p { margin: 0; }
#bo_vc .bo_vl_opt { position: relative; }
#bo_vc .btn_cm_opt { width: 28px; height: 28px; border: 0; background: none; color: #999; cursor: pointer; }
#bo_vc .bo_vc_act { display: none; position: absolute; right: 0; top: 30px; z-index: 5; background: #fff; border: 1px solid var(--line, #e5e5e5); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.08); padding: 6px; list-style: none; margin: 0; min-width: 90px; }
#bo_vc .bo_vc_act a { display: block; padding: 7px 12px; font-size: 12.5px; color: #444; border-radius: 6px; }
#bo_vc .bo_vc_act a:hover { background: #f7f7f8; color: #111; }
#bo_vc_empty { padding: 40px 0 !important; text-align: center; color: #767676; font-size: 13px; margin: 0; }
.bo_vc_w #bo_vc_send_sns { display: none; }

/* 댓글 폼 */
#bo_vc_w { margin: 18px 0 0; padding: 20px; background: #f7f7f8; border-radius: 14px; }
#bo_vc_w h2 { font-size: 14px; font-weight: 700; margin: 0 0 10px; }
#bo_vc_w #wr_content { width: 100%; height: 110px; padding: 14px; border: 1px solid #d9d9d9; border-radius: 10px; font-size: 14px; line-height: 1.6; resize: vertical; background: #fff; box-sizing: border-box; }
#bo_vc_w #wr_content:focus { outline: none; border-color: #111; }
#bo_vc_w #char_cnt { display: block; text-align: right; font-size: 12px; color: #767676; font-weight: 400; margin-bottom: 4px; }
#bo_vc_w .bo_vc_w_wr { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
#bo_vc_w .bo_vc_w_info { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; flex: 1; min-width: 0; }
#bo_vc_w .bo_vc_w_info .frm_input { width: 150px; height: 44px; padding: 0 12px; border: 1px solid #d9d9d9; border-radius: 10px; font-size: 14px; background: #fff; }
#bo_vc_w .bo_vc_w_info .frm_input:focus { outline: none; border-color: #111; }
#bo_vc_w .btn_confirm { display: flex; align-items: center; gap: 12px; margin-left: auto; }
#bo_vc_w .secret_cm { font-size: 13px; color: #555; display: inline-flex; align-items: center; gap: 4px; }
#bo_vc_w .secret_cm input { accent-color: #111; width: 15px; height: 15px; position: static !important; opacity: 1 !important; }
#bo_vc_w .secret_cm label { padding-left: 0 !important; cursor: pointer; }
#bo_vc_w .secret_cm label span { display: none; }
#bo_vc_w .btn_submit { height: 44px; padding: 0 22px; border: 0; border-radius: 10px; background: #111; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
#bo_vc .bo_vc_w form { margin-top: 10px; }
#bo_vc .bo_vc_w textarea { width: 100%; height: 90px; padding: 12px; border: 1px solid #d9d9d9; border-radius: 10px; font-size: 13px; box-sizing: border-box; }
#bo_vc .bo_vc_w .btn_submit { height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: #111; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
#bo_vc .bo_vc_w .btn_cancel { height: 36px; padding: 0 12px; border: 1px solid #ddd; border-radius: 8px; background: #fff; font-size: 12px; cursor: pointer; }

/* 캡차 */
#captcha { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
#captcha legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
#captcha_img { height: 44px; border: 1px solid #e5e5e5; border-radius: 8px; }
#captcha button { height: 44px; width: 44px; border: 1px solid #e5e5e5; border-radius: 8px; background: #fff; cursor: pointer; font-size: 0 !important; }
#captcha button span { display: none; }
#captcha_mp3::before, #captcha_reload::before { font-family: FontAwesome; font-size: 14px; color: #555; }
#captcha_mp3::before { content: '\f028'; }
#captcha_reload::before { content: '\f021'; }
#captcha_key { width: 140px !important; height: 44px; padding: 0 12px; border: 1px solid #d9d9d9; border-radius: 10px; font-size: 14px; }
#captcha_info { font-size: 12px; color: #767676; flex-basis: 100%; }

/* 글쓰기 */
#bo_w form { width: 100% !important; max-width: 100%; }
#bo_w .write_div { margin: 12px 0; position: relative; }
#bo_w .bo_v_option { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 6px; list-style: none; padding: 0; }
#bo_w .bo_v_option li { font-size: 13px; color: #444; }
#bo_w .bo_v_option .chk_box input[type="checkbox"] { position: static !important; opacity: 1 !important; width: 16px; height: 16px; margin: 0 5px 0 0; vertical-align: -3px; accent-color: #111; clip: auto; }
#bo_w .bo_v_option .chk_box label { padding-left: 0 !important; cursor: pointer; }
#bo_w .bo_v_option .chk_box label span { display: none; }
#bo_w .frm_input, #bo_w textarea, #bo_w select { width: 100%; max-width: 100%; height: 44px; padding: 0 14px; border: 1px solid #d9d9d9; border-radius: 10px; font-size: 14px; background: #fff; box-sizing: border-box; }
#bo_w textarea { height: 320px; padding: 14px; line-height: 1.7; resize: vertical; }
#bo_w .frm_input:focus, #bo_w textarea:focus, #bo_w select:focus { outline: none; border-color: #111; }
#bo_w .frm_input::placeholder { color: #aaa; }
#bo_w .bo_w_info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#bo_w .bo_w_info .frm_input { margin: 0 !important; width: 100%; }
#bo_w .bo_w_tit .frm_input { padding-right: 150px; }
#bo_w .bo_w_tit #btn_autosave { position: absolute; top: 6px; right: 6px; height: 32px; line-height: 32px; padding: 0 12px; border: 1px solid #e5e5e5; border-radius: 8px; background: #f7f7f8; font-size: 12px; color: #555; cursor: pointer; }
#bo_w #autosave_pop { position: absolute; top: 46px; right: 0; z-index: 20; background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.1); padding: 14px; width: 320px; display: none; }
#bo_w #autosave_pop strong { display: block; font-size: 13px; margin-bottom: 8px; }
#bo_w #autosave_pop ul { list-style: none; margin: 0; padding: 0; max-height: 200px; overflow: auto; font-size: 12px; }
#bo_w #autosave_pop li { padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
#bo_w #autosave_pop .autosave_close { margin-top: 8px; height: 30px; padding: 0 12px; border: 1px solid #ddd; border-radius: 6px; background: #fff; font-size: 12px; cursor: pointer; }
#bo_w .wr_content.smarteditor2 { max-width: 100%; overflow: hidden; }
#bo_w .wr_content.smarteditor2 iframe { background: #fff; }
#bo_w #char_count_desc { font-size: 12px; color: #767676; margin: 0 0 6px; }
#bo_w #char_count_wrap { font-size: 12px; color: #767676; text-align: right; margin-top: 4px; }
#bo_w .bo_w_link label { position: absolute; top: 0; left: 0; height: 44px; line-height: 44px; width: 44px; text-align: center; color: #aaa; font-size: 15px; }
#bo_w .bo_w_link .frm_input { padding-left: 46px; }
#bo_w .bo_w_flie .file_wr { height: 44px; border: 1px solid #d9d9d9; border-radius: 10px; display: flex; align-items: center; overflow: hidden; margin: 0; }
#bo_w .bo_w_flie .lb_icon { height: 44px; line-height: 44px; width: 44px; text-align: center; color: #aaa; font-size: 15px; flex: 0 0 44px; border-right: 1px solid #eee; }
#bo_w .bo_w_flie .frm_file { padding: 0 10px; margin: 0; font-size: 13px; color: #555; flex: 1; min-width: 0; }
#bo_w .bo_w_flie .frm_input { margin: 6px 0 0; }
#bo_w .bo_w_flie .file_del { position: absolute; top: 12px; right: 12px; font-size: 12px; color: #767676; }
#bo_w .btn_confirm { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line, #e5e5e5); }
#bo_w .btn_confirm .btn_submit, #bo_w .btn_confirm .btn_cancel { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 26px; border-radius: 10px; font-size: 14px; font-weight: 700; border: 1px solid #111; background: #fff; color: #111; cursor: pointer; }
#bo_w .btn_confirm .btn_submit { background: #111; color: #fff; }
#bo_w .btn_confirm .btn_submit:hover { opacity: .9; }

/* 반응형 */
@media (max-width: 1024px) {
    .pk-cs { grid-template-columns: 1fr; gap: 0; padding: 20px 14px 50px; }
    .pk-cs-side { position: static; margin-bottom: 18px; max-width: 100%; overflow: hidden; }
    .pk-cs-side-tit { font-size: 20px; margin-bottom: 10px; }
    .pk-cs-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px 4px; }
    .pk-cs-nav::-webkit-scrollbar { display: none; }
    .pk-cs-nav li { margin: 0; flex: 0 0 auto; }
    .pk-cs-nav a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line, #e5e5e5); font-size: 13px; color: #555; background: #fff; font-weight: 500; }
    .pk-cs-nav li.on a { background: #111; color: #fff; border-color: #111; }
    .pk-cs-info { display: none; }
}
@media (max-width: 768px) {
    .pk-cs-hd h2 { font-size: 19px; }
    .pk-cs-hd { padding-bottom: 12px; margin-bottom: 14px; }
    .pk-cs-total { display: none; }
    .pk-btn-bk, .pk-btn-line { height: 34px; padding: 0 12px; font-size: 12px; }
    .pk-cs-sch select { flex-basis: 84px; padding: 0 8px; font-size: 12px; }
    .pk-bo-link { grid-template-columns: minmax(0, 1fr) 14px; grid-template-rows: auto auto auto; gap: 4px 8px; padding: 14px 2px; }
    .pk-bo-cate { grid-column: 1; font-size: 11px; }
    .pk-bo-row.is-notice .pk-bo-cate { width: 36px; padding: 2px 0; }
    .pk-bo-subj { grid-column: 1; font-size: 14px; flex-wrap: wrap; }
    .pk-bo-subj-txt { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .pk-bo-meta { grid-column: 1; gap: 10px; font-size: 11.5px; }
    .pk-bo-arrow { grid-column: 2; grid-row: 1 / span 3; }
    #bo_v_title { font-size: 21px; }
    .pk-bv-meta { gap: 10px; font-size: 12px; }
    .pk-bv-tools { margin-left: 0; flex-basis: 100%; }
    #bo_v_con { font-size: 14.5px; }
    .pk-bv-nb li { flex-wrap: wrap; gap: 6px 10px; }
    .pk-bv-nb .nb_tit { flex-basis: 100%; }
    #bo_w .bo_w_info { grid-template-columns: 1fr; }
    #bo_w textarea { height: 240px; }
    #bo_w .btn_confirm .btn_submit, #bo_w .btn_confirm .btn_cancel { flex: 1; }
    #bo_vc_w { padding: 16px; border-radius: 12px; }
    #bo_vc_w .bo_vc_w_info .frm_input { width: calc(50% - 4px); }
    #bo_vc_w .btn_confirm { width: 100%; justify-content: space-between; }
    #bo_vc_w .btn_submit { flex: 1; margin-left: 12px; }
    .pk-cs-ft a { flex: 1; justify-content: center; }
}
