@charset "utf-8";

/* ====================================================================
   MIRAE SOLUTION - portfolio board skin (dark premium)
   covers: list grid / view / write / paging / search / comments
   English comments only
   ==================================================================== */

#bo_list, #bo_v, #bo_w {
    --c-bg:#070a14; --c-bg2:#0c1120; --c-card:rgba(255,255,255,0.04);
    --c-br:rgba(255,255,255,0.09); --c-text:#eef2f8; --c-muted:#94a0b8; --c-faint:#5d6a85;
    --c-cyan:#22d3ee; --c-blue:#3b82f6; --c-violet:#8b5cf6;
    color:#eef2f8;
}
#bo_list a, #bo_v a, #bo_w a { color:#c3cde0; }
.ms_grad { background:linear-gradient(120deg,#22d3ee,#3b82f6 38%,#8b5cf6); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* ---- shared buttons ---- */
#bo_list .btn, #bo_v .btn, #bo_w .btn,
#bo_list .btn_b01, #bo_v .btn_b01 {
    display:inline-flex; align-items:center; justify-content:center; gap:6px;
    height:40px; padding:0 18px; border-radius:11px; font-size:14px; font-weight:600;
    background:var(--c-card); border:1px solid var(--c-br); color:#fff !important; text-decoration:none;
    transition:transform .2s, border-color .2s, background .2s;
}
#bo_list .btn:hover, #bo_v .btn:hover, #bo_w .btn:hover { transform:translateY(-2px); border-color:rgba(139,92,246,.45); }
.ms_btn_grad, #bo_w .btn_submit {
    background:linear-gradient(120deg,#22d3ee,#3b82f6 45%,#8b5cf6) !important;
    border:0 !important; color:#fff !important; box-shadow:0 10px 26px rgba(59,130,246,.35);
}

/* ====================================================================
   LIST - portfolio card grid
   ==================================================================== */
#bo_list { width:100% !important; max-width:1200px; margin:0 auto; padding:10px 0 40px; }

.ms_pf_top { display:flex; align-items:center; justify-content:space-between; margin-bottom:26px; flex-wrap:wrap; gap:14px; }
.ms_pf_total { font-size:14px; color:var(--c-muted); }
.ms_pf_total b { color:#fff; font-weight:700; }

.ms_pf_grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.ms_pf_card {
    position:relative; border-radius:16px; overflow:hidden; background:var(--c-card);
    border:1px solid var(--c-br); transition:transform .3s, border-color .3s;
}
.ms_pf_card:hover { transform:translateY(-6px); border-color:rgba(139,92,246,.45); }
.ms_pf_thumb { position:relative; aspect-ratio:4/3; overflow:hidden; background:linear-gradient(135deg,#141b30,#0c1120); }
.ms_pf_thumb img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s; }
.ms_pf_card:hover .ms_pf_thumb img { transform:scale(1.06); }
.ms_pf_noimg { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-weight:800; letter-spacing:.04em; color:#46527a; font-size:20px; }
.ms_pf_thumb::after { content:""; position:absolute; inset:0; background:linear-gradient(120deg,#22d3ee,#8b5cf6); opacity:0; mix-blend-mode:overlay; transition:.3s; }
.ms_pf_card:hover .ms_pf_thumb::after { opacity:.22; }
.ms_pf_body { padding:18px 18px 20px; }
.ms_pf_title { font-size:16px; font-weight:700; color:#fff; line-height:1.4; margin-bottom:10px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ms_pf_card:hover .ms_pf_title { color:var(--c-cyan); }
.ms_pf_meta { display:flex; align-items:center; gap:10px; font-size:12px; color:var(--c-faint); }
.ms_pf_meta .new_icon { background:linear-gradient(120deg,#3b82f6,#8b5cf6); color:#fff; padding:1px 7px; border-radius:6px; font-size:11px; }
.ms_pf_empty { grid-column:1/-1; text-align:center; padding:90px 20px; color:var(--c-muted); border:1px dashed var(--c-br); border-radius:16px; }

.ms_pf_btns { display:flex; justify-content:flex-end; gap:10px; margin-top:30px; }

/* search box */
.bo_sch_wrap { display:none; position:fixed; inset:0; z-index:1000; }
.bo_sch_bg { position:absolute; inset:0; background:rgba(0,0,0,.6); }
.bo_sch { position:relative; z-index:2; max-width:520px; margin:14vh auto 0; background:var(--c-bg2);
    border:1px solid var(--c-br); border-radius:18px; padding:30px; }
.bo_sch h3 { color:#fff; font-size:18px; margin:0 0 18px; }
.bo_sch select, .bo_sch .sch_input { width:100%; height:46px; border-radius:10px; border:1px solid var(--c-br);
    background:var(--c-bg); color:#fff; padding:0 14px; font-size:14px; margin-bottom:12px; }
.bo_sch .sch_bar { display:flex; gap:8px; }
.bo_sch .sch_input { margin-bottom:0; }
.bo_sch .sch_btn { flex:none; width:52px; height:46px; border-radius:10px; border:0;
    background:linear-gradient(120deg,#3b82f6,#8b5cf6); color:#fff; cursor:pointer; }
.bo_sch_cls { position:absolute; top:18px; right:18px; background:none; border:0; color:var(--c-muted); font-size:18px; cursor:pointer; }

/* ====================================================================
   PAGING (gnuboard get_paging)
   ==================================================================== */
.pg_wrap { margin:40px 0 0; text-align:center; }
.pg { display:inline-flex; gap:6px; align-items:center; }
.pg_page, .pg_current, .pg_start, .pg_prev, .pg_next, .pg_end {
    display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px; padding:0 12px;
    border-radius:10px; border:1px solid var(--c-br); background:var(--c-card); color:#c3cde0 !important;
    text-decoration:none; font-size:14px; font-weight:600;
}
.pg_current { background:linear-gradient(120deg,#3b82f6,#8b5cf6); border:0; color:#fff !important; }
.pg_page:hover, .pg_start:hover, .pg_prev:hover, .pg_next:hover, .pg_end:hover { border-color:rgba(139,92,246,.45); color:#fff !important; }

/* ====================================================================
   VIEW
   ==================================================================== */
#bo_v { width:100% !important; max-width:980px; margin:0 auto; padding:10px 0 40px; }
#bo_v_title { font-size:30px; font-weight:800; color:#fff; line-height:1.3; letter-spacing:-.02em; padding:18px 0 22px; }
#bo_v_title .bo_v_cate { font-size:14px; color:var(--c-cyan); font-weight:700; margin-right:8px; }

#bo_v_info { border-top:1px solid var(--c-br); border-bottom:1px solid var(--c-br); padding:18px 4px; margin-bottom:0; }
#bo_v_info h2 { display:none; }
#bo_v_info .profile_info { display:flex; align-items:center; gap:14px; }
#bo_v_info .pf_img img { width:42px; height:42px; border-radius:50%; }
#bo_v_info .profile_info_ct { font-size:13px; color:var(--c-muted); line-height:1.9; }
#bo_v_info .profile_info_ct strong { color:#fff; font-weight:600; margin-right:14px; font-size:13px; }
#bo_v_info .profile_info_ct a { color:var(--c-muted); }
#bo_v_info .if_date { color:var(--c-faint) !important; }

#bo_v_top, #bo_v_bot { padding:16px 0; }
#bo_v_top .btn_bo_user, #bo_v_bot .btn_bo_user { display:flex; gap:10px; flex-wrap:wrap; list-style:none; padding:0; margin:0; }
#bo_v_top .btn_bo_user .more_btn ul, #bo_v_bot .more_opt { list-style:none; padding:8px 0; margin:6px 0 0; background:var(--c-bg2); border:1px solid var(--c-br); border-radius:10px; }
#bo_v_top .more_opt a, #bo_v_bot .more_opt a { display:block; padding:8px 16px; color:#c3cde0; }

#bo_v_atc { padding:30px 0; border-top:1px solid var(--c-br); }
#bo_v_atc_title { display:none; }
#bo_v_img { margin-bottom:24px; text-align:center; }
#bo_v_img img { max-width:100%; height:auto; border-radius:14px; border:1px solid var(--c-br); margin:0 auto 14px; display:block; }
#bo_v_con { font-size:16px; line-height:1.95; color:#dce3f0; min-height:120px; word-break:break-all; }
#bo_v_con img { max-width:100%; height:auto; border-radius:12px; margin:10px 0; }
#bo_v_con a { color:var(--c-cyan); }
#bo_v_con h1,#bo_v_con h2,#bo_v_con h3 { color:#fff; }

/* files / links */
#bo_v_file, #bo_v_link { margin-top:24px; }
#bo_v_file h2, #bo_v_link h2 { font-size:14px; color:var(--c-muted); margin-bottom:10px; }
#bo_v_file ul, #bo_v_link ul { list-style:none; padding:0; margin:0; }
#bo_v_file li, #bo_v_link li { background:var(--c-card); border:1px solid var(--c-br); border-radius:10px; padding:12px 16px; margin-bottom:8px; }
#bo_v_file li a, #bo_v_link li a { color:var(--c-cyan); }
.bo_v_file_cnt, .bo_v_link_cnt { color:var(--c-faint); font-size:12px; }

/* prev / next */
.bo_v_nb { list-style:none; padding:0; margin:30px 0 0; border-top:1px solid var(--c-br); }
.bo_v_nb li { display:flex; align-items:center; gap:14px; padding:16px 4px; border-bottom:1px solid var(--c-br); }
.bo_v_nb .nb_tit { flex:none; width:80px; color:var(--c-cyan); font-size:13px; font-weight:600; }
.bo_v_nb a { color:#c3cde0; font-size:15px; }
.bo_v_nb .nb_date { margin-left:auto; color:var(--c-faint); font-size:12px; }

/* good / nogood */
#bo_v_act { text-align:center; margin:26px 0; }
#bo_v_act .bo_v_good, #bo_v_act .bo_v_nogood { display:inline-flex; flex-direction:column; gap:4px; align-items:center;
    padding:14px 26px; border-radius:14px; border:1px solid var(--c-br); background:var(--c-card); color:#c3cde0 !important; margin:0 6px; }

/* ---- comments (view_comment.php) ---- */
#bo_vc { margin-top:40px; padding-top:30px; border-top:1px solid var(--c-br); }
#bo_vc h2 { color:#fff; font-size:18px; margin-bottom:18px; }
#bo_vc article, #bo_vc .cmt_contents { color:#dce3f0; }
#bo_vc .cmt_info, #bo_vc .sound_only + strong { color:var(--c-muted); }
#bo_vc textarea { width:100%; min-height:90px; background:var(--c-bg2); border:1px solid var(--c-br); border-radius:12px; color:#fff; padding:14px; font-size:14px; }
#bo_vc .btn_submit { margin-top:10px; }

/* ====================================================================
   WRITE
   ==================================================================== */
#bo_w { width:100% !important; max-width:840px; margin:0 auto; padding:20px 0 50px; }
#bo_w .write_div { margin-bottom:14px; }
#bo_w label { color:var(--c-muted); font-size:13px; }
#bo_w .frm_input, #bo_w select, #bo_w textarea {
    width:100%; min-height:48px; background:var(--c-bg2); border:1px solid var(--c-br); border-radius:11px;
    color:#fff; padding:0 16px; font-size:15px; transition:border-color .2s;
}
#bo_w textarea { padding:14px 16px; min-height:300px; line-height:1.7; }
#bo_w .frm_input:focus, #bo_w select:focus, #bo_w textarea:focus { outline:0; border-color:rgba(34,211,238,.5); }

/* DHTML editor: editing area is a separate iframe/textarea document.
   Keep it on a white "paper" so default black text stays readable. */
#bo_w .wr_content iframe { background:#fff !important; }
#bo_w .wr_content textarea { background:#fff !important; color:#1a2230 !important; border-color:#d4dae6 !important; }
#bo_w .wr_content textarea:focus { border-color:#3b82f6 !important; }
#bo_w .half_input { width:calc(50% - 6px); display:inline-block; margin:0 3px 8px 0; }
#bo_w .full_input { width:100%; }
#bo_w .bo_v_option { list-style:none; padding:0; margin:0; display:flex; gap:18px; flex-wrap:wrap; }
#bo_w .bo_v_option label { color:#c3cde0; font-size:14px; }
#bo_w .bo_w_flie { background:var(--c-card); border:1px solid var(--c-br); border-radius:12px; padding:14px; }
#bo_w .file_wr { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
#bo_w .lb_icon { color:var(--c-cyan); }
#bo_w .frm_file { color:var(--c-muted); font-size:13px; }
#bo_w .file_del { display:block; margin-top:8px; color:var(--c-muted); font-size:13px; }
#bo_w #char_count_desc, #bo_w #char_count_wrap { color:var(--c-faint); font-size:12px; margin:8px 0; }
#bo_w .btn_confirm { display:flex; gap:12px; justify-content:center; margin-top:26px; }
#bo_w .btn_cancel { background:var(--c-card); border:1px solid var(--c-br); color:#fff !important; height:50px; padding:0 30px; border-radius:12px; display:inline-flex; align-items:center; }
#bo_w .btn_submit { height:50px; padding:0 40px; border-radius:12px; font-size:16px; font-weight:700; cursor:pointer; }
#bo_w #autosave_pop { background:var(--c-bg2); border:1px solid var(--c-br); border-radius:12px; color:#fff; padding:14px; }
#bo_w #captcha { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }


/* ====================================================================
   responsive
   ==================================================================== */
@media (max-width:1100px){ .ms_pf_grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:820px){
    .ms_pf_grid{ grid-template-columns:repeat(2,1fr); }
    #bo_v_title{ font-size:24px; }
    #bo_w .half_input{ width:100%; margin-right:0; }
}
@media (max-width:520px){
    .ms_pf_grid{ grid-template-columns:1fr; }
    .bo_v_nb .nb_tit{ width:64px; }
}