@charset "utf-8";

:root {
    color-scheme: light;
    --kr-bg: #f5f6f8;
    --kr-surface: #ffffff;
    --kr-surface-2: #f8f9fb;
    --kr-text: #20242a;
    --kr-muted: #727985;
    --kr-line: #e1e4e8;
    --kr-line-strong: #c8cdd4;
    --kr-primary: #2563eb;
    --kr-primary-hover: #1d4ed8;
    --kr-primary-soft: #eff6ff;
    --kr-danger: #dc2626;
    --kr-radius: 7px;
    --kr-shadow: none;
    --kr-max: 1180px;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --kr-bg: #111317;
    --kr-surface: #181b20;
    --kr-surface-2: #20242a;
    --kr-text: #e8ebef;
    --kr-muted: #9aa2ad;
    --kr-line: #30343b;
    --kr-line-strong: #474d57;
    --kr-primary: #6ea0ff;
    --kr-primary-hover: #8bb4ff;
    --kr-primary-soft: #17233b;
    --kr-danger: #ff7b7b;
    --kr-shadow: none;
}

* { box-sizing: border-box; }
html { background: var(--kr-bg); }
body { min-width: 0 !important; background: var(--kr-bg); color: var(--kr-text); font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 14px; line-height: 1.55; letter-spacing: -.015em; }
a { color: var(--kr-text); }
button, input, select, textarea { font-family: inherit; }
input::placeholder, textarea::placeholder { color: var(--kr-muted); opacity: .8; }
::selection { background: var(--kr-primary); color: #fff; }

#hd, #wrapper, #ft { min-width: 0 !important; }
#hd_pop, #hd_wrapper, #tnb .inner, #gnb .gnb_wrap, #container_wr, #ft_wr { width: min(var(--kr-max), calc(100% - 32px)) !important; }

/* 순정 위치를 유지한 상단 */
#hd { background: var(--kr-surface); border-bottom: 1px solid var(--kr-line); }
#tnb { height: 38px; border-bottom: 1px solid var(--kr-line); background: var(--kr-surface-2); }
#tnb .inner { height: 38px; }
#hd_define li, #hd_qnb li { margin: 0 12px 0 0; padding: 0 12px 0 0; border-color: var(--kr-line); font-size: 12px; line-height: 38px; }
#hd_define li a, #hd_qnb li a { color: var(--kr-muted); }
#hd_define li.active a, #hd_define li a:hover, #hd_qnb li a:hover { color: var(--kr-text); }
#hd_qnb .visit .visit-num { min-width: 19px; margin-left: 4px; padding: 1px 6px; background: var(--kr-primary); color: #fff; }
#hd_wrapper { display: flex; height: 94px; align-items: center; gap: 48px; }
#logo { float: none; flex: none; padding: 0; }
#logo a { display: flex; flex-direction: column; gap: 2px; }
#logo strong { font-size: 21px; line-height: 1.2; letter-spacing: -.045em; }
#logo span { color: var(--kr-muted); font-size: 10px; letter-spacing: .05em; }
.hd_sch_wr { position: static; flex: 1 1 auto; width: auto; max-width: 480px; margin: 0 auto; }
#hd_sch { height: 42px; overflow: hidden; border: 1px solid var(--kr-line-strong); border-radius: 7px; background: var(--kr-surface); }
#hd_sch #sch_stx { width: calc(100% - 48px); height: 40px; padding: 0 14px; border: 0; border-radius: 0; background: transparent; color: var(--kr-text); font-size: 13px; outline: none; }
#hd_sch #sch_stx:focus { box-shadow: inset 0 0 0 1px var(--kr-primary); }
#hd_sch #sch_submit { width: 48px; height: 40px; border: 0; border-radius: 0; background: transparent; color: var(--kr-muted); }
#hd_sch #sch_submit:hover { color: var(--kr-primary); }
.hd_sch_wr .sch_word { margin-top: 6px; color: var(--kr-muted); font-size: 11px; }
.hd_sch_wr .sch_word strong { color: var(--kr-muted); }
.hd_sch_wr .sch_word a { color: var(--kr-muted); }
.hd_login { position: static; display: flex; flex: none; align-items: center; gap: 4px; }
.hd_login li { float: none; border: 0; }
.hd_login a, .kr_theme_toggle { display: inline-flex; height: 34px; align-items: center; padding: 0 11px; border: 0; border-radius: 6px; background: transparent; color: var(--kr-muted); font-size: 12px; }
.hd_login a:hover, .kr_theme_toggle:hover { background: var(--kr-surface-2); color: var(--kr-text); }
.kr_theme_toggle { width: 34px; justify-content: center; padding: 0; border: 1px solid var(--kr-line); }
.hd_login .tnb_admin a { background: var(--kr-primary-soft); color: var(--kr-primary); }

#gnb { background: var(--kr-surface); }
#gnb .gnb_wrap { height: 50px; }
#gnb #gnb_1dul { height: 50px; border-top: 1px solid var(--kr-line); border-bottom: 0; font-size: 13px; }
#gnb .gnb_1dli { height: 50px; line-height: 50px; }
#gnb .gnb_1da { padding: 0 22px; color: var(--kr-text); font-weight: 600; }
#gnb .gnb_1dli:hover > a { color: var(--kr-primary); }
#gnb .gnb_1dli:hover > a::after { background: var(--kr-primary); }
#gnb .gnb_menu_btn { width: 48px; height: 49px; background: transparent; color: var(--kr-text); border-left: 1px solid var(--kr-line); border-right: 1px solid var(--kr-line); }
#gnb_all { border: 1px solid var(--kr-line); border-radius: 0 0 8px 8px; background: var(--kr-surface); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
#gnb_all h2 { border-color: var(--kr-line); }
#gnb_all .gnb_al_li { border-color: var(--kr-line); }
#gnb_all .gnb_al_li .gnb_al_a { color: var(--kr-primary); }
#gnb_all .gnb_al_li li a { color: var(--kr-muted); }
#gnb .gnb_2dul { border-color: var(--kr-line); background: var(--kr-surface); box-shadow: var(--kr-shadow); }
#gnb .gnb_2da { color: var(--kr-muted); }

/* 순정 본문/사이드바 배치 */
#wrapper { background: var(--kr-bg); }
#container_wr { display: flex; align-items: flex-start; gap: 20px; margin: 0 auto; padding: 26px 0 70px; }
#container { position: relative; float: none; flex: 1 1 auto; min-width: 0; width: auto; min-height: 620px; margin: 0; font-size: 14px; }
#aside { float: none; flex: 0 0 235px; width: 235px; height: auto; margin: 0; padding: 0; }
#container_title { margin: 0 0 14px; padding: 19px 22px; border: 1px solid var(--kr-line); border-radius: var(--kr-radius); background: var(--kr-surface); box-shadow: var(--kr-shadow); color: var(--kr-text); font-size: 19px; }
#container_title span { margin: 0; line-height: 1.3; }
.kr_home_head { margin-bottom: 14px; padding: 3px 2px 13px; border-bottom: 1px solid var(--kr-line-strong); }
.kr_home_head h2 { margin: 0; font-size: 20px; line-height: 1.35; }
.kr_home_head p { margin: 5px 0 0; color: var(--kr-muted); font-size: 12px; }

.latest_top_wr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 14px; }
.latest_top_wr > * { float: none !important; width: auto !important; margin: 0 !important; }
.latest_wr { margin-bottom: 14px; }
.latest_wr .lt_wr { width: calc(33.333% - 9px); margin-left: 13px !important; }
.latest_wr .lt_wr:nth-child(3n+1) { margin-left: 0 !important; }
.lt, .pic_lt, .pic_li_lt { border: 1px solid var(--kr-line) !important; border-radius: var(--kr-radius); background: var(--kr-surface) !important; box-shadow: none; }
.pic_li_lt { overflow: hidden; min-height: 274px; padding: 0 12px 4px !important; }
.lt_title, .lat_title { height: 41px !important; border-bottom: 1px solid var(--kr-line) !important; background: transparent !important; color: var(--kr-text) !important; font-size: 13px !important; line-height: 41px !important; }
.lt_title a, .lat_title a { color: var(--kr-text) !important; }
.lt li, .pic_lt li { color: var(--kr-muted); }
.lt li a, .pic_lt li a { color: var(--kr-text); }
.lt_more, .pic_lt .lt_more { top: 8px !important; right: 10px !important; width: auto !important; color: var(--kr-muted) !important; font-size: 11px; white-space: nowrap; }
.pic_li_lt li { margin-bottom: 7px !important; border-color: var(--kr-line) !important; }
.pic_li_lt li:first-child .lt_img { margin: 0 0 8px !important; }
.pic_li_lt li .pic_li_tit { font-size: 13px !important; line-height: 18px !important; font-weight: 600 !important; }
.pic_li_lt .lt_info, .pic_lt .lt_info { padding: 6px 0 !important; color: var(--kr-muted); font-size: 11px; }
.pic_li_lt .kr_no_image { display: grid; width: 100%; height: 92px; place-items: center; background: var(--kr-surface-2); color: var(--kr-muted); font-size: 11px; }
.pic_lt { margin-bottom: 0 !important; padding: 0 12px 10px; }
.pic_lt ul { margin: 0 -6px !important; }
.pic_lt li { padding: 0 6px !important; font-size: 12px; }
.pic_lt li .lt_img { margin: 10px 0 7px !important; overflow: hidden; border-radius: 5px; background: var(--kr-surface-2); }
.pic_lt li .lt_img img { aspect-ratio: 1.45 / 1; object-fit: cover; }
.pic_li_lt .new_icon, .pic_li_lt .hot_icon, .pic_lt .new_icon, .pic_lt .hot_icon { width: 14px !important; height: 14px !important; border: 0 !important; border-radius: 3px !important; background: var(--kr-primary-soft) !important; color: var(--kr-primary) !important; font-size: 9px !important; line-height: 14px !important; }

#aside > * { overflow: hidden; margin-bottom: 12px !important; border: 1px solid var(--kr-line) !important; border-radius: var(--kr-radius) !important; background: var(--kr-surface) !important; box-shadow: var(--kr-shadow); }
#ol_before, #ol_after { border: 0 !important; background: transparent !important; }
#ol_before h2, #ol_after h2, #poll h2 { border-color: var(--kr-line) !important; background: transparent !important; color: var(--kr-text) !important; }
#ol_submit, #ol_after .btn_b04 { border-radius: 6px !important; background: var(--kr-primary) !important; }
#ol_after_hd { border-bottom: 1px solid var(--kr-line); }
#ol_after_hd strong { color: var(--kr-text) !important; }
#ol_after_hd .profile_img img { border-color: var(--kr-line-strong) !important; background: var(--kr-surface-2); }
#ol_after_info { border-color: var(--kr-line-strong) !important; background: transparent !important; color: var(--kr-primary) !important; font-size: 12px; }
#ol_after_info:hover { border-color: var(--kr-primary) !important; background: var(--kr-primary-soft) !important; }
#ol_after_private { padding: 5px 0; }
#ol_after_private li { background: transparent !important; }
#ol_after_private a { padding: 9px 14px !important; background: transparent !important; color: var(--kr-text) !important; font-size: 12px; line-height: 20px !important; }
#ol_after_private li i { width: 21px !important; margin-right: 5px !important; color: var(--kr-primary) !important; }
#ol_after_private a strong { padding: 0 !important; color: var(--kr-primary) !important; font-size: 12px !important; font-weight: 700; }
#ol_after_private li a:hover { background: var(--kr-surface-2) !important; color: var(--kr-primary) !important; }
#ol_after_private li a:hover::after { display: none; }
#ol_after_private .win_point:hover strong, #ol_after_private .win_memo:hover strong, #ol_after_private .win_scrap:hover strong { background: transparent !important; color: var(--kr-primary) !important; }
#ol_after_logout { padding: 12px 0 !important; border-color: var(--kr-line) !important; color: var(--kr-muted) !important; font-size: 12px; }
#ol_after_logout:hover { background: var(--kr-surface-2); color: var(--kr-primary) !important; }

/* 공통 폼과 버튼 */
.frm_input, input[type="text"], input[type="password"], input[type="email"], input[type="url"], select, textarea { border-color: var(--kr-line-strong) !important; border-radius: 6px !important; background: var(--kr-surface) !important; color: var(--kr-text) !important; box-shadow: none !important; }
.frm_input:focus, input:focus, select:focus, textarea:focus { border-color: var(--kr-primary) !important; outline: 2px solid color-mix(in srgb, var(--kr-primary) 16%, transparent); outline-offset: 0; }
.btn, .btn_b01, .btn_b02, .btn_b03, .btn_b04, .btn_submit, .btn_cancel, .btn_close, .btn_frmline { border-radius: 5px !important; box-shadow: none !important; font-size: 12px !important; }
.btn_submit { border-color: var(--kr-primary) !important; background: var(--kr-primary) !important; color: #fff !important; }
.btn_submit:hover { background: var(--kr-primary-hover) !important; }
.btn_b01, .btn_b02, .btn_b03, .btn_cancel, .btn_close { border: 1px solid var(--kr-line-strong) !important; background: var(--kr-surface) !important; color: var(--kr-text) !important; }
.btn_admin { border: 1px solid var(--kr-line-strong) !important; background: var(--kr-surface) !important; color: var(--kr-muted) !important; }
.btn_admin:hover { border-color: var(--kr-primary) !important; background: var(--kr-primary-soft) !important; color: var(--kr-primary) !important; }
.pg_wrap { float: none; display: block; margin: 24px 0; text-align: center; }
.pg_page, .pg_current { min-width: 34px; height: 34px; margin: 0 2px; padding: 0 10px; border: 1px solid var(--kr-line) !important; border-radius: 6px !important; background: var(--kr-surface) !important; color: var(--kr-muted) !important; line-height: 32px; }
.pg_current { border-color: var(--kr-primary) !important; background: var(--kr-primary) !important; color: #fff !important; }

/* 게시판 목록: 순정 표/열 위치 유지 */
#bo_list, #bo_gall, #bo_v, #bo_w { width: 100% !important; }
#bo_btn_top { min-height: 34px; margin: 0 0 9px; }
#bo_list_total { color: var(--kr-muted); font-size: 11px; line-height: 32px; }
#bo_list_total span { color: var(--kr-text); }
.btn_bo_user { gap: 3px; }
.btn_bo_user li { width: auto !important; margin-left: 3px; background: transparent !important; }
.btn_bo_user .btn, .btn_more_opt { display: grid; width: 32px !important; height: 32px !important; place-items: center; padding: 0 !important; border: 1px solid var(--kr-line-strong) !important; background: var(--kr-surface) !important; color: var(--kr-muted) !important; font-size: 12px !important; line-height: 30px !important; }
.btn_bo_user .btn:hover, .btn_more_opt:hover { border-color: var(--kr-primary) !important; background: var(--kr-primary-soft) !important; color: var(--kr-primary) !important; }
.btn_bo_user .btn i, .btn_more_opt i { margin: 0 !important; font-size: 12px; }
.tbl_head01 { overflow-x: auto; margin: 0; border: 1px solid var(--kr-line); border-radius: var(--kr-radius); background: var(--kr-surface); box-shadow: var(--kr-shadow); }
.tbl_wrap table { min-width: 680px; border: 0; background: var(--kr-surface); }
.tbl_head01 thead th { height: 44px; padding: 0 8px; border-bottom: 1px solid var(--kr-line); background: var(--kr-surface-2); color: var(--kr-muted); font-size: 12px; font-weight: 500; }
.tbl_head01 td { height: 54px; padding: 10px 8px; border-top: 0; border-bottom: 1px solid var(--kr-line); background: var(--kr-surface); color: var(--kr-muted); }
.tbl_head01 tbody tr:last-child td { border-bottom: 0; }
.tbl_head01 tbody tr:hover td, #bo_list tbody .even td { background: var(--kr-surface-2); }
#bo_list tbody tr, #bo_list tbody tr:hover { border-left: 0; }
#bo_list .td_num2 { width: 62px; color: var(--kr-muted); }
#bo_list .td_name { width: 100px; padding: 10px 8px; }
#bo_list .td_datetime { width: 78px; }
#bo_list .td_subject { padding-left: 8px !important; }
#bo_list .bo_tit { font-size: 14px; }
#bo_list .bo_tit > a { color: var(--kr-text); font-weight: 500; }
#bo_list .bo_cate_link { margin-right: 7px; padding-right: 8px; border-right: 1px solid var(--kr-line); color: var(--kr-primary); }
#bo_list .cnt_cmt { margin-left: 4px; padding: 1px 5px; border-radius: 4px; background: var(--kr-primary-soft); color: var(--kr-primary); }
#bo_list .notice_icon { padding: 3px 7px; border-radius: 4px; background: var(--kr-primary); color: #fff; font-size: 11px; }
#bo_list .new_icon, #bo_list .hot_icon, #bo_list .fa-lock, #bo_list .fa-download, #bo_list .fa-link { border: 0 !important; border-radius: 4px !important; background: var(--kr-primary-soft) !important; color: var(--kr-primary) !important; }
#bo_cate { margin: 0 0 12px; }
#bo_cate a { padding: 3px 12px; border: 1px solid var(--kr-line); border-radius: 6px; background: var(--kr-surface); color: var(--kr-muted); line-height: 28px; }
#bo_cate #bo_cate_on, #bo_cate a:hover { border-color: var(--kr-primary); background: var(--kr-primary-soft); color: var(--kr-primary); }
.bo_sch { border: 1px solid var(--kr-line) !important; border-radius: 9px !important; background: var(--kr-surface) !important; color: var(--kr-text); }
.bo_sch_bg { background: rgba(10,15,23,.48) !important; backdrop-filter: blur(3px); }
.more_opt { border: 1px solid var(--kr-line) !important; border-radius: 7px; background: var(--kr-surface) !important; box-shadow: 0 8px 24px rgba(0,0,0,.12) !important; }
.more_opt li { border-color: var(--kr-line) !important; }
.more_opt li button, .more_opt li a { background: transparent !important; color: var(--kr-text) !important; }
.more_opt::after { border-color: transparent transparent var(--kr-surface) transparent !important; }
.bo_sch .bo_sch_cls { background: transparent !important; color: var(--kr-muted) !important; }

/* 게시글 보기 */
#bo_v { margin-bottom: 20px; padding: 24px; border: 1px solid var(--kr-line); border-radius: var(--kr-radius); background: var(--kr-surface); box-shadow: var(--kr-shadow); }
#bo_v_title .bo_v_cate { padding: 3px 8px; border-radius: 4px; background: var(--kr-primary-soft); color: var(--kr-primary); font-size: 12px; }
#bo_v_title .bo_v_tit { margin: 8px 0 0; color: var(--kr-text); font-size: 24px; line-height: 1.4; font-weight: 650; }
#bo_v_info { border-color: var(--kr-line); color: var(--kr-muted); }
#bo_v_info .profile_info { margin: 18px 0 12px; }
#bo_v_info .profile_info .pf_img img { width: 40px; height: 40px; }
#bo_v_info .profile_info .profile_info_ct { padding: 1px 0; font-size: 12px; }
#bo_v_info .sv_member, #bo_v_info .member { color: var(--kr-text); }
#bo_v_top { margin-top: 12px; }
#bo_v_top ul { background: transparent; }
#bo_v_top .btn { min-width: 32px; height: 32px; padding: 0 9px; line-height: 30px; }
#bo_v_atc { min-height: 260px; padding: 30px 4px; }
#bo_v_con { min-height: 220px; margin: 0 0 30px; color: var(--kr-text); font-size: 15px; line-height: 1.85; }
#bo_v_con a { color: var(--kr-primary); }
#bo_v_file li, #bo_v_link li { border-color: var(--kr-line); border-radius: 6px; background: var(--kr-surface-2); }
#bo_v_file a, #bo_v_link a { color: var(--kr-text); }
#bo_v_file li i, #bo_v_link li i { color: var(--kr-muted); }
#bo_v_share { padding: 14px 0; }
#bo_v_share .btn { border-color: var(--kr-line) !important; background: var(--kr-surface) !important; color: var(--kr-muted) !important; }
#bo_v_act .bo_v_good, #bo_v_act .bo_v_nogood { width: auto; min-width: 76px; border-color: var(--kr-line); border-radius: 6px; background: var(--kr-surface); color: var(--kr-muted); line-height: 40px; }
.bo_v_nb { border-color: var(--kr-line) !important; background: var(--kr-surface) !important; }
.bo_v_nb li { border-color: var(--kr-line) !important; }
.bo_v_nb li a { color: var(--kr-text); }

/* 댓글 */
.cmt_btn { margin-top: 22px; border-color: var(--kr-line); background: var(--kr-surface); color: var(--kr-text); }
.cmt_btn span.total { color: var(--kr-primary); }
.cmt_btn span.total::after { background: var(--kr-primary); }
#bo_vc article { margin: 0; padding: 18px 0; border-color: var(--kr-line); }
#bo_vc article .pf_img img { width: 38px; height: 38px; }
#bo_vc .cmt_contents { color: var(--kr-text); }
.bo_vc_hdinfo { color: var(--kr-muted); }
.bo_vc_w { margin-top: 18px; padding: 18px; border: 1px solid var(--kr-line); border-radius: var(--kr-radius); background: var(--kr-surface-2); }
.bo_vc_w textarea { min-height: 110px; border-color: var(--kr-line-strong); background: var(--kr-surface) !important; color: var(--kr-text); }
.bo_vc_w .btn_submit { height: 40px; }

/* 글쓰기 */
#bo_w { padding: 22px; border: 1px solid var(--kr-line); border-radius: var(--kr-radius); background: var(--kr-surface); box-shadow: var(--kr-shadow); }
#bo_w form { width: 100% !important; }
#bo_w .write_div { margin: 0 0 12px; }
#bo_w .frm_input, #bo_w select { min-height: 42px; }
#bo_w .bo_w_info .frm_input { margin-bottom: 8px; }
#bo_w .bo_v_option { padding: 8px 0; }
#bo_w #wr_subject { height: 46px; padding: 0 12px; font-size: 15px; }
#bo_w #btn_autosave { top: 6px; height: 34px; border-color: var(--kr-line); background: var(--kr-surface-2); color: var(--kr-muted); }
#bo_w .wr_content textarea { min-height: 320px; }
#bo_w .cke { border-color: var(--kr-line) !important; border-radius: 6px; overflow: hidden; }
#bo_w .wr_content.smarteditor2 { overflow: hidden; border: 1px solid var(--kr-line-strong); border-radius: 6px; background: var(--kr-surface); }
#bo_w .wr_content.smarteditor2 iframe { display: block; max-width: 100%; background: var(--kr-surface); }
#bo_w .cke_sc { margin-bottom: 4px; }
#bo_w .btn_cke_sc { height: 24px; padding: 0 8px; border: 1px solid var(--kr-line) !important; border-radius: 4px; background: var(--kr-surface-2) !important; color: var(--kr-muted) !important; font-size: 11px; line-height: 22px; }
#bo_w .cke_sc_def { border-color: var(--kr-line); border-radius: 5px; background: var(--kr-surface-2); color: var(--kr-text); font-size: 11px; }
#bo_w .bo_w_link .frm_input, #bo_w .bo_w_flie .frm_input { padding-left: 48px; }
#bo_w .bo_w_link label, #bo_w .bo_w_flie .lb_icon { color: var(--kr-muted); }
#bo_w .bo_w_flie .file_wr { border-color: var(--kr-line); border-radius: 6px; background: var(--kr-surface-2); color: var(--kr-text); }
.btn_confirm { margin-top: 18px; }

/* 갤러리 */
#bo_gall #gall_ul { margin: 0 -7px; }
#bo_gall .gall_li { padding: 7px; }
#bo_gall .gall_box { overflow: hidden; border: 1px solid var(--kr-line); border-radius: var(--kr-radius); background: var(--kr-surface); box-shadow: var(--kr-shadow); }
#bo_gall .gall_img { border: 0; background: var(--kr-surface-2); }
#bo_gall .gall_img img { width: 100%; height: 100%; object-fit: cover; }
#bo_gall .gall_text_href { padding: 14px 14px 8px; }
#bo_gall .bo_tit { color: var(--kr-text); font-size: 14px; font-weight: 600; }
#bo_gall .bo_cnt, #bo_gall .gall_info { color: var(--kr-muted); }
#bo_gall .gall_info { padding: 8px 14px 14px; border-top: 1px solid var(--kr-line); }

/* 회원 */
.mbskin { width: min(100%, 520px) !important; margin: 30px auto 70px !important; }
.mbskin_box, .register { border-color: var(--kr-line) !important; border-radius: var(--kr-radius) !important; background: var(--kr-surface) !important; box-shadow: var(--kr-shadow) !important; }
.mbskin_box { padding: 30px !important; }
.mbskin h1, .mbskin h2 { color: var(--kr-text) !important; font-size: 20px !important; }
.mb_log_cate { border-color: var(--kr-line) !important; }
.mb_log_cate .join { color: var(--kr-primary) !important; }
#login_fs .frm_input { height: 46px !important; }
#login_fs .btn_submit { height: 46px !important; }
#login_info { border-color: var(--kr-line) !important; color: var(--kr-muted) !important; }
.register { width: 100% !important; max-width: 760px; margin: 0 auto 70px !important; padding: 26px !important; }
.register h2, .register_form_inner h2 { border-color: var(--kr-line) !important; background: transparent !important; color: var(--kr-text) !important; font-size: 17px !important; }
.register textarea, .register #fregister_private > div { border-color: var(--kr-line) !important; background: var(--kr-surface-2) !important; color: var(--kr-text) !important; }
.register_form_inner { border-color: var(--kr-line) !important; background: transparent !important; }
.register_form_inner li { border-color: var(--kr-line) !important; }

/* 하단 */
#ft { border-top: 1px solid var(--kr-line); background: var(--kr-surface); color: var(--kr-muted); text-align: left; }
#ft_wr { display: grid; grid-template-columns: minmax(280px, .7fr) 1fr; gap: 48px; margin: 0 auto !important; padding: 23px 0 19px; }
#ft_wr .ft_cnt { float: none; width: auto; padding: 0; }
#ft_link { padding-left: 0 !important; }
#ft_link { display: flex; align-items: flex-start; gap: 15px; }
#ft_link a { color: var(--kr-muted); font-size: 11px; font-weight: 500; }
#ft_link a:hover { color: var(--kr-text); }
#ft_company, #ft_company h2 { color: var(--kr-muted); }
#ft_company h2 { margin: 0 0 5px; font-size: 11px; font-weight: 600; }
#ft_company .ft_info { margin: 0; font-size: 11px; line-height: 1.7; }
#ft_copy { width: min(var(--kr-max), calc(100% - 32px)); margin: 0 auto; padding: 12px 0; border-color: var(--kr-line); color: var(--kr-muted); font-size: 10px; text-align: left; }
#top_btn { right: 20px; bottom: 20px; width: 36px; height: 36px; border: 1px solid var(--kr-line); border-radius: 6px; background: var(--kr-surface); color: var(--kr-muted); box-shadow: none; }

html[data-theme="dark"] img { opacity: .9; }
html[data-theme="dark"] #ol_be_cate .join, html[data-theme="dark"] .mb_log_cate .join { background: var(--kr-surface-2) !important; color: var(--kr-primary) !important; }
html[data-theme="dark"] #bo_list .sv_member, html[data-theme="dark"] #bo_list .member, html[data-theme="dark"] #ol_after .profile_img + strong { color: var(--kr-text) !important; }
html[data-theme="dark"] #bo_w .wr_content.smarteditor2 { border-color: var(--kr-line); background: #181b20; }
html[data-theme="dark"] #bo_w .wr_content.smarteditor2 iframe { background: #181b20; }

@media (max-width: 900px) {
    #hd_wrapper { gap: 24px; }
    .hd_sch_wr { max-width: 380px; }
    #container_wr { display: block; }
    #aside { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin-top: 22px; }
    #aside > * { margin: 0 !important; }
    .latest_top_wr { grid-template-columns: 1fr 1fr; }
    .latest_top_wr > *:last-child { grid-column: 1 / -1; }
    #ft_wr { grid-template-columns: 1fr; gap: 13px; }
}

@media (max-width: 680px) {
    body { font-size: 13px; }
    #hd_pop, #hd_wrapper, #tnb .inner, #gnb .gnb_wrap, #container_wr, #ft_wr { width: calc(100% - 28px) !important; }
    #tnb { height: 34px; }
    #tnb .inner { height: 34px; }
    #hd_define li { line-height: 34px; }
    #hd_qnb { display: none; }
    #hd_wrapper { display: grid; grid-template-columns: 1fr auto; gap: 14px; height: auto; padding: 17px 0 14px; }
    #logo strong { font-size: 19px; }
    #logo span { display: none; }
    .hd_login { gap: 0; }
    .hd_login a { padding: 0 7px; }
    .hd_login li:first-child ~ li:not(:last-child) { display: none; }
    .hd_sch_wr { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; }
    .hd_sch_wr .sch_word { display: none; }
    #gnb .gnb_wrap { overflow: hidden; }
    #gnb #gnb_1dul { overflow-x: auto; display: flex; scrollbar-width: none; }
    #gnb .gnb_1dli { float: none; flex: none; }
    #gnb .gnb_1da { padding: 0 16px; }
    #gnb .gnb_mnal { order: -1; }
    #gnb .gnb_2dul { display: none !important; }
    #gnb_all { position: fixed; top: 12px; right: 12px; bottom: 12px; left: 12px; overflow-y: auto; width: auto; }
    #gnb_all .gnb_al_li { float: none; width: 100%; min-height: 0; border: 0; border-bottom: 1px solid var(--kr-line); }
    #container_wr { padding: 18px 0 45px; }
    #container_title { margin-bottom: 10px; padding: 16px; font-size: 17px; }
    .kr_home_head h2 { font-size: 18px; }
    .latest_top_wr { grid-template-columns: 1fr; }
    .latest_top_wr > *:last-child { grid-column: auto; }
    .pic_li_lt { min-height: 210px; }
    .pic_li_lt .empty_li { line-height: 132px; }
    .latest_wr .lt_wr { float: none !important; width: 100%; margin: 0 0 12px !important; }
    #aside { grid-template-columns: 1fr; }
    #bo_list .td_num2, #bo_list .td_num, #bo_list .td_name, #bo_list .col_num, #bo_list .col_writer, #bo_list .col_hit, #bo_list .col_good, #bo_list .col_nogood { display: none; }
    #bo_list .td_datetime { width: 65px; }
    .tbl_wrap table { min-width: 0; }
    .tbl_head01 thead th { height: 40px; }
    .tbl_head01 td { height: 52px; padding: 9px 6px; }
    #bo_list .td_subject { padding-left: 10px !important; }
    #bo_list .bo_tit { max-width: calc(100vw - 140px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    #bo_list .bo_tit > a { overflow: hidden; text-overflow: ellipsis; }
    #bo_list_total { font-size: 11px; }
    #bo_v { padding: 18px 15px; }
    #bo_v_title .bo_v_tit { font-size: 20px; }
    #bo_v_info .profile_info .pf_img { display: none; }
    #bo_v_info strong { margin-right: 6px; }
    #bo_v_atc { padding: 24px 0; }
    #bo_v_con { font-size: 14px; }
    #bo_v_top .btn_bo_user { float: none; }
    #bo_w { padding: 16px 13px; }
    #bo_w .half_input { float: none !important; width: 100% !important; margin-left: 0 !important; }
    #bo_w .wr_content textarea { min-height: 240px; }
    #bo_gall .gall_li { width: 50% !important; }
    .mbskin { margin-top: 10px !important; }
    .mbskin_box, .register { padding: 20px 15px !important; }
    #ft_wr { display: block; padding: 21px 0 17px; }
    #ft_wr .ft_cnt { width: 100%; padding: 0; }
    #ft_company { margin-top: 14px; }
    #ft_wr > *:not(#ft_link):not(#ft_company) { display: none; }
    #ft_copy { width: calc(100% - 28px); }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
