/* 모바일 화면 레이아웃 - max-width: 430px */

body {
    justify-content: center;
    background: url('../../img/layout/webBackground.jpg') no-repeat center center fixed;
    background-size: cover;

}
body #wrapper{background-color: #fff;}

#page_wrap {
    max-width: 430px;
    width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 6px 0 20px rgba(219, 219, 219, 0.8), -6px 0 20px rgba(219, 219, 219, 0.8);
}

#hd,
#wrapper,
#ft {
    max-width: 430px;
    width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
}

body > *:not(#hd):not(#wrapper):not(#ft):not(script):not(style):not(link) {
    max-width: 430px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* 1200px 고정폭 요소들 100%로 override */
#ft_wr,
#hd_pop,
#hd_menu,
#container,
#ft_copy,
#sit_ov_wrap,
#tnb .inner {
    width: 100% !important;
}

/* PC 전용 요소 숨김 */
#tnb {
    display: none !important;
}

/* 내부 요소 overflow 방지 */
#wrapper,
#ft,
#container,
#ft_wr {
    overflow-x: hidden;
    box-sizing: border-box;
}
#hd {
    overflow: visible;
    box-sizing: border-box;
}

/* 모든 내부 요소 max-width 제한 */
#container *,
#ft * {
    max-width: 100%;
    box-sizing: border-box;
}

/* ===== hd_wrapper: 왼쪽 햄버거 / 가운데 로고 / 오른쪽 돋보기 ===== */
#hd_wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 15px !important;
    background: #fff;
    border-bottom: 1px solid #eee;
    width: 100% !important;
    height: auto !important;
    position: relative;
}

#hd_wrapper:after {
    display: none !important;
}

#hd_wrapper #logo {
    flex: 1;
    text-align: center;
    float: none !important;
    padding: 0 !important;
}

#hd_wrapper #logo img {
    max-height: 50px;
    width: auto;
    margin-bottom: 10px;
}

/* 기존 검색/로그인 영역 숨김 */
#hd_wrapper .hd_sch_wr,
#hd_wrapper .hd_login {
    display: none !important;
}

#hd_hamburger,
#hd_search_open {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
    color: #333;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

/* ===== 검색 오버레이 (위에서 내려오는 형태) ===== */
#hd_search_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 200px;
    background: #fff;
    z-index: 10001;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#hd_search_inner {
    width: 100%;
    padding: 15px 25px 20px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    box-sizing: border-box;
}

#hd_search_close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #555;
    padding: 5px;
}

.hd_search_title {
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 2px;
    margin: 5px 0 18px;
    color: #222;
}

#hd_search_overlay #hd_sch {
    border: none;
    padding: 0;
    margin: 0;
}

#hd_sch .hd_sch_input_wrap {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}


#hd_sch{border-radius: 0px !important;}
#hd_sch .hd_sch_input_wrap #sch_str {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 0px 5px;
    background: transparent;
    height: 50px;
    width: 100%;
        color: #000;
}

#hd_sch .hd_sch_input_wrap #sch_str:focus{border: none !important; outline: none; box-shadow: none;}
#hd_sch .hd_sch_input_wrap #sch_submit {
    height: 50px;
    width: 50px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #555;
    padding: 5px;
}

/* ===== 카카오톡 버튼 ===== */
#kakao_btn {
    position: fixed;
    bottom: 90px;
    left: 15px;
    width: 50px;
    height: 50px;
    z-index: 1000;
    animation: kakaoBounce 1.5s ease-in-out infinite;
}

/* PC: wrapper(max-width:430px, 중앙정렬) 왼쪽 가장자리 + 15px 위치에 고정 */
@media (min-width: 767px) {
    #kakao_btn {
        left: calc(50% - 200px);
    }
}

#kakao_btn img {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes kakaoBounce {
    0% { transform: translateX(3px); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-2px); }
    100% { transform: translateX(3px); }
}

/* ===== 햄버거 네비게이션 (왼쪽에서 슬라이드) ===== */
#hd_nav_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
}

#hd_nav_overlay.open {
    display: block;
}

#hd_nav_menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.3s ease;
    padding: 20px;
    box-shadow: 2px 0 8px rgba(0,0,0,0.15);
}

#hd_nav_menu.open {
    left: 0;
}

#hd_nav_close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #333;
    padding: 5px;
}

/* 네비 로고 */
.nav_logo {
    text-align: center;
    padding: 15px 0 40px;
}

.nav_logo img {
    max-height: 44px;
    width: auto;
}

/* 회원 메뉴 */
.nav_member {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 12px;
    list-style: none;
    padding: 10px 0 20px;
    margin: 0;
    border-bottom: 1px solid #eee;
}

.nav_member li a {
    font-size: 13px;
    color: #555;
    text-decoration: none;
}

.nav_member li a:hover {
    color: #000;
}

/* 회원가입 메뉴 위 포인트 말풍선 */
.nav_member .signup_li {
    position: relative;
    overflow: visible;
}

.nav_member .signup_li .point_bubble {
    position: absolute;
    left: 50%;
    top: -24px;
    transform: translateX(-50%);
    background: #6e4baf;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    z-index: 5;
    animation: pointBubbleBounce 1.2s ease-in-out infinite;
}

.nav_member .signup_li .point_bubble_text {
    color: #fff;
}

.nav_member .signup_li .point_bubble_arrow {
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
}

@keyframes pointBubbleBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-5px); }
}

/* ===== 고객센터 아코디언 ===== */
#hd_nav_menu .nav_cs {

    margin-top: 25px;
}

#hd_nav_menu .nav_cs_toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 14px 5px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
    cursor: pointer;
    text-align: left;
}

#hd_nav_menu .nav_cs_arrow {
    font-size: 18px;
    color: #888;
    line-height: 1;
}

#hd_nav_menu .nav_cs_sub {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0 0 5px 15px;
}

#hd_nav_menu .nav_cs_sub li {
    padding: 8px 0;
}

#hd_nav_menu .nav_cs_sub li a {
    font-size: 13px;
    color: #555;
    text-decoration: none;
}

#hd_nav_menu .nav_cs_sub li a:hover {
    color: #000;
}

/* ===== 카테고리 아코디언 ===== */
#hd_nav_menu #category {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#hd_nav_menu #category h2,
#hd_nav_menu #category .close_btn,
#hd_nav_menu #category_all_bg {
    display: none !important;
}

#hd_nav_menu #category ul.cate {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

#hd_nav_menu #category ul.cate:after {
    display: none !important;
}

#hd_nav_menu #category .cate_li_1 {
    float: none !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-left: none !important;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

#hd_nav_menu #category .cate_li_1_a {
    display: block;
    padding: 14px 40px 14px 5px;
    color: #333 !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: normal !important;
    margin-bottom: 0 !important;
}

/* +/- 토글 버튼 */
#hd_nav_menu #category .cate_toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 46px;
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 5px;
}

/* 서브 카테고리 (접힌 상태) */
#hd_nav_menu #category .sub_cate {
    display: none;
    list-style: none;
    padding: 0 0 10px;
    margin: 0;
}

#hd_nav_menu #category .sub_cate.open {
    display: block;
}

#hd_nav_menu #category .cate_li_2 a {
    display: block;
    padding: 8px 5px 8px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

#hd_nav_menu #category .cate_li_2 a:hover {
    color: #000;
}

/* 메뉴 리스트 (히트상품 등) */
#hd_nav_menu .hd_menu {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

#hd_nav_menu .hd_menu li a {
    display: block;
    padding: 14px 5px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    text-decoration: none;
    font-size: 15px;
}

#hd_nav_menu .hd_menu li a:hover {
    color: #000;
    background: #fafafa;
}

/* ===== 푸터 반응형 ===== */
#ft {
    min-width: 0 !important;
}

#ft_wr {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 15px !important;
    display: block !important;
}

#ft_wr:after {
    display: none !important;
}

#ft_wr .ft_cnt {
    width: 100% !important;
    float: none !important;
    padding: 10px 0 !important;
}

#ft_copy {
    width: 100% !important;
    padding: 15px !important;
    font-size: 12px;
}

/* 568px 이하 모바일에서는 100% */
@media (max-width: 568px) {
    #hd,
    #wrapper,
    #ft,
    body > *:not(script):not(style):not(link) {
        max-width: 100%;
    }
}

/* ============================================================
   게시판 (공지사항/이벤트 등) 카드형 리스트
   ============================================================ */
#bo_list {
    width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
}

#container_title,
#bo_list h2,
#bo_list .bo_sch_wrap h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 18px 0 12px;
    padding: 0;
    border: none;
}

#bo_list #bo_btn_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6e4baf;
}

#bo_list #bo_list_total {
    font-size: 13px;
    color: #555;
}

#bo_list #bo_list_total span {
    color: #6e4baf;
    font-weight: 700;
    margin-right: 6px;
}

#bo_list .btn_bo_user {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 6px;
    display: none;
}

#bo_list .btn_bo_user .btn,
#bo_list .btn_bo_user .btn_b01,
#bo_list .btn_bo_user .btn_admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #f5f3fa;
    border: 1px solid #e2dcf0;
    border-radius: 6px;
    color: #6e4baf;
    text-decoration: none;
    font-size: 13px;
    transition: all .15s;
}

#bo_list .btn_bo_user .btn:hover {
    background: #6e4baf;
    color: #fff;
}

/* 카드 리스트 본체 */
.bo_card_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bo_card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    transition: box-shadow .15s, transform .15s, border-color .15s;
    overflow: hidden;
    position: relative;
}

.bo_card:hover {
    border-color: #6e4baf;
    box-shadow: 0 4px 12px rgba(110, 75, 175, .1);
    transform: translateY(-1px);
}

.bo_card.is_notice {
    background: #faf7ff;
    border-color: #d9ccf0;
}

.bo_card_link {
    display: block;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
}

.bo_card_top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.bo_card_badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
}

.bo_card_badge.notice {
    background: #6e4baf;
    color: #fff;
}

.bo_card_badge.current {
    background: #ff6b6b;
    color: #fff;
}

.bo_card_cate {
    display: inline-block;
    padding: 2px 8px;
    background: #eee;
    color: #555;
    border-radius: 4px;
    font-size: 11px;
}

.bo_card_new {
    display: inline-block;
    padding: 2px 6px;
    background: #ff5722;
    color: #fff;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
}

.bo_card_title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.bo_card_cmt {
    color: #6e4baf;
    font-weight: 700;
    font-size: 13px;
    margin-left: 4px;
}

.bo_card_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 12px;
    color: #888;
}

.bo_card_meta span i {
    margin-right: 3px;
    color: #aaa;
}

.bo_card_chk {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
}

.bo_card_empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 14px;
    background: #fafafa;
    border-radius: 10px;
}

/* 페이지 네비 */
#bo_list .pg_wrap {
    margin: 25px 0 15px;
    text-align: center;
}

#bo_list .pg_wrap .pg {
    display: inline-flex;
    gap: 4px;
}

#bo_list .pg_wrap .pg_page,
#bo_list .pg_wrap .pg_current,
#bo_list .pg_wrap .pg_start,
#bo_list .pg_wrap .pg_prev,
#bo_list .pg_wrap .pg_next,
#bo_list .pg_wrap .pg_end {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #555;
    text-decoration: none;
    font-size: 13px;
}

#bo_list .pg_wrap .pg_current {
    background: #6e4baf;
    border-color: #6e4baf;
    color: #fff;
    font-weight: 700;
}

#bo_list .pg_wrap .pg_page:hover {
    border-color: #6e4baf;
    color: #6e4baf;
}

/* 검색 영역 */
#bo_list .bo_sch_wrap {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

#bo_list .bo_sch_wrap.show,
#bo_list .bo_sch_wrap[style*="block"] {
    display: flex !important;
}

#bo_list .bo_sch {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px 20px;
    width: 90%;
    max-width: 350px;
    z-index: 2;
}

#bo_list .bo_sch_bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 1;
}

#bo_list .bo_sch select,
#bo_list .bo_sch .sch_input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 8px;
    box-sizing: border-box;
}

#bo_list .bo_sch .sch_bar {
    display: flex;
    gap: 6px;
}

#bo_list .bo_sch .sch_btn {
    flex-shrink: 0;
    width: 50px;
    height: 40px;
    background: #6e4baf;
    border: none;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

#bo_list .bo_sch_cls {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #888;
}

#bo_list .bo_fx {
    margin-top: 15px;
}

/* ============================================================
   게시판 글쓰기 폼 (SmartEditor2 포함) — 430px 폭 제약 대응
   ============================================================ */
#bo_w {
    width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
    overflow-x: hidden;
}

#bo_w #fwrite {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

#bo_w .write_div {
    width: 100%;
    margin-bottom: 12px;
    box-sizing: border-box;
}

#bo_w .frm_input,
#bo_w textarea,
#bo_w select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

#bo_w .frm_input.half_input {
    width: calc(50% - 4px) !important;
    display: inline-block;
    vertical-align: top;
}

#bo_w .bo_w_info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#bo_w .bo_w_info .frm_input.half_input {
    width: calc(50% - 4px) !important;
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
}

/* 내용 영역 */
#bo_w .wr_content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
}

#bo_w .wr_content textarea {
    width: 100% !important;
    min-height: 250px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
}

/* SmartEditor2 컨테이너 강제 100% */
#bo_w .smarteditor2,
#bo_w textarea.smarteditor2,
#bo_w [id^="smart_editor2"],
#bo_w .se2_wrap,
#bo_w .se2_tool,
#bo_w .se2_inputarea_wrap,
#bo_w .se2_input_wysiwyg,
#bo_w .se2_input_html,
#bo_w .se2_input_text,
#bo_w .husky_seditor_editing_area,
#bo_w .husky_seditor_iframe {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#smart_editor2 img{width: 100%;}
#bo_w .se2_inputarea_wrap iframe,
#bo_w iframe.se2_input_iframe,
#bo_w iframe[id^="ifr_smart"] {
    width: 100% !important;
    max-width: 100% !important;
}

/* SmartEditor2 툴바: 가로 스크롤 허용 (아이콘 줄어드는 것보다 스크롤이 나음) */
#bo_w .se2_tool {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

#bo_w .se2_tool .se2_tool_bar {
    min-width: max-content;
}

/* CKEditor 5 (cheditor5)도 사용 가능성 대비 */
#bo_w .cheditor5,
#bo_w .ck-editor,
#bo_w .ck-editor__main,
#bo_w .ck-content,
#bo_w .ck-toolbar {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#bo_w .ck-toolbar {
    overflow-x: auto;
    flex-wrap: nowrap !important;
}

/* 첨부파일 영역 */
#bo_w .bo_w_file {
    width: 100% !important;
    box-sizing: border-box;
}

#bo_w .bo_w_file input[type="file"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    padding: 8px;
    border: 1px dashed #bbb;
    border-radius: 6px;
    background: #fafafa;
    font-size: 13px;
}

/* 옵션 체크박스 */
#bo_w .bo_v_option {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

#bo_w .bo_v_option li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

/* 단축키 일람 버튼은 작은 화면에선 숨김 (공간 절약) */
#bo_w .cke_sc {
    display: none;
}

/* 하단 버튼 영역 */
#bo_w .btn_confirm {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

#bo_w .btn_confirm .btn_submit,
#bo_w .btn_confirm .btn_cancel,
#bo_w .btn_confirm a.btn_cancel,
#bo_w .btn_confirm input[type="submit"] {
    flex: 1;
    height: 44px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#bo_w .btn_confirm .btn_submit,
#bo_w .btn_confirm input[type="submit"] {
    background: #6e4baf;
    color: #fff;
}

#bo_w .btn_confirm .btn_cancel,
#bo_w .btn_confirm a.btn_cancel {
    background: #eee;
    color: #555;
}

/* 임시저장 팝업 */
#bo_w #autosave_pop {
    max-width: calc(100% - 30px);
    box-sizing: border-box;
}

/* ============================================================
   게시판 글 보기 (view) 페이지
   ============================================================ */
#bo_v {
    width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
}

#bo_v_table,
#bo_v_atc,
#bo_v_act,
#bo_v_top {
    width: 100% !important;
    box-sizing: border-box;
}

/* 상단 버튼 영역 - float 레이아웃 제거하고 flex로 */
#bo_v_top {
    margin: 12px 0 16px;
    overflow: visible;
}

#bo_v_top .btn_bo_user,
#bo_v_top .bo_v_com {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    float: none !important;
}

#bo_v_top .btn_bo_user > li,
#bo_v_top .bo_v_com > li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    background: transparent !important;
    position: relative;
}

#bo_v_top .btn_bo_user .btn,
#bo_v_top .btn_bo_user .btn_b01,
#bo_v_top .btn_bo_user .btn_admin,
#bo_v_top .btn_bo_user button.btn_more_opt {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 36px !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #f5f3fa !important;
    border: 1px solid #e2dcf0 !important;
    border-radius: 6px !important;
    color: #6e4baf !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

#bo_v_top .btn_bo_user .btn:hover,
#bo_v_top .btn_bo_user .btn_b01:hover,
#bo_v_top .btn_bo_user button.btn_more_opt:hover {
    background: #6e4baf !important;
    color: #fff !important;
}

#bo_v_top .btn_bo_user .btn i,
#bo_v_top .btn_bo_user .btn_b01 i,
#bo_v_top .btn_bo_user button.btn_more_opt i {
    font-size: 14px;
    margin: 0;
    line-height: 1;
}

/* 더보기 메뉴 (수정/삭제/복사/이동/검색) 드롭다운 */
#bo_v_top .more_opt {
    position: absolute;
    top: 42px;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    z-index: 50;
    min-width: 110px;
}

#bo_v_top .more_opt:before,
#bo_v_top .more_opt:after {
    display: none;
}

#bo_v_top .more_opt li {
    width: 100% !important;
    padding: 0 !important;
    border-bottom: 1px solid #f1f1f1;
    background: #fff !important;
}

#bo_v_top .more_opt li:last-child {
    border-bottom: 0;
}

#bo_v_top .more_opt li a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    color: #555 !important;
    background: transparent !important;
    text-decoration: none;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
}

#bo_v_top .more_opt li a:hover {
    background: #f8f6fc !important;
    color: #6e4baf !important;
}

#bo_v_top .more_opt li a i {
    font-size: 12px;
    color: #aaa;
    float: none;
    line-height: 1;
}

/* 작성자 프로필 영역 */
#bo_v_info {
    width: 100% !important;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 14px;
    box-sizing: border-box;
}

#bo_v_info .profile_info_ct {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}

#bo_v_info .profile_info_ct strong {
    color: #555;
    font-weight: 400;
}

#bo_v_info .profile_info_ct strong:first-of-type {
    color: #222;
    font-weight: 700;
    width: 100%;
    font-size: 14px;
    margin-bottom: 4px;
}

/* 본문 영역 */
#bo_v_atc {
    padding: 18px 0;
    min-height: 200px;
    line-height: 1.7;
    word-break: break-word;
}

#bo_v_atc img {
    max-width: 100% !important;
    height: auto !important;
}

#bo_v_atc #bo_v_con {
    width: 100% !important;
    overflow-x: auto;
}

#bo_v_atc table {
    max-width: 100%;
}

#bo_v_share {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 15px 0;
    justify-content: center;
}

#bo_v_share .btn,
#bo_v_share .btn_b03 {
    height: 32px !important;
    line-height: 30px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    border-radius: 16px !important;
    border: 1px solid #ddd !important;
    color: #555 !important;
    text-decoration: none;
    background: #fff !important;
    width: auto !important;
}

/* 첨부파일 / 링크 영역 */
#bo_v_file,
#bo_v_link {
    margin: 15px 0;
    padding: 12px 14px;
    background: #fafafa;
    border-radius: 6px;
    font-size: 13px;
}

#bo_v_file h2,
#bo_v_link h2 {
    font-size: 13px;
    margin: 0 0 8px;
    color: #555;
    font-weight: 700;
}

#bo_v_file ul,
#bo_v_link ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#bo_v_file li,
#bo_v_link li {
    padding: 4px 0;
    word-break: break-all;
}

#bo_v_file a,
#bo_v_link a {
    color: #6e4baf;
    text-decoration: none;
    font-size: 12px;
}

/* 하단 버튼 (목록/이전/다음 등) */
#bo_v_act {
    margin: 20px 0;
}

#bo_v_act .btn_bo_user {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    float: none !important;
}

#bo_v_act .btn_bo_user > li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

#bo_v_act .btn_bo_user .btn,
#bo_v_act .btn_bo_user .btn_b01 {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 36px !important;
    padding: 0 14px !important;
    background: #f5f3fa !important;
    border: 1px solid #e2dcf0 !important;
    border-radius: 6px !important;
    color: #6e4baf !important;
    text-decoration: none !important;
    font-size: 13px !important;
    width: auto !important;
    line-height: 1 !important;
}

/* 이전글/다음글 */
.bo_v_nb {
    margin: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.bo_v_nb ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bo_v_nb li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.bo_v_nb li:last-child {
    border-bottom: 0;
}

.bo_v_nb li a {
    color: #555;
    text-decoration: none;
    display: block;
}

.bo_v_nb li a:hover {
    color: #6e4baf;
}
