@charset "utf-8";

/* =========================
   board popular slider
   ========================= */
.yboss-board-popular-wrap{
    margin:0 0 24px;
    padding:20px 22px 22px;
    border-radius:18px;
    background:
        radial-gradient(circle at top left, rgba(254,229,0,.12) 0, rgba(254,229,0,0) 34%),
        linear-gradient(180deg, #10141b 0%, #0b0f15 100%);
    border:1px solid rgba(254,229,0,.16);
    box-shadow:0 12px 28px rgba(0,0,0,.20);
}
.yboss-board-popular-head{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin:0 0 18px;
}
.yboss-board-popular-title{
    margin:0;
    color:#fee500;
    font-size:24px;
    font-weight:900;
    letter-spacing:-0.03em;
    line-height:1.1;
}
.yboss-board-popular-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:190px;
    height:44px;
    padding:0 18px;
    border-radius:999px;
    border:1px solid rgba(254,229,0,.24);
    background:rgba(104,92,0,.12);
    color:#d8d7c1;
    font-size:15px;
    font-weight:700;
}
.yboss-board-popular-slider{
    overflow:hidden;
    width:100%;
}
.yboss-board-popular-track{
    display:flex;
    gap:18px;
    will-change:transform;
    transition:transform .75s cubic-bezier(.22,.61,.36,1);
}
.yboss-board-popular-card{
    flex:0 0 calc((100% - 54px) / 4);
    display:block;
    text-decoration:none !important;
    color:#f4f4f4 !important;
}
.yboss-board-popular-thumb{
    position:relative;
    display:block;
    width:100%;
    aspect-ratio:16 / 9;
    background:#0e1118;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 22px rgba(0,0,0,.24);
}
.yboss-board-popular-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.yboss-board-popular-noimg{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    background:#11151d;
    color:#8892a0;
    font-size:15px;
    font-weight:700;
}
.yboss-board-popular-badge{
    position:absolute;
    left:10px;
    top:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-width:82px;
    height:34px;
    padding:0 14px;
    border-radius:12px;
    background:#fee500;
    color:#111;
    font-size:15px;
    font-weight:900;
    box-shadow:0 8px 18px rgba(254,229,0,.20);
}
.yboss-board-popular-body{
    display:block;
    padding:14px 6px 0;
}
.yboss-board-popular-subject{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:58px;
    color:#fff;
    font-size:18px;
    font-weight:800;
    line-height:1.45;
    letter-spacing:-0.02em;
}
.yboss-board-popular-meta{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
    margin-top:10px;
    color:#8f97a3;
    font-size:14px;
    font-weight:700;
}
.yboss-board-popular-hit i,
.yboss-board-popular-date i{
    margin-right:6px;
    color:#fee500;
}
.yboss-board-popular-empty{
    padding:24px 18px;
    border-radius:14px;
    background:#11141a;
    border:1px solid rgba(255,255,255,.06);
    color:#9ca3af;
    text-align:center;
}

/* =========================
   gallery main list styles
   ========================= */
#bo_gall {margin:0 auto;color:#f5f5f5}
#bo_gall *, #bo_gall *:before, #bo_gall *:after {box-sizing:border-box}
#bo_gall a {text-decoration:none}
#bo_gall ul {list-style:none;padding:0;margin:0}

#bo_btn_top, .bo_fx {display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 20px}
.btn_bo_user {display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.btn_bo_user li {position:relative}
.btn_bo_user .btn {display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;background:#14161b;border:1px solid rgba(254,229,0,.18);color:#f5f5f5}
.btn_bo_user .btn:hover {background:#fee500;color:#111;border-color:#fee500}
.btn_admin.btn {background:#fee500;color:#111}
.more_opt {display:none;position:absolute;top:52px;right:0;min-width:120px;background:#14161b;border:1px solid rgba(254,229,0,.18);border-radius:12px;padding:6px;z-index:20;box-shadow:0 12px 30px rgba(0,0,0,.32)}
.more_opt li button, .more_opt li a {display:block;width:100%;padding:10px 12px;background:transparent;border:0;color:#f5f5f5;text-align:left;border-radius:8px}
.more_opt li button:hover, .more_opt li a:hover {background:#1b1f25;color:#fee500}

#bo_cate {margin:0 0 20px}
#bo_cate h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_cate_ul {display:flex;gap:8px;flex-wrap:wrap}
#bo_cate_ul li a {display:inline-flex;align-items:center;justify-content:center;min-width:74px;height:38px;padding:0 16px;border-radius:999px;background:#14161b;border:1px solid rgba(254,229,0,.16);color:#d9d9d9;font-weight:600}
#bo_cate_ul li a:hover, #bo_cate_ul li#bo_cate_on a {background:#fee500;border-color:#fee500;color:#111}

#gall_allchk {margin:0 0 20px;color:#d8d8d8}
#gall_allchk label {cursor:pointer}
#gall_allchk .selec_chk {margin-right:8px}

#gall_ul.gall_row {display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:18px}
#gall_ul .gall_li {width:100%;min-width:0}
.gall_box {position:relative;height:100%;background:linear-gradient(180deg,#101319 0%, #0c0f13 100%);border:1px solid rgba(254,229,0,.12);border-radius:18px;overflow:hidden;box-shadow:0 14px 30px rgba(0,0,0,.3);transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease}
.gall_box:hover {transform:translateY(-3px);border-color:rgba(254,229,0,.26);box-shadow:0 18px 36px rgba(0,0,0,.42)}
.gall_now .gall_box {border-color:#fee500}

.gall_chk {position:absolute;top:12px;left:12px;z-index:5}
.gall_chk .selec_chk {position:absolute;opacity:0}
.gall_chk label {display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:10px;background:rgba(0,0,0,.45);backdrop-filter:blur(4px);cursor:pointer;border:1px solid rgba(255,255,255,.16)}
.gall_chk label span {display:block;width:14px;height:14px;border-radius:4px;background:#fff}
.gall_chk .selec_chk:checked + label {background:#fee500;border-color:#fee500}
.gall_chk .selec_chk:checked + label span {background:#111}

.gall_img {position:relative;width:100%;aspect-ratio:16 / 10;overflow:hidden;background:#090b0f}
.gall_img img, .gall_img video {display:block;width:100%;height:100%;object-fit:cover}
.no_image, .is_notice {display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-weight:700;color:#111;background:#fee500}

.gall_con {padding:16px}
.bo_tit {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:50px;margin:0 0 14px;color:#fff;font-size:17px;font-weight:700;line-height:1.5;letter-spacing:-0.02em}
.bo_tit:hover {color:#fee500}
.cnt_cmt {display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;margin-left:6px;border-radius:999px;background:#fee500;color:#111;font-size:12px;font-weight:800;vertical-align:middle}

.gall_meta_row {display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.bo_cate_link {display:inline-flex;align-items:center;justify-content:center;min-width:64px;height:30px;padding:0 14px;border-radius:10px;background:#fee500;color:#111;font-size:13px;font-weight:800}
.gall_view, .meta_date {display:inline-flex;align-items:center;gap:6px;color:#c1c4cb;font-size:14px}
.gall_view i, .meta_date i {color:#fee500}
.meta_date {margin-left:auto;color:#9aa0aa}

.empty_list {grid-column:1 / -1;padding:80px 20px;text-align:center;background:#101319;border:1px solid rgba(254,229,0,.12);border-radius:18px;color:#aaa}
#bo_gall .pg_wrap {margin:26px 0 0;text-align:center}
#bo_gall .pg_page, #bo_gall .pg_current, #bo_gall .pg_start, #bo_gall .pg_end, #bo_gall .pg_prev, #bo_gall .pg_next {display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;margin:0 4px;border-radius:10px;border:1px solid rgba(254,229,0,.12);background:#14161b;color:#f5f5f5}
#bo_gall .pg_current {background:#fee500;border-color:#fee500;color:#111;font-weight:800}
#bo_gall .pg_page:hover, #bo_gall .pg_start:hover, #bo_gall .pg_end:hover, #bo_gall .pg_prev:hover, #bo_gall .pg_next:hover {background:#1c2127;color:#fee500}

/* bottom search bar */
.bo_search_bottom{margin:24px auto 14px;max-width:760px}
.bo_search_bottom form{margin:0}
.bo_search_inner{display:flex;align-items:center;gap:12px}
.bo_search_field{
    flex:1;
    background:#1f1f20;
    border:2px solid #fee500;
    border-radius:24px;
    box-shadow:0 0 8px rgba(254,229,0,.10);
    overflow:hidden;
}
.bo_search_field .sch_input{
    width:100%;
    height:52px;
    padding:0 20px;
    border:0;
    background:transparent;
    color:#fff;
    font-size:16px;
    font-weight:500;
}
.bo_search_field .sch_input::placeholder{color:rgba(255,255,255,.35)}
.bo_search_field .sch_input:focus{outline:none;box-shadow:none}
.sch_submit_btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:92px;
    min-width:92px;
    height:52px;
    border:0;
    border-radius:20px;
    background:#fee500;
    color:#111;
    font-size:22px;
    box-shadow:0 0 8px rgba(254,229,0,.12);
}
.sch_submit_btn:hover{background:#fff06a}
.bo_sch_wrap{display:none !important}

/* =========================
   gallery view page styles
   ========================= */
#bo_v.yb-view-wrap{
    max-width:1360px;
    margin:0 auto 42px;
    color:#f5f5f5;
}
#bo_v *, #bo_v *:before, #bo_v *:after{box-sizing:border-box}

#bo_v .yb-player-card{
    background:linear-gradient(180deg,#0f1116 0%, #090b10 100%);
    border:1px solid rgba(254,229,0,.16);
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 20px 48px rgba(0,0,0,.38);
}
#bo_v .yb-media-box{background:#000}
#bo_v .yb-main-video,
#bo_v .yb-fallback-image img{
    display:block;
    width:100%;
    max-height:78vh;
    object-fit:contain;
    background:#000;
}
#bo_v .yb-video-iframe-wrap,
#bo_v .yb-html-media iframe{
    position:relative;
    width:100%;
    background:#000;
}
#bo_v .yb-video-iframe-wrap{padding-top:56.25%}
#bo_v .yb-video-iframe-wrap iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
}
#bo_v .yb-html-media{width:100%;background:#000}
#bo_v .yb-html-media video,
#bo_v .yb-html-media iframe{
    display:block;
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
    background:#000;
}
#bo_v .yb-html-media video{
    max-height:78vh;
    object-fit:contain;
}
#bo_v .yb-html-media iframe{
    aspect-ratio:16 / 9;
    min-height:420px;
    border:0;
}
#bo_v .yb-no-media{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:360px;
    font-size:28px;
    font-weight:900;
    color:#111;
    background:#fee500;
}

#bo_v .yb-warning-wrap{padding:16px 18px 0}
#bo_v .yb-warning-box{
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px 16px;
    color:#f2d45c;
    background:linear-gradient(180deg, rgba(75,60,10,.72) 0%, rgba(48,38,8,.72) 100%);
    border:1px solid rgba(254,229,0,.24);
    border-radius:14px;
    font-size:15px;
    font-weight:700;
}
#bo_v .yb-warning-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:24px;
    height:24px;
    border-radius:999px;
    background:#fee500;
    color:#111;
    font-weight:900;
    flex:0 0 auto;
}

#bo_v .yb-content-box{padding:28px 32px 30px}
#bo_v .yb-subject{
    margin:0 0 22px;
    color:#fff;
    font-size:34px;
    line-height:1.32;
    font-weight:900;
    letter-spacing:-0.03em;
}
#bo_v .yb-meta-row{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}
#bo_v .yb-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:76px;
    height:40px;
    padding:0 16px;
    border-radius:12px;
    background:#fee500;
    color:#111;
    font-weight:900;
    font-size:16px;
}
#bo_v .yb-meta-item{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#c8ccd3;
    font-size:18px;
    font-weight:600;
}
#bo_v .yb-meta-item i,
#bo_v .yb-time-chip i{color:#fee500}
#bo_v .yb-time-chip{
    margin-left:auto;
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-width:92px;
    height:40px;
    padding:0 14px;
    border-radius:12px;
    background:#1a1d23;
    border:1px solid rgba(255,255,255,.08);
    color:#f5f5f5;
    font-weight:800;
    font-size:16px;
}
#bo_v .yb-action-row{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:22px;
}
#bo_v .yb-action-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:92px;
    height:42px;
    padding:0 18px;
    border-radius:12px;
    background:#1a1d23;
    border:1px solid rgba(254,229,0,.20);
    color:#f5f5f5;
    text-decoration:none;
    font-weight:800;
}
#bo_v .yb-action-btn:hover{
    background:#fee500;
    color:#111;
    border-color:#fee500;
}
#bo_v .yb-action-btn.yb-danger{border-color:rgba(255,255,255,.12)}

#bo_v .bo_v_nb,
#bo_v .bo_v_share,
#bo_v .bo_vc,
#bo_v .bo_vc_w,
#bo_v .btn_vc,
#bo_v .bo_v_com,
#bo_v .bo_v_file,
#bo_v .bo_v_link,
#bo_v .bo_v_top,
#bo_v .bo_v_bot,
#bo_v .bo_v_info,
#bo_v .bo_v_act,
#bo_v .bo_v_btn,
#bo_v .bo_v_left,
#bo_v .bo_v_right,
#bo_v .bo_v_title,
#bo_v .bo_v_atc{display:none !important}

@media (max-width:1399px){
  .yboss-board-popular-card{flex-basis:calc((100% - 36px) / 3);}
}
@media (max-width:1280px){
  #gall_ul.gall_row {grid-template-columns:repeat(3, minmax(0, 1fr));}
}
@media (max-width:991px){
  .yboss-board-popular-card{flex-basis:calc((100% - 18px) / 2);}
  #gall_ul.gall_row {grid-template-columns:repeat(2, minmax(0, 1fr));gap:14px}
  .bo_tit {font-size:16px;min-height:48px}
  #bo_v.yb-view-wrap{margin-bottom:28px}
  #bo_v .yb-warning-wrap{padding:12px 12px 0}
  #bo_v .yb-warning-box{font-size:13px;padding:12px 12px}
  #bo_v .yb-content-box{padding:22px 18px 22px}
  #bo_v .yb-subject{font-size:26px;margin-bottom:16px}
  #bo_v .yb-meta-row{gap:12px}
  #bo_v .yb-chip{min-width:68px;height:36px;font-size:14px}
  #bo_v .yb-meta-item{font-size:15px}
  #bo_v .yb-time-chip{margin-left:0;font-size:14px;height:36px}
  #bo_v .yb-action-row{justify-content:flex-start;margin-top:18px}
}
@media (max-width:767px){
  .yboss-board-popular-wrap{padding:16px 14px 18px;}
  .yboss-board-popular-title{font-size:20px;}
  .yboss-board-popular-pill{min-width:160px;height:38px;font-size:13px;}
  .yboss-board-popular-card{flex-basis:100%;}
  .yboss-board-popular-subject{font-size:16px;min-height:auto;}
  #bo_btn_top, .bo_fx {flex-direction:column;align-items:flex-start}
  #gall_ul.gall_row {grid-template-columns:1fr;gap:12px}
  .gall_con {padding:14px}
  .bo_tit {font-size:16px;min-height:auto}
  .gall_meta_row {gap:10px}
  .meta_date {margin-left:0}
  .bo_search_bottom{max-width:100%}
  .bo_search_inner{gap:10px}
  .bo_search_field .sch_input{height:46px;font-size:15px;padding:0 16px}
  .sch_submit_btn{width:76px;min-width:76px;height:46px;border-radius:16px;font-size:20px}
  #bo_v .yb-html-media iframe{min-height:240px}
}
