/* 그누보드 공통 CSS에서 필요한 부분만 본문에 적용해 원본 레이아웃과 분리합니다. */
.nv-site .nv-main { color:#e5e7eb; }
.nv-site .nv-main *, .nv-site .nv-main *::before, .nv-site .nv-main *::after { box-sizing:border-box; }
.nv-site .nv-main form, .nv-site .nv-main fieldset { margin:0; padding:0; border:0; min-width:0; }
.nv-site .nv-main input, .nv-site .nv-main button, .nv-site .nv-main select, .nv-site .nv-main textarea { font:inherit; }
.nv-site .nv-main .frm_input, .nv-site .nv-main select, .nv-site .nv-main textarea:not(.cke_source) { min-height:44px; border:1px solid #3c3d43; border-radius:7px; padding:10px 12px; background:#232429; color:#f3f4f6; box-shadow:none; }
.nv-site .nv-main input::placeholder, .nv-site .nv-main textarea::placeholder { color:#92949c; opacity:1; }
.nv-site .nv-main .full_input { width:100%; }
.nv-site .nv-main .half_input { width:49.5%; }
.nv-site .nv-main textarea { resize:vertical; }
.nv-site .nv-main input:focus, .nv-site .nv-main textarea:focus, .nv-site .nv-main select:focus { border-color:#ffd400; outline:2px solid #a7fd0b40; outline-offset:1px; }
.nv-site .nv-main input[type="checkbox"], .nv-site .nv-main input[type="radio"] { appearance:auto; position:static; opacity:1; width:17px; height:17px; min-height:0; padding:0; margin:0 6px 0 0; accent-color:#ffd400; vertical-align:middle; }
.nv-site .nv-main .chk_box, .nv-site .nv-main .fregister_agree { color:#d1d5db; }
.nv-site .nv-main .chk_box input + label, .nv-site .nv-main .fregister_agree input + label { position:static; display:inline; padding:0; color:#d1d5db; cursor:pointer; }
.nv-site .nv-main .chk_box input + label span, .nv-site .nv-main .fregister_agree input + label span { display:none; }
.nv-site .nv-main .btn, .nv-site .nv-main .btn_frmline, .nv-site .nv-main .btn_submit, .nv-site .nv-main .btn_cancel, .nv-site .nv-main .btn_close { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:40px; padding:9px 15px; border:1px solid #42434a; border-radius:7px; background:#28292e; color:#e5e7eb; line-height:1.35; text-decoration:none; vertical-align:middle; font-weight:500; }
.nv-site .nv-main .btn_submit, .nv-site .nv-main .btn_b02 { background:#ffd400; border-color:#ffd400; color:#10120a; }
.nv-site .nv-main .btn:hover, .nv-site .nv-main .btn_frmline:hover { border-color:#ffd400; }
.nv-site .nv-main .btn_confirm { display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:9px; padding-top:16px; }
.nv-site .nv-main .frm_info { display:block; font-size:12px; line-height:1.6; color:#9ca3af; margin:6px 0 10px; }
.nv-site .nv-main .required { background-image:none; }
.nv-site .nv-main .sv_wrap { position:relative; display:inline-block; }
.nv-site .nv-main .sv_member, .nv-site .nv-main .sv_guest, .nv-site .nv-main .member, .nv-site .nv-main .guest { color:#e5e7eb; }
.nv-site .nv-main .sv { display:none; position:absolute; z-index:100; left:0; top:100%; min-width:130px; padding:5px; border:1px solid #42434a; border-radius:7px; background:#24252b; box-shadow:0 8px 20px #0008; }
.nv-site .nv-main .sv.sv_on { display:block; }
.nv-site .nv-main .sv a { display:block; padding:7px 10px; color:#ddd; white-space:nowrap; }
.nv-site .nv-main .sv a:hover { color:#ffd400; background:#333; }
/* 상세의 메뉴는 권한별 실제 주소를 가진 텍스트 버튼으로 표시합니다. */
.nv-site .nv-main .nv-post-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px; clear:both; padding:16px 0; margin:0; }
.nv-site .nv-main .nv-action { display:inline-flex; align-items:center; justify-content:center; min-height:39px; padding:8px 14px; color:#e5e7eb; background:#292a2f; border:1px solid #42434a; border-radius:7px; font-size:14px; font-weight:500; text-decoration:none; line-height:1.4; }
.nv-site .nv-main .nv-action:hover { border-color:#ffd400; color:#ffd400; }
.nv-site .nv-main .nv-action-primary { background:#ffd400; border-color:#ffd400; color:#15180d; }
.nv-site .nv-main .nv-action-primary:hover { background:#ffd400; color:#15180d; }
.nv-site .nv-main .nv-action-danger { color:#fca5a5; }
.nv-site .nv-main #bo_v_info { display:flex; flex-direction:column; margin:0 0 18px; padding:0 0 0; border-bottom:1px solid #34353b; color:#a2a5ae; }
.nv-site .nv-main #bo_v_info .profile_info { display:flex; align-items:center; gap:12px; float:none; padding:8px 0; }
.nv-site .nv-main #bo_v_info .profile_info_ct { padding:0; float:none; font-size:13px; line-height:1.8; }
.nv-site .nv-main #bo_v_info .profile_info_ct strong { font-weight:400; margin-right:9px; color:#a2a5ae; }
.nv-site .nv-main #bo_v_info .pf_img { float:none; flex-shrink:0; }
.nv-site .nv-main #bo_v_info .pf_img img { display:block; width:40px; height:40px; border-radius:50%; }
.nv-site .nv-main #bo_v_title .bo_v_cate { display:inline-block; padding:3px 9px; margin:0 8px 10px 0; border-radius:5px; background:#a7fd0b1f; color:#ffd400; font-size:12px; font-weight:500; }
.nv-site .nv-main #bo_v_title .bo_v_tit { display:block; font-size:24px; line-height:1.5; word-break:break-word; }
.nv-site .nv-main #bo_v_share { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin:0 0 16px; }

/* Keep the bookmark label intact and override the board skin's light-theme colors. */
.nv-site .nv-main #bo_v_share > a.btn_b03 {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    width:auto;
    min-height:40px;
    height:auto;
    padding:8px 12px;
    line-height:1.25;
    white-space:nowrap;
    word-break:keep-all;
    color:#e5e7eb;
    background:#27292f;
    border-color:#4b4e57;
}
.nv-site .nv-main #bo_v_share > a.btn_b03 i { flex:none; margin:0; color:inherit; }
.nv-site .nv-main #bo_v_share > a.btn_b03:hover,
.nv-site .nv-main #bo_v_share > a.btn_b03:focus-visible { color:#fff; background:#363943; }
.nv-site .nv-main #bo_v_info .sv_member,
.nv-site .nv-main #bo_v_info .sv_guest,
.nv-site .nv-main #bo_v_info .member,
.nv-site .nv-main #bo_v_info .guest { color:#e5e7eb; }

.nv-site .nv-main #bo_v_con { min-height:160px; margin:0; padding:12px 0 24px; overflow-wrap:anywhere; }
.nv-site .nv-main #bo_v_file, .nv-site .nv-main #bo_v_link { margin:16px 0; padding:14px; border:1px solid #34353b; border-radius:7px; background:#202126; color:#ddd; }
.nv-site .nv-main #bo_v_file ul, .nv-site .nv-main #bo_v_link ul, .nv-site .nv-main .bo_v_nb { list-style:none; margin:0; padding:0; }
.nv-site .nv-main #bo_v_file li, .nv-site .nv-main #bo_v_link li { padding:8px 0; }
.nv-site .nv-main #bo_v_file a, .nv-site .nv-main #bo_v_link a { color:#d9e4f4; }
.nv-site .nv-main .bo_v_nb li { display:flex; gap:12px; align-items:center; padding:12px 0; border-color:#34353b; }
.nv-site .nv-main .bo_v_nb .nb_tit, .nv-site .nv-main .bo_v_nb .nb_date { color:#9ca3af; flex-shrink:0; font-size:12px; }
.nv-site .nv-main .bo_v_nb a { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; flex:1; }
/* 작성 폼의 세로 높이와 임시 저장 버튼은 기본 테마 CSS에 의존하지 않습니다. */
.nv-site .nv-main #bo_w { margin:0 0 24px; border:1px solid #303137; }
.nv-site .nv-main #bo_w #fwrite { width:100% !important; }
.nv-site .nv-main #bo_w .write_div { position:relative; margin:0 0 16px; }
.nv-site .nv-main #bo_w .bo_w_info { display:flex; flex-wrap:wrap; gap:10px; }
.nv-site .nv-main #bo_w .bo_w_info:empty { display:none; }
.nv-site .nv-main #bo_w .bo_w_info .frm_input { float:none; flex:1 1 220px; margin:0; }
.nv-site .nv-main #bo_w .bo_w_select select { height:44px; background:#232429; color:#f3f4f6; border-color:#3c3d43; padding:0 12px; }
.nv-site .nv-main #bo_w #autosave_wrapper { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin:0; }
.nv-site .nv-main #bo_w .bo_w_tit .frm_input { padding:10px 12px; flex:1 1 260px; width:auto; min-width:0; height:46px; }
.nv-site .nv-main #bo_w #btn_autosave { position:static; flex-shrink:0; height:44px; margin:0; background:#292a2f; color:#c9cbd2; border-color:#42434a; font-size:12px; }
.nv-site .nv-main #autosave_pop { display:none; position:absolute; right:0; top:100%; z-index:90; width:min(440px,100%); padding:15px; border:1px solid #45464d; background:#25262c; color:#eee; border-radius:8px; box-shadow:0 8px 25px #0008; }
.nv-site .nv-main #autosave_pop ul { max-height:240px; overflow:auto; padding:12px 0; }
.nv-site .nv-main #autosave_pop li { padding:8px 0; border-bottom:1px solid #444; }
.nv-site .nv-main #bo_w .bo_v_option { display:flex; flex-wrap:wrap; gap:12px; padding:0; margin:0; list-style:none; }
.nv-site .nv-main #bo_w .bo_v_option li { float:none; display:flex; align-items:center; margin:0; }
.nv-site .nv-main #bo_w textarea#wr_content { display:block; width:100%; min-height:330px; line-height:1.7; }
.nv-site .nv-main #bo_w .bo_w_flie .file_wr { display:flex; align-items:center; flex-wrap:wrap; gap:10px; height:auto; min-height:48px; padding:10px 12px; background:#232429; border:1px solid #3c3d43; color:#ddd; }
.nv-site .nv-main #bo_w .bo_w_flie .lb_icon, .nv-site .nv-main #bo_w .bo_w_link label { position:static; height:auto; width:auto; line-height:1.5; color:#a9abb3; }
.nv-site .nv-main #bo_w .bo_w_flie .frm_file { flex:1; min-width:180px; max-width:100%; margin:0; padding:0; color:#c8cbd2; font-size:13px; }
.nv-site .nv-main #bo_w .bo_w_flie .file_del { position:static; display:block; margin-top:8px; color:#c8cbd2; }
.nv-site .nv-main #bo_w .bo_w_link { display:flex; align-items:center; gap:12px; }
.nv-site .nv-main #bo_w .bo_w_link .frm_input { flex:1; min-width:0; padding-left:12px; }
.nv-site .nv-main #bo_w .btn_confirm { margin-bottom:0; }
.nv-site .nv-main #bo_w .btn_submit { min-width:110px; font-size:14px; }
.nv-site .nv-main .wr_content .cke { width:100%; max-width:100%; }
.nv-site .nv-main .wr_content.smarteditor2 { background:#fff; border-radius:7px; overflow:hidden; }
.nv-site .nv-main .wr_content.smarteditor2 > iframe { display:block; width:100% !important; min-height:360px; background:#fff; }
/* 댓글 작성과 관리도 명시적인 텍스트 버튼을 사용합니다. */
.nv-site .nv-main .cmt_btn { display:flex; align-items:center; width:100%; min-height:45px; padding:12px 0; margin:12px 0 0; text-align:left; border:0; border-top:1px solid #34353b; background:none; color:#eee; font-weight:600; }
.nv-site .nv-main #bo_vc article { border-color:#34353b; padding:16px 0; }
.nv-site .nv-main #bo_vc .cm_wrap { background:transparent; }
.nv-site .nv-main #bo_vc .bo_vc_act { position:static; display:flex !important; gap:7px; float:none; margin:8px 0; padding:0; width:auto; background:none; border:0; box-shadow:none; list-style:none; }
.nv-site .nv-main #bo_vc .bo_vc_act a { display:block; padding:5px 9px; border:1px solid #42434a; border-radius:5px; background:#292a2f; color:#ddd; font-size:12px; }
.nv-site .nv-main #bo_vc .btn_cm_opt { display:none; }
.nv-site .nv-main .bo_vc_w textarea { width:100%; min-height:120px; padding:12px; border:1px solid #3c3d43; background:#232429; color:#eee; }
.nv-site .nv-main .bo_vc_w .btn_submit { min-height:42px; padding:9px 18px; }
.nv-site .nv-main #captcha { max-width:100%; color:#ddd; }
.nv-site .nv-main #captcha #captcha_key { width:110px; height:44px; min-height:44px; padding:8px; color:#f3f4f6; }
@media(max-width:767px) {
    .nv-site .nv-main .half_input { width:100%; }
    .nv-site .nv-main #bo_v_title .bo_v_tit { font-size:21px; }
    .nv-site .nv-main .nv-post-actions { justify-content:flex-start; gap:6px; }
    .nv-site .nv-main .nv-action { min-height:38px; padding:7px 11px; font-size:13px; }
    .nv-site .nv-main #bo_w .bo_w_tit .frm_input { width:100%; flex-basis:100%; }
    .nv-site .nv-main #bo_w #btn_autosave { margin-left:auto; }
    .nv-site .nv-main #bo_w .btn_confirm .btn { flex:1; }
    .nv-site .nv-main #bo_v_info .profile_info_ct { font-size:12px; }
    .nv-site .nv-main .bo_v_nb .nb_date { display:none; }
}

/* 에디터 단축키 안내는 본문 입력칸 위의 작은 보조 버튼으로 정리합니다. */
.nv-site .nv-main .cke_sc { display:flex; justify-content:flex-end; position:relative; background:#191919; padding:0 0 7px; }
.nv-site .nv-main .btn_cke_sc { padding:5px 9px; border:1px solid #44454c; border-radius:5px; background:#292a2f; color:#bfc2ca; font-size:12px; }
.nv-site .nv-main .cke_sc_def { position:absolute; z-index:100; top:100%; right:0; max-width:100%; padding:14px; border:1px solid #555; border-radius:7px; background:#fff; color:#222; box-shadow:0 8px 20px #0008; }

.nv-site .nv-main #bo_vc .bo_vl_opt { position:static; display:flex; justify-content:flex-end; float:none; clear:both; }

.nv-site .nv-main #fregister .fregister_agree { position:relative; inset:auto; display:flex; align-items:center; gap:8px; padding:12px 16px; font-size:13px; }
.nv-site .nv-main #fregister #fregister_chkall { justify-content:center; line-height:1.6; min-height:50px; }
.nv-site .nv-main #fregister .btn_confirm .btn_submit, .nv-site .nv-main #fregister .btn_confirm .btn_close { float:none; width:auto; flex:1; margin:0; }
