@charset "utf-8";

/* ==========================================================================
   ANGELUX - CUSTOM BOARD SKIN (Dark Theme & Orange accents)
   ========================================================================== */

#bo_v_atc_title {
    display: none;
}

/* 1. Category Tabs (#bo_cate) */
#bo_cate { margin: 40px 0 25px 0; }
#bo_cate h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_cate ul { display: flex; gap: 6px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
#bo_cate li { display: block; padding: 0; }
#bo_cate a {
    display: block;
    padding: 9px 21px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 89, 3, 0.1);
    color: #8a92a6;
}
#bo_cate a:hover {
    border-color: rgba(255, 89, 3, 0.3);
    color: #ff5903;
    background: rgba(255, 255, 255, 0.08);
}
#bo_cate #bo_cate_on {
    z-index: 2;
    background: #ff5903;
    border: 1px solid #ff5903;
    color: #ffffff;
    font-weight: 500;
    box-shadow: none;
}

/* Checkboxes */
.selec_chk { position: absolute; top: 0; left: 0; width: 0; height: 0; opacity: 0; outline: 0; z-index: -1; overflow: hidden; }
.chk_box { position: relative; }
.chk_box input[type="checkbox"] + label { position: relative; padding-left: 25px; color: #8a92a6; vertical-align: middle; cursor: pointer; font-size: 13px; transition: color 0.2s ease; }
.chk_box input[type="checkbox"] + label:hover { color: #ff5903; }
.chk_box input[type="checkbox"] + label span { position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 16px; height: 16px; display: block; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 89, 3, 0.2); border-radius: 2px; transition: all 0.2s ease; }
.chk_box input[type="checkbox"]:checked + label { color: #ff5903; }
.chk_box input[type="checkbox"]:checked + label span { background: #ff5903; border-color: #ff5903; }
.chk_box input[type="checkbox"]:checked + label span:after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #ffffff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* 2. Gallery List Layout (#bo_gall) */
#bo_gall { margin-bottom: 50px; }
#bo_gall h2 { margin: 0; padding: 0; width: 1px; height: 1px; font-size: 0; line-height: 0; overflow: hidden; }
#bo_gall #gall_ul { margin: 30px -10px 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; }
#bo_gall .gall_li { padding: 0 10px; margin-bottom: 24px; box-sizing: border-box; }

/* Responsive columns matching Gnuboard columns */
.gall_row .col-gn-1 { width: 100%; }
.gall_row .col-gn-2 { width: 50%; }
.gall_row .col-gn-3 { width: 33.3333%; }
.gall_row .col-gn-4 { width: 25%; }
.gall_row .col-gn-5 { width: 20%; }

#bo_gall .gall_box {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 89, 3, 0.1);
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
    border-radius: 0;
    height: 100%;
}
#bo_gall .gall_box:hover {
    border-color: rgba(255, 89, 3, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}
#bo_gall .gall_chk {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}
#bo_gall .gall_con {
    width: 100%;
    display: flex;
    flex-direction: column;
}
#bo_gall .gall_img {
    width: 100%;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 89, 3, 0.1);
    background: #090e18;
    overflow: hidden;
    position: relative;
}
#bo_gall .gall_img a, 
#bo_gall .gall_img .no_image, 
#bo_gall .gall_img .is_notice {
    display: block;
    width: 100%;
    height: 100%;
}
#bo_gall .gall_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
#bo_gall .gall_box:hover .gall_img img {
    transform: scale(1.05);
}
#bo_gall .gall_img a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
#bo_gall .gall_img img.no-logo-img {
    width: auto !important;
    max-width: 60% !important;
    height: auto !important;
    max-height: 45px !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.3;
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}
#bo_gall .gall_box:hover .gall_img img.no-logo-img {
    filter: none;
    opacity: 1;
    transform: scale(1.03);
}
#bo_gall .gall_img .is_notice {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 89, 3, 0.1);
    color: #ff5903;
    font-weight: 500;
    font-size: 16px;
}

#bo_gall .gall_text_href { width: 100%; margin-top: 10px; }
#bo_gall .bo_cate_link {
    display: inline-block;
    background: rgba(255, 89, 3, 0.1);
    border: 1px solid rgba(225, 104, 49, 0.2);
    color: #ff5903;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 2px;
    margin-bottom: 12px;
    font-weight: normal;
    text-decoration: none;
}
#bo_gall .bo_tit {
    display: block;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #383838;
    line-height: 1.6;
    margin-bottom: 10px;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
#bo_gall .gall_box:hover .bo_tit { color: #ff5903; }
#bo_gall .bo_tit .new_icon {
    display: inline-block;
    font-size: 10px;
    color: #23db79;
    background: rgba(35, 219, 121, 0.15);
    border: 1px solid rgba(35, 219, 121, 0.2);
    padding: 0 4px;
    border-radius: 2px;
    margin-left: 5px;
    font-weight: bold;
    vertical-align: middle;
}
#bo_gall .bo_tit .hot_icon {
    display: inline-block;
    font-size: 10px;
    color: #ff3061;
    background: rgba(255, 48, 97, 0.15);
    border: 1px solid rgba(255, 48, 97, 0.2);
    padding: 0 4px;
    border-radius: 2px;
    margin-left: 5px;
    font-weight: bold;
    vertical-align: middle;
}
#bo_gall .bo_tit .fa-lock { color: #8a92a6; margin-right: 5px; }

#bo_gall .bo_cnt {
    display: block;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #8a92a6;
    line-height: 1.8;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: keep-all;
}

#bo_gall .gall_info {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    color: #8a92a6;
    display: flex;
    gap: 12px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
    margin-top: auto;
    width: 100%;
}
#bo_gall .gall_info i { color: #ff5903; margin-right: 2px; }
#bo_gall .gall_info .gall_date, 
#bo_gall .gall_info .gall_view { display: inline-flex; align-items: center; }

/* 3. Header Buttons and List Option UI */
#bo_btn_top {
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#bo_list_total { font-family: 'JetBrainsMono', monospace; font-size: 13px; color: #8a92a6; }
#bo_list_total span { font-weight: bold; color: #ff5903; margin-right: 5px; }

.btn_bo_user {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.btn_bo_user li { position: relative; }
.btn_bo_user .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
    background: #ccc;
    border: 1px solid #e9ecef;
    color: #495057;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 0;
    text-decoration: none;
}
.btn_bo_user .btn:hover {
    border-color: #ff5903;
    background: #ff5903;
    color: #ffffff;
}

.btn_bo_user .btn i { font-size: 14px; }

/* More option popup */
.more_opt {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    background: #111827;
    border: 1px solid rgba(255, 89, 3, 0.2);
    z-index: 999;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 110px;
}
.more_opt li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0;
}
.more_opt li:last-child { border-bottom: 0; }
.more_opt li button, 
.more_opt li a {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: 0;
    background: transparent;
    color: #8a92a6;
    font-size: 13px;
    text-align: left;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease;
}
.more_opt li:hover a, 
.more_opt li:hover button {
    color: #ffffff;
    background: rgba(255, 89, 3, 0.1);
}
.more_opt li i { float: right; margin-top: 3px; }

.bo_fx { margin: 20px 0; display: flex; justify-content: flex-end; }

/* 4. Search Form */
.bo_sch_wrap {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    z-index: 999;
}
.bo_sch {
    background: #111827;
    border: 1px solid rgba(255, 89, 3, 0.2);
    width: 340px;
    box-sizing: border-box;
    border-radius: 0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}
.bo_sch h3 {
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
}
.bo_sch form { padding: 20px; }
.bo_sch select,
.frm_input,
.bo_vc_w textarea {
    border: 1px solid rgba(255, 89, 3, 0.15);
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 0;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.bo_sch select:focus,
.frm_input:focus,
.bo_vc_w textarea:focus { border-color: #ff5903; box-shadow: 0 0 0 1px #ff5903; }
.bo_sch select { width: 100%; height: 40px; }
.bo_sch .sch_bar {
    display: flex;
    margin-top: 15px;
    border: 1px solid rgba(255, 89, 3, 0.15);
    background: rgba(0, 0, 0, 0.2);
}
.bo_sch .sch_input {
    flex: 1;
    height: 38px;
    border: 0 !important;
    background: transparent;
    padding: 0 12px;
    color: #ffffff;
    outline: none;
}
.bo_sch .sch_btn {
    height: 38px;
    width: 40px;
    background: transparent;
    border: 0;
    color: #8a92a6;
    cursor: pointer;
    transition: color 0.2s ease;
}
.bo_sch .sch_btn:hover { color: #ffffff; }
.bo_sch .bo_sch_cls {
    position: absolute;
    right: 5px;
    top: 5px;
    color: #8a92a6;
    border: 0;
    background: transparent;
    padding: 10px;
    cursor: pointer;
    transition: color 0.2s ease;
}
.bo_sch .bo_sch_cls:hover { color: #ffffff; }
.bo_sch_bg {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    width: 100%;
    height: 100%;
}

/* Pagination */
.pg_wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 40px 0;
}
.pg_page, .pg_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 36px;
    padding: 0 6px;
    font-family: 'JetBrainsMono', monospace;
    font-size: 13px;
    text-decoration: none;
    box-sizing: border-box;
}
.pg_page {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 89, 3, 0.1);
    color: #8a92a6;
    transition: all 0.2s ease;
}
.pg_page:hover {
    border-color: rgba(255, 89, 3, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
.pg_current {
    background: #ff5903;
    border: 1px solid #ff5903;
    color: #ffffff;
    font-weight: bold;
}
.empty_list {
    text-align: center;
    color: #8a92a6;
    padding: 80px 0;
    width: 100%;
    border: 1px dashed rgba(255, 89, 3, 0.1);
}

/* 5. View Skin (#bo_v) */
#bo_v {
    background: rgba(255, 255, 255, 0.02);
    padding: 35px;
    box-sizing: border-box;
    margin-bottom: 30px;
    color: #e8eaf0;
}
#bo_v_title { margin-bottom: 20px; }
#bo_v_title .bo_v_cate {
    display: inline-block;
    background: rgba(255, 89, 3, 0.1);
    border: 1px solid rgba(225, 104, 49, 0.2);
    color: #ff5903;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 2px;
    margin-bottom: 12px;
}
#bo_v_title .bo_v_tit {
    display: block;
    font-size: 30px;
    font-weight: 500;
    color: #ff5903;
    line-height: 1.4;
    word-break: break-all;
}
#bo_v_info {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#bo_v_info h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_v_info .profile_info { display: flex; align-items: center; gap: 15px; }
#bo_v_info .profile_info .pf_img img { width: 48px; height: 48px; border-radius: 50%; background: #090e18; }
#bo_v_info .profile_info .profile_info_ct { color: #8a92a6; font-size: 13px; line-height: 1.8; }
#bo_v_info .profile_info .profile_info_ct strong { color: #777777; font-weight: 500; }
#bo_v_info .profile_info .profile_info_ct strong a { color: #ff5903; text-decoration: none; }
#bo_v_info .profile_info .profile_info_ct i { color: #ff5903; margin-right: 3px; }
#bo_v_info .profile_info .profile_info_ct .if_date { margin-left: 10px; }

/* Attachments & Links */
#bo_v_file h2, #bo_v_link h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_v_file ul, #bo_v_link ul {
    margin: 15px 0;
    padding: 0;
    list-style: none;
}
#bo_v_file li, #bo_v_link li {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 89, 3, 0.1);
    margin-bottom: 10px;
    transition: all 0.2s ease;
}
#bo_v_file li:hover, #bo_v_link li:hover {
    border-color: rgba(255, 89, 3, 0.3);
    background: rgba(255, 255, 255, 0.03);
}
#bo_v_file li i, #bo_v_link li i {
    font-size: 20px;
    color: #ff5903;
    margin-right: 15px;
}
#bo_v_file a, #bo_v_link a {
    color: #353535;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}
#bo_v_file a:hover, #bo_v_link a:hover {
    color: #353535;
    text-decoration: underline;
}
#bo_v_file .bo_v_file_cnt, 
#bo_v_link .bo_v_link_cnt {
    margin-left: 10px;
    font-size: 12px;
    color: #8a92a6;
    font-family: 'JetBrainsMono', monospace;
}
/* Post Images Centering & Grayscale */
#bo_v_img {
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}
#bo_v_img a {
    display: inline-block;
    margin: 0 auto;
}
#bo_v_img img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Post Contents */
#bo_v_con {
    padding: 20px 0 40px 0;
    font-size: 15px;
    line-height: 1.8;
    color: #353535;
    min-height: 200px;
    word-break: break-all;
}
#bo_v_con a {
    color: #ff5903;
    text-decoration: none;
}
#bo_v_con a:hover {
    text-decoration: underline;
}
#bo_v_con img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* Good / NoGood Buttons */
#bo_v_act {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}
#bo_v_act .bo_v_good, 
#bo_v_act .bo_v_nogood {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 24px;
    border: 1px solid rgba(255, 89, 3, 0.2);
    background: rgba(255, 255, 255, 0.02);
    color: #8a92a6;
    border-radius: 0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}
#bo_v_act .bo_v_good:hover {
    color: #ffffff;
    border-color: #ff5903;
    background: rgba(255, 89, 3, 0.1);
}
#bo_v_act .bo_v_nogood:hover {
    color: #ffffff;
    border-color: #ff3061;
    background: rgba(255, 48, 97, 0.1);
}
#bo_v_act i { font-size: 16px; }

/* Prev/Next Post Link */
.bo_v_nb { margin: 30px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.bo_v_nb li {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    transition: background 0.2s ease;
}
.bo_v_nb li:hover { background: rgba(255, 255, 255, 0.02); }
.bo_v_nb li .nb_tit { color: #8a92a6; margin-right: 15px; }
.bo_v_nb li a { color: #353535; text-decoration: none; flex: 1; }
.bo_v_nb li a:hover { color: #ff5903; }
.bo_v_nb li .nb_date { color: #8a92a6; font-size: 12px; font-family: 'JetBrainsMono', monospace; }

/* 6. Comments Section (#bo_vc) */
.cmt_btn {
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    margin: 40px 0 20px 0;
    padding: 0 0 15px 0;
}
.cmt_btn b { font-size: 16px; color: #ffffff; font-weight: 500; }
.cmt_btn span.total {
    position: relative;
    display: inline-block;
    color: #ff5903;
    margin-left: 5px;
}
.cmt_btn span.total:after {
    position: absolute;
    bottom: -17px;
    left: 0;
    display: block;
    background: #ff5903;
    content: "";
    width: 100%;
    height: 2px;
}

#bo_vc h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_vc article {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 15px;
}
#bo_vc article .pf_img img { width: 40px; height: 40px; border-radius: 50%; background: #090e18; }
#bo_vc article .cm_wrap { flex: 1; }
#bo_vc header { margin-bottom: 10px; color: #8a92a6; font-size: 12px; }
#bo_vc .member, #bo_vc .guest {
    color: #ffffff;
    font-weight: 500;
    font-size: 13px;
    margin-right: 10px;
}
.bo_vc_hdinfo i { color: #ff5903; margin-right: 2px; }
#bo_vc .cmt_contents { font-size: 14px; line-height: 1.6; color: #e8eaf0; }
#bo_vc p a { color: #ff5903; text-decoration: none; }
#bo_vc_empty { text-align: center; color: #8a92a6; padding: 60px 0; font-size: 14px; }

/* Comment Write Form */
.bo_vc_w {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bo_vc_w textarea {
    width: 100%;
    height: 100px;
    resize: none;
}
.bo_vc_w_wr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.bo_vc_w_info {
    display: flex;
    gap: 6px;
}
.bo_vc_w_info .frm_input {
    width: 120px;
    height: 38px;
}
.bo_vc_w .btn_submit {
    height: 40px;
    padding: 0 24px;
    background: #ff5903;
    border: 1px solid #ff5903;
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}
.bo_vc_w .btn_submit:hover {
    background: #e04d00;
    border-color: #e04d00;
}

/* 7. Write Skin (#bo_w) */
#bo_w {
    background: rgba(255, 255, 255, 0.02);
    padding: 35px;
    box-sizing: border-box;
    margin-bottom: 50px;
}
#bo_w .write_div {
    margin-bottom: 20px;
}
#bo_w .bo_w_select select {
    width: 100%;
    height: 40px;
}
#bo_w .bo_w_info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
#bo_w .bo_w_info .frm_input {
    flex: 1;
    min-width: 150px;
    height: 40px;
}
#bo_w .bo_w_tit .frm_input {
    width: 100%;
    height: 40px;
}
#bo_w .wr_content {
    width: 100%;
}
#bo_w .wr_content textarea {
    width: 100%;
    height: 300px;
}

#bo_w #autosave_wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
    margin-bottom: 0;
}
#bo_w #autosave_wrapper .frm_input {
    flex: 1;
    width: auto;
}
#bo_w #autosave_wrapper .btn_frmline {
    height: 40px;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 89, 3, 0.2);
    color: #ff5903;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.2s ease;
}
#bo_w #autosave_wrapper .btn_frmline:hover {
    background: #ff5903;
    border-color: #ff5903;
    color: #fff;
}
#autosave_pop {
    display: none;
    background: #1e1e24 !important;
    border: 1px solid rgba(255, 89, 3, 0.3) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5) !important;
    z-index: 10;
}
#autosave_pop strong {
    border-bottom: 1px solid rgba(255, 89, 3, 0.2) !important;
    color: #ff5903 !important;
}
#autosave_pop ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
#autosave_pop ul li a {
    color: #eee !important;
}
#autosave_pop ul li a:hover {
    color: #ff5903 !important;
}
#autosave_pop .autosave_close {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}
#autosave_pop .autosave_close:hover {
    background: #ff5903 !important;
    border-color: #ff5903 !important;
}

#bo_w .bo_v_option {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    gap: 15px;
}

/* File upload input styling */
#bo_w .bo_w_flie .file_wr {
    position: relative;
    border: 1px solid rgba(255, 89, 3, 0.15);
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
    border-radius: 0;
    height: 40px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 10px;
}
#bo_w .bo_w_flie .lb_icon {
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff5903;
    border-right: 1px solid rgba(255, 89, 3, 0.1);
}
#bo_w .bo_w_flie .frm_file {
    flex: 1;
    background: transparent;
    border: 0;
    color: #8a92a6;
    padding: 0 10px;
}
#bo_w .bo_w_flie .file_del {
    color: #ff3061;
    text-decoration: none;
    font-size: 12px;
    margin-right: 15px;
}

#bo_w .bo_w_link {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 89, 3, 0.15);
    background: rgba(0, 0, 0, 0.2);
    height: 40px;
    box-sizing: border-box;
}
#bo_w .bo_w_link label {
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff5903;
    border-right: 1px solid rgba(255, 89, 3, 0.1);
}
#bo_w .bo_w_link .frm_input {
    flex: 1;
    border: 0 !important;
    background: transparent;
    padding: 0 12px;
    color: #ffffff;
}

/* Confirm & Actions */
.btn_confirm {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.btn_confirm .btn_submit,
.btn_confirm .btn_cancel {
    height: 46px;
    padding: 0 35px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    text-decoration: none;
}
.btn_confirm .btn_submit {
    background: #ff5903;
    border: 1px solid #ff5903;
    color: #ffffff;
    transition: background 0.2s ease;
}
.btn_confirm .btn_submit:hover {
    background: #e04d00;
    border-color: #e04d00;
}
.btn_confirm .btn_cancel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 89, 3, 0.1);
    color: #8a92a6;
    transition: all 0.2s ease;
}
.btn_confirm .btn_cancel:hover {
    border-color: rgba(255, 89, 3, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* ==========================================================================
   Responsive & Smartphone Optimization
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Category Tabs Horizontal Scroll */
    #bo_cate {
        margin: 25px 0 15px 0;
    }
    #bo_cate ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        gap: 4px;
    }
    #bo_cate li {
        flex: 0 0 auto;
    }
    #bo_cate a {
        padding: 7px 15px;
        font-size: 13px;
    }

    /* 2. Gallery Grid Columns */
    #bo_gall .gall_li {
        width: 50% !important; /* Force 2 columns on tablets */
    }
    #bo_gall .gall_box {
        padding: 15px;
    }
    #bo_gall .gall_img {
        height: 150px;
    }
    #bo_gall .bo_tit {
        font-size: 13px;
        margin-bottom: 6px;
    }
    #bo_gall .bo_cnt {
        display: none; /* Hide content summary to save space on smaller screens */
    }

    /* 3. Button Layouts */
    #bo_btn_top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .btn_bo_user {
        width: 100%;
    }

    /* 4. View Page */
    #bo_v {
        padding: 20px 15px;
    }
    #bo_v_title .bo_v_tit {
        font-size: 18px;
    }
    #bo_v_info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }
    #bo_v_info .profile_info {
        align-items: flex-start;
    }
    #bo_v_act {
        flex-direction: column;
        gap: 8px;
    }
    #bo_v_act .bo_v_good, 
    #bo_v_act .bo_v_nogood {
        width: 100%;
        box-sizing: border-box;
    }
    #bo_v_file li, #bo_v_link li {
        padding: 12px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    #bo_v_file .bo_v_file_cnt, 
    #bo_v_link .bo_v_link_cnt {
        margin-left: 0;
        margin-top: 2px;
    }

    /* 5. Comments Section */
    #bo_vc article {
        flex-direction: column;
        gap: 8px;
    }
    #bo_vc article .pf_img {
        display: none; /* Hide profile image to maximize text space */
    }
    .bo_vc_w_wr {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .bo_vc_w_info {
        width: 100%;
    }
    .bo_vc_w_info .frm_input {
        flex: 1;
    }
    .bo_vc_w .btn_submit {
        width: 100%;
    }

    /* 6. Write Page */
    #bo_w {
        padding: 20px 15px;
    }
    #bo_w .bo_w_info {
        flex-direction: column;
        gap: 10px;
    }
    #bo_w .bo_w_info .frm_input {
        width: 100% !important;
        margin-left: 0 !important;
    }
    .btn_confirm {
        flex-direction: column;
        gap: 8px;
    }
    .btn_confirm .btn_submit,
    .btn_confirm .btn_cancel {
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* 1. Gallery Grid Columns (1 column on mobile) */
    #bo_gall .gall_li {
        width: 100% !important;
    }
    #bo_gall .gall_img {
        height: 180px;
    }
}