@charset "utf-8";

/* ============================================================
   스포츠지도자 커뮤니티 - 모바일 게시판 스킨 (접근성 강화판)
   기준 색상: 파란 계열 (#1565c0 계통)
   ============================================================ */

/* ---------- CSS 변수 ---------- */
:root {
  --primary:       #1565c0;
  --primary-dark:  #0d47a1;
  --primary-light: #e3eeff;
  --accent:        #ff6f00;
  --accent-light:  #fff3e0;
  --success:       #00897b;
  --danger:        #e53935;
  --text:          #1a1a2e;
  --text-sub:      #5f6368;
  --border:        #dde3ec;
  --bg:            #f4f6fa;
  --white:         #ffffff;
  --radius:        12px;
  --radius-sm:     8px;
  --touch-min:     48px;   /* 최소 터치 타겟 */
  --shadow:        0 2px 10px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.12);
}

/* ============================================================
   게시판 공통 기본
   ============================================================ */

/* 페이지 배경 */
#bo_list,
#bo_v,
#bo_w,
#bo_vc {
  background: var(--bg);
  font-size: 15px;
  color: var(--text);
}

/* ============================================================
   상단 버튼 바 (글쓰기 / 공유 등)
   ============================================================ */
.btn_top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 14px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  margin: 0;
  list-style: none;
}

.btn_top li { list-style: none; }

/* 공통 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.95); }

.btn_b01 { background: var(--primary); color: var(--white) !important; }
.btn_b02 { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.btn_b03 { background: var(--bg); color: var(--text-sub); border: 1px solid var(--border); }
.btn_admin { background: #fce4ec; color: var(--danger) !important; }

/* 글쓰기 고정 버튼 */
.fix_btn.write_btn {
  position: fixed;
  bottom: 24px;
  right: 18px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white) !important;
  box-shadow: var(--shadow-md);
  font-size: 1.3rem;
  min-width: unset;
  padding: 0;
}

/* ============================================================
   게시판 목록
   ============================================================ */
#bo_list {
  padding: 0;
}

/* 카테고리 탭 */
#bo_cate {
  background: var(--white);
  border-bottom: 2px solid var(--primary);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
#bo_cate h2 { width:0; height:0; font-size:0; overflow:hidden; }
#bo_cate ul {
  display: flex;
  flex-wrap: nowrap;
  padding: 0 6px;
  margin: 0;
  list-style: none;
  gap: 0;
}
#bo_cate li { flex-shrink: 0; }
#bo_cate a {
  display: block;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-sub);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  min-height: var(--touch-min);
  line-height: 1;
  display: flex;
  align-items: center;
}
#bo_cate #bo_cate_on { color: var(--primary); border-bottom-color: var(--primary); }
#bo_cate #bo_cate_on::after { display: none; }

/* 전체선택 체크박스 */
.chk_all { margin: 10px 14px; }
.all_chk.chk_box input[type="checkbox"] + label span { top: 0; left: 0; }

/* 목록 ul */
.list_01 ul {
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

/* 목록 아이템 */
#bo_list li {
  background: var(--white);
  margin: 0 12px 8px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}
#bo_list li:active { box-shadow: 0 1px 4px rgba(0,0,0,0.08); }

/* 공지 아이템 */
#bo_list li.bo_notice {
  background: #fffde7;
  border-left: 4px solid #f9a825;
}

/* 공지 뱃지 */
.notice_icon {
  display: inline-block;
  background: #fff3cd;
  color: #e65100;
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 5px;
}

/* 제목 링크 */
.bo_cnt {
  display: block;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 2px;
}
.bo_subject {
  display: block;
  width: 100%;
  padding-bottom: 4px;
  color: var(--text);
  text-decoration: none;
  word-break: break-word;
}
.bo_subject:hover, .bo_subject:focus { color: var(--primary); }

/* 댓글 수 */
.bo_cmt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--danger);
  border-radius: 10px;
  padding: 0 5px;
  font-size: 10px;
  line-height: 16px;
  color: #fff;
  min-width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-left: 3px;
}

/* 아이콘 뱃지 */
.new_icon  { display:inline-block; width:16px; line-height:16px; font-size:10px; color:#1a73e8; background:#e8f0fe; text-align:center; border-radius:3px; font-weight:700; vertical-align:middle; }
.hot_icon  { display:inline-block; width:16px; line-height:16px; font-size:10px; color:#e53935; background:#fce4ec; text-align:center; border-radius:3px; vertical-align:middle; }
.download_icon { display:inline-block; width:16px; line-height:16px; font-size:10px; color:#f57f17; background:#fff8e1; text-align:center; border-radius:3px; vertical-align:middle; }
.link_icon { display:inline-block; width:16px; line-height:16px; font-size:10px; color:#7b1fa2; background:#f3e5f5; text-align:center; border-radius:3px; vertical-align:middle; }

/* 카테고리 링크 */
.bo_cate_link {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary) !important;
  padding: 1px 7px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 11px;
  text-decoration: none;
  margin-right: 3px;
  vertical-align: middle;
}

/* 하단 메타정보 */
.bo_info {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.bo_info::after { display: none; }
.bo_info i { margin-left: 0; }
.bo_info .bo_date { color: var(--text-sub); }

/* 체크박스 */
.selec_chk { position:absolute; width:0; height:0; opacity:0; overflow:hidden; }
.chk_box { position: relative; }
.chk_box input[type="checkbox"] + label {
  padding-left: 26px;
  color: var(--text-sub);
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
}
.chk_box input[type="checkbox"] + label span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 18px;
  height: 18px;
  display: block;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 4px;
}
.chk_box input[type="checkbox"]:checked + label span {
  background: url(./img/chk.png) no-repeat 50% 50% var(--primary);
  border-color: var(--primary);
}

/* 목록 하단 영역 */
.bo_fx { margin-bottom: 5px; padding: 0 14px; }

/* 페이지네이션 */
.pg_wrap, #pagination, .paging {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 16px 14px;
}
.pg_wrap a, .pg_wrap strong,
.paging a, .paging strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-sub);
  background: var(--white);
  border: 1px solid var(--border);
  -webkit-tap-highlight-color: transparent;
}
.pg_wrap strong, .paging strong {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* 전체 글 수 */
#bo_list_total {
  margin: 0 14px 8px;
  text-align: center;
  padding: 10px;
  background: var(--white);
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

/* 검색 폼 */
#bo_sch {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 10px 14px 16px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
#bo_sch::after { display:none; }
#bo_sch legend { position:absolute; font-size:0; overflow:hidden; }
#bo_sch select {
  border: 0;
  border-right: 1px solid var(--border);
  height: var(--touch-min);
  background: var(--bg);
  font-size: 0.85rem;
  padding: 0 8px;
  width: 28%;
  flex-shrink: 0;
}
#bo_sch .sch_input {
  height: var(--touch-min);
  border: 0;
  padding: 0 10px;
  background: transparent;
  flex: 1;
  font-size: 0.9rem;
}
#bo_sch .sch_btn {
  height: var(--touch-min);
  width: 46px;
  background: var(--primary);
  color: var(--white);
  border: 0;
  font-size: 1rem;
  flex-shrink: 0;
  cursor: pointer;
}

/* 더보기 옵션 */
.btn_bo_user { gap: 6px; }
.btn_bo_user > li { float: none; list-style: none; }
.btn_bo_adm button {
  border: 0;
  padding: 0 12px;
  height: var(--touch-min);
  background: var(--danger);
  color: #fff;
  border-radius: var(--radius-sm);
}
.btn_more_opt { min-width: var(--touch-min); min-height: var(--touch-min); }
.more_opt {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 7px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  z-index: 999;
  box-shadow: var(--shadow-md);
  min-width: 130px;
}
.more_opt::before, .more_opt::after { display: none; }
.more_opt li { display: block; border-bottom: 1px solid var(--bg); margin: 0; }
.more_opt li:last-child { border-bottom: 0; }
.more_opt li button, .more_opt li a {
  display: block;
  width: 100%;
  padding: 13px 16px;
  font-size: 0.9rem;
  color: var(--text);
  background: transparent;
  border: 0;
  text-align: left;
  min-height: var(--touch-min);
  cursor: pointer;
}
.more_opt li:hover a, .more_opt li:hover button { color: var(--primary); background: var(--primary-light); }

/* 공유 팝업 */
.bo_share { position: relative; }
#bo_v_share {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 999;
}
#bo_v_share::before, #bo_v_share::after { display: none; }
#bo_v_share .btn_scrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg);
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  font-weight: bold;
  text-decoration: none;
}

/* ============================================================
   게시글 보기
   ============================================================ */
#bo_v {
  padding: 0;
  background: var(--bg);
}
#bo_v > header {
  background: var(--white);
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

#bo_v_title { margin: 0; }
.bo_v_cate {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.bo_v_tit {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin: 4px 0 0;
  word-break: keep-all;
}

#bo_v_info {
  padding: 10px 0 0;
  color: var(--text-sub);
  line-height: 1.6;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
#bo_v_info h2 { position:absolute; font-size:0; overflow:hidden; }
#bo_v_info strong { font-weight: 600; color: var(--text-sub); }
#bo_v_info .profile_img img { border-radius: 50%; vertical-align: top; }

/* 본문 */
#bo_v_atc {
  min-height: 200px;
  padding: 16px;
  background: var(--white);
  margin: 0 0 8px;
}
#bo_v_atc_title { margin:0; padding:0; height:0; overflow:hidden; }

#bo_v_img { width:100%; overflow:hidden; }
#bo_v_img a.view_image { display:block; }
#bo_v_img img { margin-bottom: 12px; max-width: 100%; height: auto; border-radius: var(--radius-sm); }

#bo_v_con {
  min-height: 180px;
  margin-bottom: 16px;
  width: 100%;
  font-size: 1.05rem;
  line-height: 1.85;
  word-break: break-word;
  overflow: hidden;
  color: var(--text);
}
#bo_v_con a { color: var(--primary); text-decoration: underline; }
#bo_v_con img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }

/* 추천/비추천 */
#bo_v_act {
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
#bo_v_act .bo_v_act_gng { position: relative; }
#bo_v_act a { vertical-align: middle; color: var(--text-sub); text-decoration: none; }
#bo_v_act i { font-size: 1.2rem; margin-right: 4px; }
.bo_v_good, .bo_v_nogood {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  min-width: 80px;
  height: 50px;
  line-height: 1;
  border-radius: 25px;
  font-size: 0.95rem;
  padding: 0 16px;
  gap: 5px;
}
.bo_v_good:hover  { border-color: var(--primary); color: var(--primary); }
.bo_v_nogood:hover{ border-color: var(--danger);  color: var(--danger);  }
#bo_v_act_good, #bo_v_act_nogood {
  display: none;
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 8px 14px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  white-space: nowrap;
}

/* 첨부파일 */
#bo_v_file {
  padding: 0 14px;
  margin-bottom: 14px;
  background: var(--white);
}
#bo_v_file h2 { position:absolute; font-size:0; overflow:hidden; }
#bo_v_file ul { margin:0; list-style:none; }
#bo_v_file li {
  padding: 13px 14px;
  margin: 8px 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}
#bo_v_file li i { color: var(--text-sub); font-size: 1.4rem; flex-shrink: 0; }
#bo_v_file a {
  flex: 1;
  display: block;
  text-decoration: none;
  word-wrap: break-word;
  color: var(--text);
  font-size: 0.9rem;
}
#bo_v_file a:hover { color: var(--primary); text-decoration: underline; }
#bo_v_file .bo_v_file_cnt { color: var(--text-sub); font-size: 0.8rem; }
#bo_v_file li:hover { border-color: var(--primary); }

/* 관련 링크 */
#bo_v_link {
  padding: 0 14px;
  margin-bottom: 14px;
  background: var(--white);
}
#bo_v_link h2 { position:absolute; font-size:0; overflow:hidden; }
#bo_v_link li {
  padding: 13px 14px;
  margin: 8px 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
}
#bo_v_link a { display:block; text-decoration:none; word-wrap:break-word; color:var(--text); }
#bo_v_link a:hover { color: var(--primary); }
#bo_v_link .bo_v_link_cnt { color: var(--text-sub); font-size: 0.8rem; }

/* 이전글/다음글 */
.bo_v_nb {
  margin: 8px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
  list-style: none;
  padding: 0;
}
.bo_v_nb::after { display:none; }
.bo_v_nb li {}
.bo_v_nb li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.9rem;
  min-height: var(--touch-min);
  word-break: keep-all;
}
.bo_v_nb li a i { color: var(--primary); font-size: 0.85rem; flex-shrink: 0; }
.bo_v_nb li.bo_v_prev { border-bottom: 1px solid var(--bg); }
.bo_v_nb li a:hover { color: var(--primary); background: var(--primary-light); }

/* 상단/하단 버튼 영역 */
#bo_v_top, #bo_v_bot {
  padding: 8px 14px;
  background: var(--white);
  margin-bottom: 8px;
}
#bo_v_top::after, #bo_v_bot::after { display:block; visibility:hidden; clear:both; content:""; }
#bo_v_top h2, #bo_v_bot h2 { position:absolute; font-size:0; overflow:hidden; }
#bo_v_top ul, #bo_v_bot ul { margin:0; padding:0; list-style:none; display:flex; gap:6px; flex-wrap:wrap; }
#bo_v_top ul::after, #bo_v_bot ul::after { display:none; }
#bo_v_top ul li, #bo_v_bot ul li { display: inline-block; }
.bo_v_left { float: left; }
.bo_v_right { float: right; }

/* ============================================================
   댓글 섹션
   ============================================================ */
#bo_vc {
  background: var(--bg);
  padding: 0 0 16px;
}
#bo_vc h2.bo_vc_tit {
  padding: 14px 16px 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  background: var(--white);
  margin: 0 0 8px;
  border-bottom: 1px solid var(--border);
}
#bo_vc h2 span { color: var(--primary); }

/* 댓글 아이템 */
#bo_vc article {
  margin: 0 12px 8px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
#bo_vc article .comment_inner {
  margin: 0;
  padding: 14px 14px 10px;
  border-bottom: 0;
  background: transparent;
}
#bo_vc article h2 { position:absolute; font-size:0; overflow:hidden; }
#bo_vc header {
  position: relative;
  padding: 0 28px 0 0;
  line-height: 1.5;
}
#bo_vc .profile_img img { width:26px; height:26px; border-radius:50%; vertical-align:middle; margin-right:4px; }
#bo_vc header .bo_vl_opt { position: absolute; top: -4px; right: -8px; }

#bo_vc .sv_member, #bo_vc .sv_guest { font-weight: 700; font-size: 0.92rem; color: var(--text); }
.bo_vc_hdinfo { display: inline-block; color: var(--text-sub); font-size: 0.8rem; margin-left: 6px; }

#bo_vc .cmt_contents {
  margin: 8px 0 0;
  border-radius: var(--radius-sm);
  line-height: 1.75;
  font-size: 0.95rem;
  color: var(--text);
}
#bo_vc .cmt_contents p { font-size: 0.95rem; }
#bo_vc p a { text-decoration: underline; color: var(--primary); }

#bo_vc_empty { margin:0; padding:20px !important; text-align:center; color: var(--text-sub); }

/* 댓글 옵션 드롭다운 */
.bo_vc_act {
  display: none;
  position: absolute;
  right: 0;
  top: 34px;
  min-width: 90px;
  text-align: center;
  border: 1px solid var(--border);
  margin: 0;
  list-style: none;
  background: var(--white);
  z-index: 9999;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.bo_vc_act::before, .bo_vc_act::after { display: none; }
.bo_vc_act li { display: block; border-bottom: 1px solid var(--bg); }
.bo_vc_act li:last-child { border-bottom: 0; }
.bo_vc_act li a {
  display: block;
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--text);
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
}
.bo_vc_act li a:hover { color: var(--primary); }

/* 버튼 - 댓글 옵션 열기 */
.btn_cm_opt {
  background: transparent;
  border: 0;
  color: var(--text-sub);
  padding: 8px;
  cursor: pointer;
  min-width: 36px;
  min-height: 36px;
  font-size: 1.1rem;
}

/* 댓글 작성 폼 */
#bo_vc_w h2 { position:absolute; font-size:0; overflow:hidden; }
.bo_vc_w {
  display: block;
  position: relative;
  padding: 14px 14px 16px;
  background: var(--white);
  margin: 0 12px 8px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.bo_vc_w::after { display:none; }
.bo_vc_w #char_cnt { display:block; margin:0 0 5px; font-size: 0.8rem; color: var(--text-sub); }
.bo_vc_w textarea {
  width: 100%;
  height: 110px;
  padding: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  resize: vertical;
}
.bo_vc_w textarea:focus { border-color: var(--primary); outline: none; background: var(--white); }

.bo_vc_w_info { margin: 10px 0; }
.bo_vc_w_info::after { display:block; visibility:hidden; clear:both; content:""; }
.bo_vc_w_info .frm_input { float: left; width: 49%; margin: 0 0 5px; }
.bo_vc_w_info #wr_password { float: right; }
.bo_vc_w_info #captcha { display:block; clear:both; }

.bo_vc_w .btn_submit {
  height: 50px;
  width: 100%;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  background: var(--primary);
  color: var(--white);
  border: 0;
  cursor: pointer;
  margin-top: 10px;
  -webkit-tap-highlight-color: transparent;
}
.bo_vc_w .btn_submit:active { background: var(--primary-dark); }

.comment_inner .bo_vc_w {
  margin: 10px 0 0;
  padding-top: 12px;
  border-radius: var(--radius-sm);
  box-shadow: none;
  background: var(--bg);
}

/* SNS */
#bo_vc_send_sns { display:block; float:left; }
#bo_vc_sns { display:block; margin:0; padding:0; list-style:none; }
#bo_vc_sns::after { display:block; visibility:hidden; clear:both; content:""; }
#bo_vc_sns li { float:left; margin:0 6px 0 0; }
#bo_vc_sns .sns_li_f { border-radius:var(--radius-sm); background:#3a589b; height:40px; padding:10px 0 10px 10px; }
#bo_vc_sns .sns_li_t { border-radius:var(--radius-sm); background:#00aced; height:40px; padding:10px 0 10px 10px; }
#bo_vc_sns .sns_li_off { background:#bbb; }
#bo_vc_sns a { display:inline-block; padding:0 12px 0 4px; }
#bo_vc_sns input { margin:0 5px 0 0; }

/* ============================================================
   게시글 쓰기
   ============================================================ */
#bo_w {
  padding: 14px;
  background: var(--bg);
}
#bo_w h2.sound_only { position:absolute; font-size:0; overflow:hidden; }

/* 쓰기 입력 그룹 */
.write_div {
  margin-bottom: 12px;
}
.form_01.write_div { margin-bottom: 0; }

.frm_input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  box-sizing: border-box;
}
.frm_input:focus { border-color: var(--primary); outline: none; }
.full_input { width: 100%; }

#bo_w .bo_v_option li { display: inline-block; float: left; margin: 0 8px 0 0; }
#bo_w .bo_v_option li label { vertical-align: middle; }
#bo_w .bo_v_option::after { display:block; visibility:hidden; clear:both; content:""; }
#bo_w .bo_w_select select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-size: 0.95rem;
}
#bo_w .bo_w_link label {
  position: absolute;
  top: 1px;
  left: 1px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  width: 44px;
  height: 46px;
  line-height: 46px;
  font-size: 1.2rem;
  text-align: center;
  color: var(--text-sub);
}
#bo_w .bo_w_link .frm_input { padding-left: 50px; }
#bo_w .bo_w_flie .lb_icon {
  position: absolute;
  top: 0; left: 0;
  width: 44px;
  height: 46px;
  line-height: 46px;
  font-size: 1.2rem;
  text-align: center;
  color: var(--text-sub);
}
#bo_w .bo_w_flie .frm_file { padding-left: 50px; }
#bo_w .bo_w_flie .file_wr { position: relative; color: var(--text); vertical-align: middle; margin: 0; }
#bo_w .bo_w_flie .frm_input { margin: 5px 0 0; }

/* 파일 첨부 */
.filebox .btn_file {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  width: 64px;
  height: 32px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--white);
  cursor: pointer;
}
.filebox .fileName {
  display: block;
  width: 100%;
  height: 48px;
  padding-left: 44px;
  line-height: 48px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.filebox input[type="file"] { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* 쓰기 확인 버튼 */
#bo_w .btn_confirm {
  text-align: center;
  margin: 20px 0 6px;
  display: flex;
  gap: 10px;
}
#bo_w .btn_submit {
  flex: 1;
  height: 52px;
  padding: 0;
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--primary);
  color: var(--white);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
#bo_w .btn_submit:active { background: var(--primary-dark); }
#bo_w .btn_cancel {
  flex: 1;
  height: 52px;
  line-height: 52px;
  padding: 0;
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--bg);
  color: var(--text-sub);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
#bo_w .btn_frmline {
  padding: 0 14px;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

#char_count_desc { display:block; margin:0 0 6px; padding:0; font-size:0.85rem; color:var(--text-sub); }
#char_count_wrap { margin:4px 0 0; text-align:right; font-size:0.82rem; color:var(--text-sub); }
#char_count { font-weight:700; color:var(--primary); }

.view_is_list {
  margin: 8px 14px 0;
  height: 50px;
  padding: 10px 14px;
  line-height: 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-sub);
  text-align: right;
}
.view_is_list.btn_top { position: relative; z-index: auto; top: 0; left: 0; }
.view_is_list li { display: inline-block; }

/* ============================================================
   파일 미디어 반응형 패치
   ============================================================ */
@media (max-width:450px) {
  #bo_v_file a { float: none; display: block; }
}

/* SNS 버튼 */
#bo_v_sns { padding:0; list-style:none; }
#bo_v_sns::after { display:block; visibility:hidden; clear:both; content:""; }
#bo_v_sns li { text-align:center; margin:5px 0 0; display:inline-block; float:left; }
#bo_v_sns li a { display:flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:var(--radius-sm); }
#bo_v_sns li .sns_f { background:#415b92; }
#bo_v_sns li .sns_t { background:#35b3dc; }
#bo_v_sns li .sns_g { background:#d5503a; }
#bo_v_sns li .sns_k { background:#fbe300; }
#bo_v_sns li img { vertical-align:top; }
#bo_v_sns li span { position:absolute; font-size:0; overflow:hidden; }

/* fa-heart */
.fa-heart { color: #ff0000; }

/* ============================================================
   소형 폰 대응 (360px 이하)
   ============================================================ */
@media (max-width: 360px) {
  #bo_list li    { margin: 0 8px 8px; padding: 12px; }
  .bo_v_tit      { font-size: 1.05rem; }
  #bo_v_atc      { padding: 12px; }
  #bo_v_con      { font-size: 0.98rem; }
  .bo_vc_w       { margin: 0 8px 8px; }
  #bo_w          { padding: 10px; }
  #bo_sch        { margin: 8px; }
}
