@charset "utf-8";

/* 초기화 */
html {overflow-y:scroll}
body {margin:0;padding:0;font-size:0.75em;font-family:'Pretendard', sans-serif;background:#fff}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:'Pretendard', sans-serif}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}

ul, dl,dt,dd {margin:0;padding:0;list-style:none}
legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img {vertical-align:middle;font-size:1em}
input, button {margin:0;padding:0;font-family:'Pretendard', sans-serif;font-size:1em}
input[type="submit"] {cursor:pointer}
button {cursor:pointer}

textarea, select {font-family:'Pretendard', sans-serif;font-size:1em}
select {margin:0}
p {margin:0;padding:0;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
a {color:#000;text-decoration:none}

*, :after, :before {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}

input[type=text],input[type=password], textarea {
-webkit-transition:all 0.30s ease-in-out;
-moz-transition:all 0.30s ease-in-out;
-ms-transition:all 0.30s ease-in-out;
-o-transition:all 0.30s ease-in-out;
outline:none;
}

input[type=text]:focus,input[type=password]:focus, textarea:focus,select:focus {
}

#bo_w .bo_w_info .frm_input:focus {
    border: 2px solid #313342;
    outline: none; /* 포커스 테두리 제거 (선택 사항) */
}

.wr_content textarea:focus {
    border: 2px solid #313342;
    outline: none;
}

.placeholdersjs {color:#aaa !important}


/* 레이아웃 크기 지정 */
#hd, #wrapper, #ft {min-width:1200px}

#hd_pop,
#hd_wrapper,
#tnb .inner,

#gnb .gnb_wrap,
#container_wr,
#ft_wr {width:1200px}

/* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;height:0}
#hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff}
.hd_pops img {max-width:100%}
.hd_pops_con {}
.hd_pops_footer {padding:0;background:#000;color:#fff;text-align:left;position:relative}
.hd_pops_footer:after {display:block;visibility:hidden;clear:both;content:""}
.hd_pops_footer button {padding:10px;border:0;color:#fff}
.hd_pops_footer .hd_pops_reject {background:#000;text-align:left}
.hd_pops_footer .hd_pops_close {background:#393939;position:absolute;top:0;right:0}

/* 상단 레이아웃 */
#hd { background: linear-gradient(to right, #2979FF, #8E2DE2);}
#hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}

#tnb {border-bottom:1px solid #383838;margin:0 auto}
#tnb:after {display:block;visibility:hidden;clear:both;content:""}
#tnb .inner {margin:0 auto}

#hd_wrapper {position:relative;margin:0 auto;height:140px;zoom:1}
#hd_wrapper:after {display:block;visibility:hidden;clear:both;content:""}

#logo {float:left;padding:30px 0 0}
.logo_img {height:54px; width:auto;}

.fa-search {
  color: #525bf4;
}

#hd_sch #sch_stx:focus {
  border: none !important;
  outline: none !important; /* 기본 브라우저 외곽선도 제거 */
}

.hd_sch_wr {float:left;padding:30px 0;width:445px;margin-left:65px}
#hd_sch h3 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_sch {border-radius:30px;overflow:hidden}
#hd_sch #sch_stx {float:left;width:385px;height:45px;padding-left:10px;border-radius:30px 0 0 30px;background:#fefefe;border:0;border-right:0;font-size:1.25em;color:#2c2c2c}
#hd_sch #sch_submit {float:left;width:60px;height:45px;border:0;background:#fff;color:#fff;border-radius:0 30px 30px 0;cursor:pointer;font-size:18px}

#hd_define {float:left}
#hd_define:after {display:block;visibility:hidden;clear:both;content:""}
#hd_define li {float:left;font-size:1.083em;line-height:14px;border-right:1px solid #4a4a4a;position:relative;text-align:center;margin:15px 10px 15px 0;padding-right:10px}
#hd_define li:last-child {padding-right:0;margin-right:0;border-right:0}
#hd_define li a {display:inline-block;color:#919191}
#hd_define li.active a {color:#fff}

#hd_qnb {float:right;text-align:right}
#hd_qnb:after {display:block;visibility:hidden;clear:both;content:""}
#hd_qnb li {float:left;font-size:13px;line-height:14px;border-right:1px solid #4a4a4a;position:relative;text-align:center;margin:15px 10px 15px 0;padding-right:10px}
#hd_qnb li:last-child {padding-right:0;margin-right:0;border-right:0}
#hd_qnb li span {display:block;margin-top:5px;font-size:0.92em}
#hd_qnb li a {display:inline-block;color:#cecece}
#hd_qnb .visit .visit-num {display:inline-block;line-height:16px;padding:0 5px;margin-left:5px;border-radius:10px;background:#da22f5;color:#fff;font-size:10px}


.hd_login {position:absolute;right:0;top:60px}
.hd_login li {float:left;margin:0 5px;border-left:1px solid #616161;padding-left:10px;line-height:13px}
.hd_login li:first-child {border-left:0; margin-top:-18px;}
.hd_login li:nth-child(2) {
    margin-top: -18px;
}
.hd_login a {color:#fff; font-size:13px;}


/* 메인메뉴 */
#gnb {position:relative;background:#fff}
#gnb > h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#gnb .gnb_wrap {margin:0 auto;position:relative; padding-bottom:15px; padding-top:4px;}
#gnb .gnb_wrap:hover, #gnb .gnb_wrap:focus, #gnb .gnb_wrap:active{z-index:3}
#gnb #gnb_1dul {font-size:1.083em;padding:0;border-bottom:1px solid #e0e2e5;zoom:1}
#gnb ul:after {display:block;visibility:hidden;clear:both;content:""}
#gnb .gnb_1dli {float:left;line-height:47px;padding:0px;position:relative}
#gnb .gnb_1dli:hover > a {color:#525bf4;
-webkit-transition:background-color 2s ease-out;
-moz-transition:background-color 0.3s ease-out;
-o-transition:background-color 0.3s ease-out;
transition:background-color 0.3s ease-out}

.gnb_1dli .bg {position:absolute;top:24px;right:8px;display:inline-block;width:10px;height:10px;overflow:hidden;background:url('./images/gnb_bg2.gif') no-repeat 50% 50%;text-indent:-999px}
.gnb_1da {display:block;font-weight:bold;padding:15px; color:#080808;text-decoration:none}
.gnb_1dli.gnb_al_li_plus .gnb_1da{padding-right:25px}
.gnb_2dli:first-child {border:0}
.gnb_2dul {display:none;position:absolute;top:54px;min-width:140px;padding-top:2px}
.gnb_2dul .gnb_2dul_box {border:1px solid #e0e2e5;border-top:0;padding:0;
-webkit-box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2);
-moz-box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2);
box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2)}
.gnb_2da {display:block;padding:0 10px;line-height:40px;background:#fff;color:#080808;text-align:left;text-decoration:none}
a.gnb_2da:hover {color:#3a8afd;background:#f7f7f8;
-moz-transition:all 0.3s ease-out;
-o-transition:all 0.3s ease-out;
transition:all 0.3s ease-out}

.gnb_1dli_air .gnb_2da {}
.gnb_1dli_on .gnb_2da {}
.gnb_2da:focus, .gnb_2da:hover {color:#fff}
.gnb_1dli_over .gnb_2dul {display:block;left:0}
.gnb_1dli_over2 .gnb_2dul {display:block;right:0}
.gnb_wrap .gnb_empty {padding:10px 0;width:100%;text-align:center;line-height:2.7em;color:#080808}
.gnb_wrap .gnb_empty a {color:#3a8afd;text-decoration:underline}
.gnb_wrap .gnb_al_ul .gnb_empty, .gnb_wrap .gnb_al_ul .gnb_empty a {color:#555}

#gnb .gnb_menu_btn {background:linear-gradient(to right, #2979FF, #8E2DE2);color:#eee;width:100%;height:54px;border:0;vertical-align:top;font-size:15px;font-weight:600; border-radius:12px; margin-bottom:12px;}
#gnb .gnb_close_btn {border-radius:8px;width:34px;height:34px;border:0; margin-left:10px; background:transparent}
#gnb .gnb_mnal {float:left;padding:0;width:100%}

#gnb_all {
    display: none;
    position: fixed;           
    top: 0;
    left: 0;
    width: 100%;               
    height: 100%;              
    background: #f1f3f8;
    z-index: 1000;
    border: none;               
    box-shadow: none;           
    overflow-y: scroll;          
}

.all_menu_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 71%;
    min-width: 524px;
}

.all_menu_top .inorup {
    font-size: 13px;
    color: #2c2c2c;
    padding-top: 12px;
}

.inorup a {
  text-decoration: none;
  position: relative;
  transition: font-size 0.3s ease;
}

.inorup a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px; /* 글자 아래 1px 떨어진 위치 */
  width: 100%;
  height: 1px;
  background-color: currentColor; /* 글자색과 동일한 색상 */
}

.inorup a.no-after:hover::after {
  content: none !important;
  display: none !important;
}

.ad-badge77 {
    font-weight: 600;
    margin-right: 6px;
    padding: 4px 7px;
    border-radius: 4px;
    background: #2c2c2c;
    color: #fff;
}

/* 폰트 크기 트랜지션 효과 */
.no-after {
    font-size: 14px; /* 원하는 초기값 */
    transition: font-size 0.3s ease;
}


.no-after:hover {
  font-size: 15px;
}

.gnb_top_menu .gnb_al_li a {
    display: flex;
    align-items: center;
}

.gnb_top_menu .all_menu_icon {
    width: 40px;      
    height: 40px;
    margin-right: 4px; 
    object-fit: contain; 
}

.allgnb_logo {
    width: 141px;          
    max-width: 30vw;       
    height: auto;          
    margin: 40px 30px 30px 24px; 
    display: block;
}

.gnb_sch_wr {
   padding-left:30px;
}

.gnb_top_menu,
.gnb_bottom_menu {
    padding-left: 14px;
    margin-top:30px;
}

.gnb_top_menu {
    padding-left:30px;
}

.gnb_bottom_menu {
    padding-left: 0px;
    margin-top:20px;
    margin-bottom:20px;
}

.gglink_container {
  display: flex;
  gap: 10px;
  padding-left:30px;
}

.link_ggitem {
  height: 100%;
  text-decoration: none;
  color: #080808;
  gap: 3px;
  box-sizing: border-box;
  font-size: 14px;
  width: 16.5%;
    display: flex;
    align-items: center;
    max-width: 200px;
    min-width: 142px;
    background:#fff;
    font-weight:600;
    border-radius:14px;
     padding: 22px 14px;
    transition: color 0.3s ease;
    min-width:150px;
}


.link_ggitem:hover {
  color: #525bf4;
}

#gnb_all h2 {font-size:18px;padding:15px 34px;padding-bottom:18px; min-width:316px;}
#gnb_all .gnb_al_ul:after {display:block;visibility:hidden;clear:both;content:""}
#gnb_all .gnb_al_ul > li:nth-child(5n+1) {border-left:0}
#gnb_all .gnb_al_li {float:left;width:20%;padding:20px;border-left:1px solid #efefef}
#gnb_all .gnb_al_li .gnb_al_a {font-size:1.2em;position:relative;margin-bottom:10px;font-weight:bold;color:#3a8afd}
#gnb_all .gnb_al_li li {line-height:2em}
#gnb_all .gnb_al_li li a {color:#555}
#gnb_all_bg {display:none;background:rgba(0,0,0,0.1);width:100%;height:100%;position:fixed;left:0;top:0;z-index:999}
#gnb_all {
    padding: 0px 245px; /* 기본값: 600px 이상 */
}

.gglink_container {
  display: flex;
  gap: 10px;
  padding-left:30px;
}

.telegram-banner {
  padding: 0 30px;
  display: flex;
  align-items: center;
  margin-top: 25px;
}

.telegram-box {
  background: #eee;
  width: 100%;
  min-width: 674px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 20px 18px;
  margin-bottom:60px;
  max-width:840px;
  margin-top:4px;
}

.telegram-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
}

.telegram-icon {
  width: 30px;
  height: 30px;
  display: block;
}

.telegram-title {
  color: #2c2c2c;
  font-weight: 700;
  font-size: 15px;
}

.telegram-id {
  color: #00a9eb;
  font-size: 19px;
  margin-left: 5px;
   transition: color 0.2s ease;
}

.telegram-text {
  font-size: 13px;
  line-height: 1.4;
  color: #333;
}

.telegram-body {
  width:100%;
  padding-left: 3px;

}

.telegram-id:hover {
    color: #0080c9;
}

.telegram-text a {
  color: #3c3c3c;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.telegram-text a:hover {
  color: #525bf4;
}

#gnb_all h3 {font-size:18px;padding:15px 34px;padding-bottom:18px; min-width:316px;}

@media (max-width: 599px) {
    #gnb_all {
        padding: 0px 50px;
    }
}

@media (max-width: 499px) {
    #gnb_all {
        padding: 0px 20px;
    }
}

/* 핫플레이(PC) */

.hot_play_wrap {
    padding: 14px 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: #eee;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hot_play_intro img {
    width: 36px;
    height: 36px;
    margin-left: 5px;
    position: relative;
    top: -1.1px;
}

.hot_maintxt {
    font-weight: 600;
    color: #fff;
    font-size: 16px;
    margin-left: -5px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.pla_maintxt {
    font-weight: 600;
    color: #fff;
    font-size: 16px;
    margin-left: -2.5px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.hot_subtxt {
    font-weight: 400;
    color: #cecece;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.center_txt {
    font-size: 12px;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    top: -1px;
}

.hotplay-files {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
}

.hotplay-item {
    box-sizing: border-box;
    width: 33.1%;
    max-width:375px;
}

.hotplay-item img {
    width: 100%;
    height: auto;
    max-width: 375px;
    max-height: 100px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.88), rgba(28, 28, 28, 0.82), rgba(12, 12, 12, 0.92));
    border: 3px solid #ef3b00
}

@media (max-width: 768px) {
    .hotplay-item {
        width: 50%;
    }
}

.hotplay-item a {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

/* 호버 시 위로 살짝 이동 + z-index 상승 */
.hotplay-item a:hover {
    transform: translateY(-7px);
    z-index: 50;
}

.hotplay-item img {
    width: 100%;
    height: auto;
    max-width: 375px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 4px;
    transition: opacity 0.3s ease-in-out; /* 트랜지션 유지 (변형 X) */
}

/* PC 전용 빈영상 표시 (모바일/태블릿에서는 숨김) */

.pc-only {
    display: inline-block;
}
.mobile-only {
    display: none;
}

/* 미디어 쿼리로 모바일/태블릿에서 PC용 빈영상 숨기고 모바일용 빈영상 표시 */
@media screen and (max-width: 1024px) {
    .pc-only {
        display: none !important;
    }
    .mobile-only {
        display: inline-block !important;
    }
}

/* 플래티넘 */

.platinum_wrap {
    padding: 0px;
    background: transparent;
    border-radius: 12px;
    margin-bottom: 20px;
}

.platinum_intro img {
    width: 30px;
    height: 30px;
    margin-left:-3px;
}

#platinum-title {
    color: #080808;
    font-weight: 700;
    font-size: 16px;
}

.platinum-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.platinum-item {
    width: 32.57%; /* PC 3개 기준 */
    box-sizing: border-box;
}

.platinum-item a {
    display: block;
    overflow: hidden;
    text-decoration: none;
    border-radius:4px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.platinum-item a:hover {
    transform: translateY(-5px);
    z-index: 50;
}

.platinum-item img {
    width: 100%;
    object-fit: cover;  
}

.platinum-item p {
    padding: 8px;
    text-align: center;
    color:#080808;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.pla_ca_name {
    color: #555;
    font-size: 12px;
    font-weight:400
}

.pla_subtxt {
    font-weight: 400;
    color: #555;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.pla_center_txt {
    font-size: 12px;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    top: -1px;
}

/* 빈 아이템 공통 스타일 */

ul.platinum-list li.platinum-item img.pla_empty_img {
    border-radius: 0;
}

.empty-item img {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-radius: 8px 8px 0 0;
}

.empty-item p {
    color: #ffd700;
}

/* 반응형: 모바일/태블릿에서 PC용 빈 아이템 숨기고 모바일용 빈 아이템 표시 */
@media screen and (max-width: 768px) {
    .platinum-item {
        width: 48%; /* 모바일 2개 기준 */
        max-width: none;
    }
}

.pla_text_wrap {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    background:#ededed
}


.platinum-item h3.pla_server_name {
    color: #080808;
    font-weight: 500;
    font-size: 14px;
    margin: 0;
}

.platinum-item p.pla_ca_name {
    color: #555;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
}

/* 중간 레이아웃 */
#wrapper {}
#container_wr:after {display:block;visibility:hidden;clear:both;content:""}
#container_wr {margin:0 auto;zoom:1}
#aside {float:left;width:235px;padding:0;height:100%;margin-top:24px;margin-right:20px;}

#container {position:relative;float:right;min-height:500px;height:auto !important;margin:24px 0;height:500px;font-size:1em;width:930px;zoom:1}
#container:after {display:block;visibility:hidden;clear:both;content:""}
#container_title {font-size:1.333em;margin:0 auto;font-weight:bold}
#container_title span {margin:0 auto 10px;display:block;line-height:30px}

.latest_wr {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* 아이템 간 간격 */
    margin-bottom: -4px;
}

.lt_wr {
    flex: 0 0 calc(50% - 10px); /* 2개씩 배치되도록 너비 조정 */
    box-sizing: border-box;
}
.latest_wr:after {display:block;visibility:hidden;clear:both;content:""}
.latest_top_wr {margin:0 -10px 20px}
.latest_top_wr:after {display:block;visibility:hidden;clear:both;content:""}
.lt_wr:nth-child(2n+1) {
  clear: both;
}

/* 하단 레이아웃 */
#ft {
  background: #212020;
  color: #ccc;
  padding: 10px 20px 0;
  font-size: 14px;
  margin: 50px auto 0;
  text-align: center;
  position: relative;
}

#ft h1 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

#ft_wr {
  margin: 0 auto;
  padding: 15px 0 17px;
  position: relative;
  display: inline-block;
  text-align: left;
  clear: both;
  padding-top:20px;
}

#ft_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  opacity: 0.7;
  transition: opacity 0.3s ease-in-out;
}

#ft_inner:hover {
  opacity: 1;
}

.ft_logo_wrap {
  text-align: center;
}

#ft_logo {
  height: 48px;
  margin-bottom: 2px;
}

.ft_telegram_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 0 0 10px -19px;
}

.ft_telegram_icon img {
  height: 28px;
  transition: transform 0.3s;
  margin-bottom: -2px;
}

.ft_telegram_icon img:hover {
  transform: scale(1.1);
}

.ft_telegram_id {
  font-size: 15px;
  color: #7e7e7e;
}

.ft_links {
  display: flex;
  gap: 7px;
}

.ft_links a {
  display: inline-block;
  padding: 8px 18px;
  color: #333;
  background-color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.7;
  border-radius: 8px;
  font-size: 13px;
  transition: transform 0.3s;
}

.ft_links a:hover {
  transform: scale(1.1);
  text-decoration: none;
}

.ft_links a.ft_tel_aa {
  background-color: #f5f5f5;
  color: #000;
}

.ft_links a.ft_tel_aa:hover {
  transform: scale(1.1);
}

#ft_copy {
  text-align: center;
  width: 1200px;
  margin: 0 auto;
  padding: 15px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  border-top: 1px solid #383838;
}

#top_btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  line-height: 46px;
  border: 2px solid #333;
  color: #333;
  text-align: center;
  font-size: 15px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.5);
}

#top_btn:hover {
  border-color: #3059c7;
  background: #3059c7;
  color: #fff;
}

/* 게시물 선택복사 선택이동 */
#copymove {}
#copymove .win_desc {text-align:center;display:block}
#copymove .tbl_wrap {margin:20px}
#copymove .win_btn {padding:0 20px 20px}
.copymove_current {float:right;background:#ff3061;padding:5px;color:#fff;border-radius:3px}
.copymove_currentbg {background:#f4f4f4}

/* 화면낭독기 사용자용 */
#hd_login_msg {position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden}
.msg_sound_only, .sound_only {display:inline-block !important;position:absolute;top:0;left:0;width:0;height:0;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}

/* 본문 바로가기 */
#skip_to_container a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#skip_to_container a:focus, #skip_to_container a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em}

/* ie6 이미지 너비 지정 */
.img_fix {width:100%;height:auto}

/* 캡챠 자동등록(입력)방지 기본 -pc */
#captcha {display:inline-block;position:relative}
#captcha legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
#captcha #captcha_img {height:50px;background:#f7f7f7;vertical-align:top;padding:0;margin:0}
#captcha #captcha_mp3 {margin:0;display:none;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../img/captcha2.png') no-repeat;text-indent:-999px;border-radius:3px}
#captcha #captcha_reload {
    margin: 0;
    margin-left: 2px;
    padding: 0;
    width: 40px;
    height: 40px;
    border: 0;
    background: url('/img/renum.webp') no-repeat 0 -40px;
    background-size: 40px 40px; /* 이미지 전체 크기 명시 */
    vertical-align: middle;
    overflow: hidden;
    cursor: pointer;
    text-indent: -999px;
    border-radius: 3px;
}
#captcha #captcha_key {margin:0 0 0 3px;padding:0 5px;width:180px;height:40px;border:1px solid #e8e8e8;background:#fff;font-size:15px;font-weight:500;text-align:center;border-radius:8px;vertical-align:top}
#captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em;display:none;}

/* 캡챠 자동등록(입력)방지 기본 - mobile */
#captcha.m_captcha audio {display:block;margin:0 0 5px;width:187px}
#captcha.m_captcha #captcha_img {width:160px;height:60px;border:1px solid #e9e9e9;margin-bottom:3px;margin-top:5px;display:block}
#captcha.m_captcha #captcha_reload {position:static;margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../img/captcha2.png') no-repeat 0 -40px;text-indent:-999px}
#captcha.m_captcha #captcha_reload span {display:none}
#captcha.m_captcha #captcha_key {margin:0;padding:0 5px;width:115px;height:29px;border:1px solid #b8c9c2;background:#f7f7f7;font-size:1.333em;font-weight:bold;text-align:center;line-height:29px;margin-left:3px}
#captcha.m_captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em}
#captcha.m_captcha #captcha_mp3 {width:31px;height:31px;background:url('../img/captcha2.png') no-repeat 0 0 ; vertical-align:top;overflow:hidden;cursor:pointer;text-indent:-9999px;border:none}

/* ckeditor 단축키 */
.cke_sc {margin:0 0 5px;text-align:right}
.btn_cke_sc {display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:1.9em;vertical-align:middle;cursor:pointer}
.cke_sc_def {margin:0 0 5px;padding:10px;border:1px solid #ccc;background:#f7f7f7;text-align:center}
.cke_sc_def dl {margin:0 0 5px;text-align:left;zoom:1}
.cke_sc_def dl:after {display:block;visibility:hidden;clear:both;content:""}
.cke_sc_def dt, .cke_sc_def dd {float:left;margin:0;padding:5px 0;border-bottom:1px solid #e9e9e9}
.cke_sc_def dt {width:20%;font-weight:bold}
.cke_sc_def dd {width:30%}

/* ckeditor 태그 기본값 */
#bo_v_con ul {display:block;list-style-type:disc;margin-top:1em;margin-bottom:1em;margin-left:0;margin-right:0;padding-left:40px}
#bo_v_con ol {display:block;list-style-type:decimal;margin-top:1em;margin-bottom:1em;margin-left:0;margin-right:0;padding-left:40px}
#bo_v_con li {display:list-item}

/* 버튼 */
a.btn,.btn {line-height:35px;height:35px;padding:0 10px;text-align:center;font-weight:bold;border:0;font-size:1.4em;
-webkit-transition:background-color 0.3s ease-out;
-moz-transition:background-color 0.3s ease-out;
-o-transition:background-color 0.3s ease-out;
transition:background-color 0.3s ease-out}

a.btn01 {display:inline-block;padding:7px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;vertical-align:middle}
a.btn01:focus, a.btn01:hover {text-decoration:none}
button.btn01 {display:inline-block;margin:0;padding:7px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none}
a.btn02 {display:inline-block;padding:7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none;vertical-align:middle}
a.btn02:focus, .btn02:hover {text-decoration:none}
button.btn02 {display:inline-block;margin:0;padding:7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none}

.btn_confirm {text-align:right; margin-top:30px !important;} /* 서식단계 진행 */

.btn_submit {
    display: inline-block;
    background: #486bff;
    color: #fff;
    text-align: center;
    border: 0;
    border-radius: 24px; /* 원래 8px → 24px로 변경 */
    padding: 4px 60px;   /* 좌우 여백 크게 */
    line-height: 39px;
    font-size: 1.2em;    /* 기존 15px보다 약간 큼 */
    font-weight: bold;   /* 기존 500 → bold */
    cursor: pointer;
    width: 50%;         /* 기존 50% → 자동 크기 조절 */
    height: auto;        /* 기존 45px → padding에 따라 자동 높이 */
}
.btn_submit:hover {background:#273a8d}
.btn_close {border:1px solid #dcdcdc;cursor:pointer;border-radius:3px;background:#fff}
a.btn_close {text-align:center;line-height:50px}

a.btn_cancel {
    display: inline-block;
    background: #eee;
    color: #3e3e3e;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    border-radius: 24px !important;
    padding: 4px 60px;
    line-height: 39px;
    font-size: 1.2em !important;
    font-weight: bold;
    width: 50% !important;
    height: auto !important;
    margin-right:7px;
}
button.btn_cancel {display:inline-block;background:#969696;color:#fff;text-decoration:none;vertical-align:middle}
.btn_cancel:hover {background:#aaa}
a.btn_frmline, button.btn_frmline {display:inline-block;width:128px;padding:0 5px;height:40px;border:0;background:#434a54;border-radius:3px;color:#fff;text-decoration:none;vertical-align:top} /* 우편번호검색버튼 등 */
a.btn_frmline {}
button.btn_frmline {font-size:1em}

/* 게시판용 버튼 */
a.btn_b01,.btn_b01 {display:inline-block;color:#bababa;text-decoration:none;vertical-align:middle;border:0;background:transparent}
.btn_b01:hover, .btn_b01:hover {color:#000}
a.btn_b02,.btn_b02 {display:inline-block;background:#253dbe;padding:0 10px;color:#fff;text-decoration:none;border:0;vertical-align:middle}
a.btn_b02:hover, .btn_b02:hover {background:#0025eb}
a.btn_b03, .btn_b03 {display:inline-block;background:#fff;border:1px solid #b9bdd3;color:#646982;text-decoration:none;vertical-align:middle}
a.btn_b03:hover, .btn_b03:hover {background:#ebedf6}
a.btn_b04, .btn_b04 {display:inline-block;background:#fff;border:1px solid #ccc;color:#707070;text-decoration:none;vertical-align:middle}
a.btn_b04:hover, .btn_b04:hover {color:#333;background:#f9f9f9}
a.btn_admin,.btn_admin {display:inline-block;color:#d13f4a;text-decoration:none;vertical-align:middle} /* 관리자 전용 버튼 */
.btn_admin:hover, a.btn_admin:hover {color:#ff3746}


/* 기본테이블 */
.tbl_wrap table {width:100%;border-collapse:collapse;border-spacing:0 5px;background:#fff;border-top:1px solid #ececec;border-bottom:1px solid #ececec} 
.tbl_wrap caption {padding:10px 0;font-weight:bold;text-align:left}
.tbl_head01 {margin:0 0 10px}
.tbl_head01 caption {padding:0;font-size:0;line-height:0;overflow:hidden}
.tbl_head01 thead th {padding:20px 0;font-weight:normal;text-align:center;border-bottom:1px solid #ececec;height:40px}
.tbl_head01 thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head01 tfoot th, .tbl_head01 tfoot td {padding:10px 0;border-top:1px solid #c1d1d5;border-bottom:1px solid #c1d1d5;background:#d7e0e2;text-align:center}
.tbl_head01 tbody th {padding:8px 0;border-bottom:1px solid #e8e8e8}
.tbl_head01 td {color:#666;padding:10px 5px;border-top:1px solid #ecf0f1;border-bottom:1px solid #ecf0f1;line-height:1.4em;height:60px;word-break:break-all}
.tbl_head01 tbody tr:hover td {background:#fafafa}
.tbl_head01 a:hover {text-decoration:none}

.tbl_head02 {margin:0 0 10px}
.tbl_head02 caption {padding:0;font-size:0;line-height:0;overflow:hidden}
.tbl_head02 thead th {padding:5px 0;border-top:1px solid #d1dee2;border-bottom:1px solid #d1dee2;background:#e5ecef;color:#383838;font-size:0.95em;text-align:center;letter-spacing:-0.1em}
.tbl_head02 thead a {color:#383838}
.tbl_head02 thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head02 tfoot th, .tbl_head02 tfoot td {padding:10px 0;border-top:1px solid #c1d1d5;border-bottom:1px solid #c1d1d5;background:#d7e0e2;text-align:center}
.tbl_head02 tbody th {padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#fff}
.tbl_head02 td {padding:5px 3px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#fff;line-height:1.4em;word-break:break-all}
.tbl_head02 a {}

/* 폼 테이블 */
.tbl_frm01 {margin:0 0 20px}
.tbl_frm01 table {width:100%;border-collapse:collapse;border-spacing:0}
.tbl_frm01 th {width:70px;padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#f5f8f9;text-align:left}
.tbl_frm01 td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
.wr_content textarea,.tbl_frm01 textarea,.form_01 textarea, .frm_input {border:1px solid #d0d3db;background:#fff;color:#000;vertical-align:middle;border-radius:3px;padding:5px;
-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);
-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);
box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);
}
.tbl_frm01 textarea {padding:2px 2px 3px}
.frm_input {height:40px}

.full_input {width:100%}
.half_input {width:49.5%}
.twopart_input {width:385px;margin-right:10px}
.tbl_frm01 textarea, .write_div textarea {width:100%;height:100px}
.tbl_frm01 a {text-decoration:none}
.tbl_frm01 .frm_file {display:block;margin-bottom:5px}
.tbl_frm01 .frm_info {display:block;padding:0 0 5px;line-height:1.4em}

/*기본 리스트*/
.list_01 ul {border-top:1px solid #ececec}
.list_01 li {border-bottom:1px solid #ececec;background:#fff;padding:10px 15px;list-style:none;position:relative}
.list_01 li:nth-child(odd) {background:#f6f6f6}
.list_01 li:after {display:block;visibility:hidden;clear:both;content:""}
.list_01 li:hover {background:#f9f9f9}
.list_01 li.empty_li {text-align:center;padding:20px 0;color:#666}

/*폼 리스트*/
.form_01 h2 {font-size:1.167em}
.form_01 li {margin-bottom:10px}
.form_01 ul:after,
.form_01 li:after {display:block;visibility:hidden;clear:both;content:""}
.form_01 .left_input {float:left}
.form_01 .margin_input {margin-right:1%}
.form_01 textarea {height:100px;width:100%}
.form_01 .frm_label {display:inline-block;width:130px}

/* 자료 없는 목록 */
.empty_table {padding:50px 0 !important;text-align:center}
.empty_list {padding:20px 0 !important;color:#666;text-align:center}

/* 필수입력 */
.required, textarea.required {}

/* 테이블 항목별 정의 */
.td_board {width:80px;text-align:center}
.td_category {width:80px;text-align:center}
.td_chk {width:30px;text-align:center}
.td_date {width:60px;text-align:center}
.td_datetime {width:110px;text-align:center}
.td_group {width:80px;text-align:center}
.td_mb_id {width:100px;text-align:center}
.td_mng {width:80px;text-align:center}
.td_name {width:100px;text-align:left}
.td_nick {width:100px;text-align:center}
.td_num {width:50px;text-align:center}
.td_numbig {width:80px;text-align:center}
.td_stat {width:60px;text-align:center}

.txt_active {color:#5d910b}
.txt_done {color:#e8180c}
.txt_expired {color:#ccc}
.txt_rdy {color:#8abc2a}

/* 새창 기본 스타일 */
.new_win {position:relative}
.new_win .tbl_wrap {margin:0 20px}
.new_win #win_title {font-size:1.3em;height:50px;line-height:30px;padding:10px 20px;background:#fff;color:#000;-webkit-box-shadow:0 1px 10px rgba(0,0,0,.1);
-moz-box-shadow:0 1px 10px rgba(0,0,0,.1);
box-shadow:0 1px 10px rgba(0,0,0,.1)}
.new_win #win_title .sv {font-size:0.75em;line-height:1.2em}
.new_win .win_ul {margin-bottom:15px;padding:0 20px}
.new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_ul li {float:left;background:#fff;text-align:center;padding:0 10px;border:1px solid #d6e9ff;border-radius:30px;margin-left:5px}
.new_win .win_ul li:first-child {margin-left:0}
.new_win .win_ul li a {display:block;padding:8px 0;color:#6794d3}
.new_win .win_ul .selected {background:#3a8afd;border-color:#3a8afd;position:relative;z-index:5}
.new_win .win_ul .selected a {color:#fff;font-weight:bold}
.new_win .win_desc {position:relative;margin:10px;border-radius:5px;font-size:1em;background:#f2838f;color:#fff;line-height:50px;text-align:left;padding:0 20px}
.new_win .win_desc i {font-size:1.2em;vertical-align:baseline}
.new_win .win_desc:after {content:"";position:absolute;left:0;top:0;width:4px;height:50px;background:#da4453;border-radius:3px 0 0 3px}
.new_win .frm_info {font-size:0.92em;color:#919191}
.new_win .win_total {float:right;display:inline-block;line-height:30px;font-weight:normal;font-size:0.75em;color:#3a8afd;background:#f6f6f6;padding:0 10px;border-radius:5px}
.new_win .new_win_con {margin:20px 0;padding:20px}
.new_win .new_win_con:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .new_win_con2 {margin:20px 0}
.new_win .btn_confirm:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_btn {text-align:center}
.new_win .cert_btn {margin-bottom:30px;text-align:center}
.new_win .btn_close {padding:0 20px;height:45px;overflow:hidden;cursor:pointer}
.new_win .btn_submit {padding:0 20px;height:45px;}

/* 검색결과 색상 */

/* 자바스크립트 alert 대안 */
#validation_check {margin:100px auto;width:500px}
#validation_check h1 {margin-bottom:20px;font-size:1.3em}
#validation_check p {margin-bottom:20px;padding:30px 20px;border:1px solid #e9e9e9;background:#fff}

/* 사이드뷰 */
.sv_wrap {position:relative;font-weight:normal}
.sv_wrap .sv {z-index:1000;display:none;margin:5px 0 0;font-size:0.92em;background:#333;
-webkit-box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2);
-moz-box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2);
box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2)}
.sv_wrap .sv:before {content:"";position:absolute;top:-6px;left:15px;width:0;height:0;border-style:solid;border-width:0 6px 6px 6px;border-color:transparent transparent #333 transparent}
.sv_wrap .sv a {display:inline-block;margin:0;padding:0 10px;line-height:30px;width:100px;font-weight:normal;color:#bbb}
.sv_wrap .sv a:hover {background:#000;color:#fff}
.sv_member {color:#333}
.sv_on {display:block !important;position:absolute;top:23px;left:0px;width:auto;height:auto}
.sv_nojs .sv {display:block}

/* 페이징 */
.pg_wrap {clear:both;float:left;display:inline-block; margin-top:24px; display:flex; justify-content: center; width:100%}
.pg_wrap:after {display:block;visibility:hidden;clear:both;content:""} 
.pg {text-align:center}
.pg_page, .pg_current {display:inline-block;vertical-align:middle;background:#eee;border:1px solid #eee}
.pg a:focus, .pg a:hover {text-decoration:none}
.pg_page {color:#5e5e5e;font-size:1.083em;height:30px;line-height:28px;padding:0 5px;min-width:30px;text-decoration:none;border-radius:3px; background:transparent; border:none;}
.pg_start {text-indent:-999px;overflow:hidden;background:url('../img/btn_first.gif') no-repeat 50% 50% #fff;padding:0;}
.pg_prev {text-indent:-999px;overflow:hidden;background:url('../img/btn_prev.gif') no-repeat 50% 50% #fff;padding:0;}
.pg_end {text-indent:-999px;overflow:hidden;background:url('../img/btn_end.gif') no-repeat 50% 50% #fff;padding:0;}
.pg_next {text-indent:-999px;overflow:hidden;background:url('../img/btn_next.gif') no-repeat 50% 50% #fff;padding:0;}
.pg_start:hover,.pg_prev:hover,.pg_end:hover,.pg_next:hover {background-color:#fff}

.pg_current {display:inline-block;background:#3a8afd;border:1px solid #3a8afd;color:#fff;font-weight:bold;height:30px;line-height:30px;padding:0 10px;min-width:30px;border-radius:3px}

/* cheditor 이슈 */
.cheditor-popup-window *, .cheditor-popup-window :after, .cheditor-popup-window :before {
-webkit-box-sizing:content-box;
-moz-box-sizing:content-box;
box-sizing:content-box;
}

/* Mobile화면으로 */
#device_change {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center}

    .li-wrapper {
    position: relative;
    display: inline-block;
    margin-top: -18px;
    margin-right: 10px;
}

.li-wrapper.no-border {
    border-left: none;
}

.li-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.li-label {
    font-size: 13px;
}

.on_event_gg {
    width: 40px;
    height: 40px;
    margin-bottom: 3px;
    transition: all 0.2s ease-in-out;
}

.event_sec{
    width: 40px;
    height: 40px;
    margin-top:-4px;
}

.hd_login li:first-child:hover .on_event_gg,
.hd_login li:nth-child(2):hover .on_event_gg {
    transform: scale(1.3);
    transition: transform 0.2s ease-in-out;
}

.hd_login li:nth-child(3):hover a,
.hd_login li:nth-child(4):hover a {
    text-decoration: underline;
    text-underline-offset: 1px; /* 밑줄을 글자 아래로 약간 띄움 */
}

.hd_login li:nth-child(3):hover,
.hd_login li:nth-child(4):hover {
    text-decoration: underline;
}

#hd_qnb li a:hover {
    text-decoration: underline;
    text-underline-offset: 1px; /* 밑줄과 글자 사이 간격 */
}

.speech-bubble {
    position: absolute;
    top: -12px;
    left: 72%;
    transform: translateX(-50%);
    background-color: #fbfbfb;
    color: #525bf4;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.speech-bubble::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #eeeeee transparent transparent transparent;
}

.gnb_1dli img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .gnb_1dli img {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 480px) {
    .gnb_1dli img {
        width: 52px;
        height: 52px;
    }
}

/* 기본 레이아웃: PC */
.gnb_wrap {
    display: flex;
}

.gnb_left_area {
    flex: 0 0 20%;
    background: #fcfcfc;
    padding-top:10px;
}

.gnb_right_area {
    flex: 0 0 80%;
    background: #ffffff;
    display: flex;
    flex-wrap: wrap;
}

/* 메뉴 아이템 공통 스타일 */
#gnb_left_ul, #gnb_right_ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#gnb_left_ul {
    display: flex;
    flex-direction: column; /* 세로 방향으로 배치 */
    list-style: none;       /* 기본 리스트 스타일 제거 */
}

.gnb_1dli {
    padding: 10px;
    text-align: center;
}

.gnb_1dli:hover .menu_icon {
    transform: scale(1.3);
}

#gnb_left_ul .gnb_1da {
    padding: 0px;
    font-size:14px;
    font-weight: 500;
    display:flex;
    justify-content: left;
    padding-left:20px;
}

#gnb_left_ul .gnb_1da:first-child {
    padding-top:15px;
    padding-bottom:14px;
    font-size:14.3px;
    color:#080808
}

#gnb_left_ul .gnb_1da:first-child:hover {
  color: #525bf4;
}

.gnb-menu-11 {
    margin-top: 0px;
}

.speech-bubble-11,
.speech-bubble-12,
.speech-bubble-13,
.speech-bubble-14 {
    background-color: #f1f1f1;
    color: #525bf4;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 11px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    border-radius: 999px; /* pill 형태 */
    line-height: 1;        /* 기본 줄간격 제거 */
    white-space: nowrap;   /* 줄바꿈 방지 */
    height: auto;          /* 높이 자동 */
}

.gnb_right_area {
    flex: 1;
}

#gnb_right_ul {
    display: flex;
    flex-wrap: wrap;
    padding-top:7px;
}

.gnb_1dli {
    position: relative;
}

.menu_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 162px;
}

.menu_icon {
    display: block;
    margin: 0 auto;
    transition: transform 0.2s ease;
}

.post_count_badge {
    position: absolute;
    top: 17px;
    right: 12px;
    background: #525bf4;
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px; /* pill 형태 */
    line-height: 1;        /* 기본 줄간격 제거 */
    white-space: nowrap;   /* 줄바꿈 방지 */
    height: auto;          /* 높이 자동 */
}

.menu_title {
    display: block;
    margin-top: 2px;
    font-weight: 600;
    font-size: 15px;
    margin-right: 1px;
    line-height: 1.2;
    text-align: center;
}

.menu_subtitle {
    display: block;
    color: #555;
    font-weight: 400;
    font-size: 12px;
    margin-top: 2px;
    line-height: 1.2;
}

.gnb_1dli.on {
    background-color: #eee !important;
}

.trendy_badge_inline {
    background-color: #da22f5;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    user-select: none;
    margin-right: 0px;
    white-space: nowrap;
    margin-left:-9px;
}

#on_gnb_gg {
     background: rgba(238, 238, 238, 0.53) !important;
     border-radius: 14px;
}

#on_gnb_tt {
     background: rgba(238, 238, 238, 0.53) !important;
}

#on_gnb_gg .menu_icon {
    transform: none !important;
}

.gnb_top_menu .gnb_al_li {
    min-height: auto;
    background: #fff;
    border-radius: 14px;
}

.gnb_top_menu > ul:first-of-type {
  display: flex;
  gap: 10px;
}

    #gnb_all .gnb_top_menu .gnb_al_ul:first-of-type .gnb_al_li {
    width: 17%;
    display:flex;
    align-items:center;
    padding: 0px;
    max-width:200px;
    min-width: 138px;
    }


    #gnb_all .gnb_top_menu .gnb_al_ul:first-of-type .gnb_al_li > a {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  gap: 3px;
  box-sizing: border-box;
  padding:14px;
  padding-top:18px;
  transition: color 0.2s ease;
  font-size:14.4px;
  color:#080808
}

#gnb_all .gnb_top_menu .gnb_al_ul:first-of-type .gnb_al_li > a:hover {
  color: #525bf4;
}

.gnb_bottom_menu > ul:first-of-type {
  background-color: #fff;
  margin-left:34px;
  border-radius:14px;
  max-width: 840px;
  min-width:590px;
}

#gnb_all .gnb_bottom_menu .gnb_al_li .gnb_al_a {
  font-weight: 600;
  color: #080808;
  min-width:196px;
}

#gnb_all .gnb_bottom_menu .gnb_al_ul:first-of-type .gnb_al_li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    gap: 3px;
    box-sizing: border-box;
    padding: 18px;
    padding-top: 22px;
    transition: color 0.2s ease;
    min-width:117px;
}

#gnb_all .gnb_bottom_menu .gnb_al_li {
  padding: 0;
}

#gnb_all .gnb_bottom_menu .gnb_al_ul:first-of-type .gnb_al_li > a:hover {
  color: #525bf4;
}

.new_img {
    width: 15px;
    height:15px;
    margin-top:-2px;
}

.week_calendar-container {
    max-width: 930px;
    margin: 24px auto 30px;
    padding: 0px 20px;
    border-radius: 14px;
    box-sizing: border-box;
    overflow: hidden;
    transition: height 0.2s ease; /* 높이 변화 애니메이션 */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding-top:17px;
}

.week_calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.week_nav-group {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    justify-content: space-between;
}

.week_nav-btn {
    background: rgba(235, 235, 235, 0.53);
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.3s ease;
}
.week_nav-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.week_current-range {
    font-weight: 600;
    color: #080808;
    font-size: 17px;
    white-space: nowrap;
}

.week_counselor-slider {
    overflow: hidden;
    width: 100%;
    max-width: 930px;
    margin: auto;
}

.week_slides {
    display: flex;
    transition: transform 0.4s ease;
    width: calc(899px * <?= count($slides) ?>);
}

.week_calendar-slide {
    width: 899px;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0 10px;
}

table.week_calendar {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-bottom: 20px;
}

table.week_calendar th,
table.week_calendar td {
    padding: 10px 30px;
    vertical-align: top;
    height: auto;
    border: 1px solid #eee;
    word-wrap: break-word;
}

table.week_calendar th {
    background: rgba(231, 231, 231, 0.53);
    color: #3e3e3e;
    font-weight: 600;
    text-align: center;
    height: 50px;
    vertical-align: middle;
    font-size: 14px;
}

table.week_calendar td.week_today {
    background: #f5f8ff;
}

table.week_calendar td.week_only-date .week_date_num {
    min-height: 130px;
    display: flex;
    align-items: flex-start;
    font-weight: 500;
    color: #007bff;
    margin-bottom: 10px;
}

.week_date_num {
    font-weight: 500;
    color: #007bff;
    margin-bottom: 10px;
}

.week_post_list a {
    position: relative;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 2px;
    font-weight: 400;
    font-size: 14.5px;
    transition: background-color 0.2s ease, font-size 0.2s ease, transform 0.2s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.week_post_list a:hover {
    transform: scale(1.08);
    z-index: 50;
}

.week_post_list a.purple {
    background-color: #525bf4;
}

.week_post_list a.pink {
    background-color: #da22f5;
}

.week_post_list a.green {
    background-color: #00a664;
}

#week_post_list_sizeup {
    font-size: 17px;
    padding: 4px 9px;
    font-weight: 500;
    color: #fff700;
}

table.week_calendar th.week_sunday_th {
    background: #ffe8e8;
    color: #d10000;
    font-weight: 700;
}

.week_current-range-link:hover {
    color: #525bf4 !important;
  }

/* go_card섹션 */
  .go_container {
    width: 100%;
    padding: 20px 0px;
    padding-top:10px;
    display: flex;
    gap: 20px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.go_card {
     flex: 1 1 30%;
  background-color: #f9f9f9; /* 너무 밝지 않은 중간톤 백 */
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s ease-in-out;

  /* 미묘한 인터랙션을 위한 효과 */
  transform: translateZ(0); /* GPU 렌더링 유도 */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.go_card:hover {
  transform: scale(1.02); /* 미세한 확대 효과로 마이크로 인터랙션 */
}

.go_card_link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.go_card_title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1e293b;
}

.go_card_count {
    font-size: 16px;
    font-weight: 500;
    color: #3b82f6;
    display: flex;
    align-items: center;
}

.go_card_go {
    margin-left: 6px;
    background: #525bf4;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.go_card_desc {
    font-size: 14px;
    color: #64748b; /* slate-500 계열 */
    margin-top: -8px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.go_card_link:hover .go_card_title {
    color: #525bf4;
}

.go_card_link:hover .go_card_go {
    transform: scale(1.17) translateX(7px);
    transition: transform 0.3s ease;
}

/* info섹션 */
.sitesummary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  padding-top:22px;
  background-color: #313342;
  flex-wrap: wrap;
  border-top-left-radius: 17px;
  border-top-right-radius: 17px;
}

.site-branding-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 280px;
}

.main-icon {
  height: 80px;
  margin-right: 4px;
}

.site-branding {
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.site-logo {
  height: 60px;
  width: 200px;
}

.site_name_sum {
  font-size: 16px;
  font-weight: 600;
  margin-left: 20px;
}

.site_des_sum {
  font-size: 13px;
  color: #ccc;
  margin-left: 20px;
}

.freegg-keywordtag {
  width: 100%;
  overflow: hidden;   
  position: relative;
  background-color: transparent;
  margin-top: 20px;
}

.freegg-keywordtag .scrolling-wrapper {
  display: flex;
  gap: 8px;
  white-space: nowrap;   
  animation: scroll-left 17s linear infinite;
}

.freegg-keywordtag strong {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 9999px;
  background-clip: padding-box;
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.freegg-keywordtag strong::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  padding: 2px;
  background: linear-gradient(to right, #2979FF, #8E2DE2);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.site-info-wrapper {
  -webkit-user-select: none; /* 사파리, 크롬 등 웹킷 브라우저 */
  -moz-user-select: none;    /* 파이어폭스 */
  -ms-user-select: none;     /* IE10+ */
  user-select: none;         /* 표준 속성 */
}


.site-info-wrapper {
  width: 100%;
  padding: 0px 0px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.site-info-wrapper section {
  background-color: rgba(59, 63, 83, 0.08);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #333;
}

.site-info-wrapper h2 {
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: 600;
}

.site-info-wrapper p,
.site-info-wrapper li {
  font-size: 13px;
  line-height: 1.5;
}

.site-info-wrapper ul {
  list-style-type: disc;
  padding-left: 20px;
}

.pop_half_wrap {
  display: flex;
  overflow-x: auto;
  gap: 17px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transform: translateZ(0);
}

.pop_half_wrap::-webkit-scrollbar {
  display: none;
}

.pop_half_wrap:active {
  cursor: grabbing;
}

.freegg-popular-games-half {
  flex: 0 0 34.5%;
  box-sizing: border-box;
  min-width: 300px;
}

 .freegg_check_group {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    font-size:14px;
    font-weight:400;
    color:#3e3e3e
  }

  .freegg_check {
    flex: 1 1 calc(50% - 10px);
    margin: 12px 0;
    display: flex;
    flex-direction: row-reverse; /* 체크박스를 오른쪽으로 */
    align-items: center;
    gap: 10px;
  }

  .freegg_check .state span {
    margin: 0;
    display: inline-block;
  }

  .pretty.p-switch .state:before {
    right:0px;
    top:-3px;
}

.agree_small {
    color: #7e7e7e;
}


