@charset "utf-8";
/**
 * 게시판 글쓰기·댓글 — Whick 다크 입력 (default.css / 에디터 흰 배경 덮어쓰기)
 */

body.whick-body #bo_w .whick-bbs-write__label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--whick-muted, #9aa3af);
}

body.whick-body #bo_w .frm_input,
body.whick-body #bo_w .full_input,
body.whick-body #bo_w .half_input,
body.whick-body #bo_w select,
body.whick-body #bo_w textarea,
body.whick-body #bo_w input[type="text"],
body.whick-body #bo_w input[type="password"],
body.whick-body #bo_w input[type="email"],
body.whick-body #bo_w .frm_file,
body.whick-body #bo_w .wr_content textarea,
body.whick-body #bo_vc_w textarea,
body.whick-body #bo_vc_w .frm_input,
body.whick-body #bo_vc_w input[type="text"],
body.whick-body #bo_vc_w input[type="password"],
body.whick-body #fviewcomment textarea,
body.whick-body #fviewcomment .frm_input,
body.whick-body .wr_content textarea,
body.whick-body .tbl_frm01 textarea,
body.whick-body .form_01 textarea {
  background: var(--whick-surface-2, #2a2f36) !important;
  color: var(--whick-heading, #e8ecf0) !important;
  border: 1px solid #525c6a !important;
  -webkit-text-fill-color: var(--whick-heading, #e8ecf0);
}

body.whick-body #bo_w .frm_input:focus,
body.whick-body #bo_w select:focus,
body.whick-body #bo_w textarea:focus {
  border-color: #6b7a8c !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(69, 217, 150, 0.15);
}

body.whick-body #bo_w .frm_input::placeholder,
body.whick-body #bo_w textarea::placeholder,
body.whick-body #bo_vc_w textarea::placeholder,
body.whick-body #bo_vc_w .frm_input::placeholder {
  color: var(--whick-muted, #7a828e) !important;
  opacity: 1;
}

body.whick-body #bo_w select option {
  background: var(--whick-surface, #22262c);
  color: var(--whick-text, #b8bec7);
}

/* 스마트에디터2 — 툴바는 유지, 입력 영역만 다크 */
body.whick-body #bo_w .bo_v_option {
  color: var(--whick-text, #b8bec7);
}

body.whick-body #smart_editor2 {
  background: transparent !important;
}
body.whick-body #smart_editor2 #smart_editor2_content {
  border: none !important;
  background: var(--whick-bg-soft, #1c1f24) !important;
}
body.whick-body #smart_editor2 .se2_input_area {
  background: var(--whick-bg-soft, #1c1f24) !important;
}
body.whick-body #smart_editor2 .se2_input_syntax,
body.whick-body #smart_editor2 textarea.input_ty1 {
  background: var(--whick-bg-soft, #1c1f24) !important;
  color: var(--whick-text, #b8bec7) !important;
}
body.whick-body #smart_editor2 .se2_conversion_mode {
  border-top-color: var(--whick-border, #353b45) !important;
  background: var(--whick-surface-2, #2a2f36) !important;
}

/* CHEditor */
body.whick-body .cheditor-editarea,
body.whick-body .cheditor-container iframe {
  background: var(--whick-bg-soft, #1c1f24) !important;
}

/* CKEditor */
body.whick-body .cke_chrome {
  border-color: var(--whick-border, #353b45) !important;
}
body.whick-body .cke_top,
body.whick-body .cke_bottom {
  background: var(--whick-surface-2, #2a2f36) !important;
  border-color: var(--whick-border, #353b45) !important;
}
body.whick-body .cke_wysiwyg_div,
body.whick-body .cke_wysiwyg_frame {
  background: var(--whick-bg-soft, #1c1f24) !important;
}

/* 모바일 글쓰기 — 제목·에디터 폭 */
@media (max-width: 768px) {
  body.whick-body #bo_w #wr_subject,
  body.whick-body #bo_w .bo_w_tit .frm_input {
    min-height: 1.64rem;
    padding-top: 0.44rem;
    padding-bottom: 0.44rem;
    line-height: 1.35;
    font-size: 0.76rem;
  }

  body.whick-body #bo_w #smart_editor2,
  body.whick-body #bo_w #smart_editor2 #smart_editor2_content {
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.whick-body #bo_w #smart_editor2 .se2_text_tool {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.whick-body #bo_w #smart_editor2 .se2_input_area,
  body.whick-body #bo_w #smart_editor2 .se2_input_syntax {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ── 글쓰기 폼 · SmartEditor — 흰/밝은 테두리 제거 ── */
body.whick-body #bo_w.whick-bbs-write,
body.whick-body #bo_w .wr_content {
  border: none !important;
  box-shadow: none !important;
}

body.whick-body #bo_w #smart_editor2,
body.whick-body #bo_w #smart_editor2 #smart_editor2_content {
  border: none !important;
  box-shadow: none !important;
  background: var(--whick-bg-soft, #1c1f24) !important;
}

body.whick-body #bo_w #smart_editor2 #smart_editor2_content {
  border: 1px solid var(--whick-border, #353b45) !important;
}

body.whick-body #bo_w #smart_editor2 .se2_text_tool {
  border: none !important;
  border-bottom: 1px solid var(--whick-border, #353b45) !important;
  background: var(--whick-surface-2, #2a2f36) !important;
  background-image: none !important;
}

body.whick-body #bo_w #smart_editor2 .se2_text_tool .se2_multy {
  border-left-color: var(--whick-border, #353b45) !important;
}

body.whick-body #bo_w #smart_editor2 .se2_text_tool button span.se2_mntxt {
  color: var(--whick-text, #b8bec7) !important;
}

body.whick-body #bo_w #smart_editor2 .se2_text_tool .se2_multy .hover .ico_btn,
body.whick-body #bo_w #smart_editor2 .se2_text_tool .se2_multy .se2_mn.hover {
  background: var(--whick-surface, #22262c) !important;
}

body.whick-body #bo_w #smart_editor2 .se2_inputarea_controller span {
  color: var(--whick-muted, #7a828e) !important;
  background-image: none !important;
}

body.whick-body #bo_w #smart_editor2 .se2_conversion_mode {
  border: none !important;
  border-top: 1px solid var(--whick-border, #353b45) !important;
  background: var(--whick-surface-2, #2a2f36) !important;
  background-image: none !important;
}

body.whick-body #bo_w #smart_editor2 .se2_input_area,
body.whick-body #bo_w #smart_editor2 .se2_input_wysiwyg,
body.whick-body #bo_w #smart_editor2 .se2_input_syntax,
body.whick-body #bo_w #smart_editor2 .husky_seditor_editing_area_container {
  border: none !important;
  background: var(--whick-bg-soft, #1c1f24) !important;
}

body.whick-body #bo_w #smart_editor2 .se2_sub_text_tool {
  border-color: var(--whick-border, #353b45) !important;
  background: var(--whick-surface-2, #2a2f36) !important;
}

body.whick-body #bo_w #smart_editor2 .se2_layer,
body.whick-body #bo_w #smart_editor2 .se2_layer .se2_in_layer {
  border-color: var(--whick-border, #454d58) !important;
  background: var(--whick-surface-2, #2a2f36) !important;
}

body.whick-body #bo_w #smart_editor2 .input_ty1,
body.whick-body #bo_w #smart_editor2 textarea.input_ty1,
body.whick-body #bo_w #smart_editor2 .se2_palette .se2_selected_color {
  border-color: var(--whick-border, #454d58) !important;
  background: var(--whick-bg-soft, #1c1f24) !important;
  color: var(--whick-text, #b8bec7) !important;
}

body.whick-body #bo_w #smart_editor2 iframe,
body.whick-body #bo_w #smart_editor2 .se2_input_wysiwyg iframe {
  border: none !important;
}

body.whick-body #bo_w .frm_input,
body.whick-body #bo_w .full_input,
body.whick-body #bo_w .half_input,
body.whick-body #bo_w select,
body.whick-body #bo_w textarea,
body.whick-body #bo_w input[type="text"],
body.whick-body #bo_w input[type="password"],
body.whick-body #bo_w input[type="email"],
body.whick-body #bo_w .frm_file {
  border-color: var(--whick-border, #353b45) !important;
  outline: none;
  box-shadow: none;
}

body.whick-body #bo_w .frm_input:focus,
body.whick-body #bo_w select:focus,
body.whick-body #bo_w textarea:focus {
  border-color: #4a5868 !important;
  box-shadow: 0 0 0 2px rgba(62, 207, 142, 0.12) !important;
}

body.whick-body #bo_w .bo_w_flie .file_wr,
body.whick-body #bo_w .bo_w_flie .lb_icon {
  border-color: var(--whick-border, #353b45) !important;
}

body.whick-body #bo_w #autosave_pop {
  border-color: var(--whick-border, #454d58) !important;
}
