@charset "utf-8";
@font-face {
  font-family: "Youandi_Modern";
  font-style: normal;
  font-weight: 400;
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Youandi_ModernTR.woff") format("woff");
}
@font-face {
  font-family: "Youandi_Modern";
  font-style: normal;
  font-weight: 700;
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Youandi_ModernTB.woff") format("woff");
}
@font-face {
  font-family: 'NEXONFootballGothicLA1';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXONFootballGothicLA1.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'NEXON Lv2 Gothic';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv2 Gothic.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@charset "utf-8";
*{ margin:0; padding:0; -webkit-text-size-adjust:none }
html,body{ width:100%; height:100% }
body{ min-width:320px; min-height:100%; background:#fff; color:#212121; font-size:12px; line-height:140% }
article,aside,hgroup,header,footer,figure,figcaption,nav,section{ display:block }
ul,ol,li{ list-style:none }
img,hr{ border:none }
img{ vertical-align:top; border:0 }
a{ color:#212121; text-decoration:none }
a:hover,a:active,a:focus{ text-decoration:none }
a:hover{ text-decoration:none; cursor:pointer }
table{ width:100%; border-collapse:separate; border-spacing:0; table-layout:fixed }
table th{ font-weight:normal }
table td img{ vertical-align:middle }
em,span{ font-family:inherit; color:inherit; font-size:inherit; line-height:inherit }
textarea{ padding:10px; border:solid 1px #dadada; background-color:#fff; color:#212121; vertical-align:middle; font-size:13px; line-height:19px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; resize:none; outline:0 }
input{ vertical-align:middle; outline:0 }
input[type=tel],input[type=text],input[type=password]{ height:30px; padding:0 5px; border:solid 1px #dadada; background-color:#fff; color:#212121; vertical-align:middle; font-size:12px; line-height:30px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; -webkit-appearance:none; border-radius:0 }
input[type=text]::-webkit-input-placeholder{ color:#b0b0b0; font-weight:normal; font-size:14px }
input[type=text]:-moz-placeholder{ color:#b0b0b0; font-weight:normal; font-size:14px }
input[type=text]::-moz-placeholder{ color:#b0b0b0; font-weight:normal; font-size:14px }
input[type=text]:-ms-input-placeholder{ color:#b0b0b0; font-weight:normal; font-size:14px }
input[type=checkbox]{ margin:-1px 2px 0 0 }
input[type=radio]{ margin:-1px 3px 0 0 }
button{ border:0; color:#212121; vertical-align:middle; cursor:pointer; outline:0; font-size:12px }
select{ height:30px; padding:0 5px; border:solid 1px #dadada; background-color:#fff; color:#212121; vertical-align:middle; font-size:13px; line-height:30px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box }
hr,caption{ display:none }
address,cite,em{ font-style:normal }
fieldset{ border:0; padding:0 }
legend{ position:absolute; height:0; font-size:0; line-height:0; overflow:hidden; color:transparent }
label{ cursor:pointer }
.blind { overflow: hidden; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; clip: rect(0, 0, 0, 0); border: 0; }
.hide{ display:none }

.clearfix {clear:both;content:'';height:0;width:0;}
.clearfix:after {clear:both;content:"";display:table;}

.ta-center {text-align:center;}
.ta-left {text-align:left;}
.ta-right {text-align:right;}

.placeholdersjs { color: #aaa !important; }

/* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;width:1200px;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 {min-width:1000px;border-top:2px solid #253dbe}
#hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}

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

#logo {float:left;padding:30px 0 0}

.hd_sch_wr{position:absolute;top:25px;left:50%;width:430px;margin-left:-215px;}
#hd_sch h3 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_sch{;border:2px solid #556ada;background:#fff;border-radius:5px;overflow:hidden}
#hd_sch #sch_stx {padding-left:10px;height:40px;width:376px;border:0;;border-right:0;float:left;font-size:1.25em}
#hd_sch #sch_submit {height:40px;border:0;background:#fff;color:#253dbe;width:50px;float:left;cursor:pointer;font-size:18px}

#sbn_side{position:absolute;top:20px;right:0}

#tnb {border-bottom:1px solid #ddd;background:#fff}
#tnb h3 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#tnb ul {margin:0 auto;width:1200px;zoom:1}
#tnb ul:after {display:block;visibility:hidden;clear:both;content:""}
#tnb li {float:right;border-left:1px solid #ddd;margin-bottom:-1px;font-size:0.92em}
#tnb a {display:inline-block;padding:0 10px;color:#646464;line-height:35px}
#tnb a:focus, #tnb a:hover {color:#253dbe;background:#fafafa}
#tnb .tnb_admin a{color:#ff0000;}
#tnb .tnb_left{float:left}
#tnb .tnb_left a{;padding:0 14px}
#tnb .tnb_cart{border-right:1px solid #ddd;}
#tnb .tnb_community{border-right:1px solid #ddd}
#tnb .tnb_community i{font-size:15px}
#tnb .tnb_community{background:#e7e7e7;font-weight:bold;}
#tnb .tnb_community:focus, #tnb .tnb_community:hover {color:#333;border-bottom:0}
#tnb .tnb_community a{color:#253dbe;border-bottom:1px solid #e7e7e7}

#hd_qnb{float:right;margin-top:20px}
#hd_qnb:after {display:block;visibility:hidden;clear:both;content:""}
#hd_qnb li{float:left;font-size:1.083em;line-height:15px;position:relative;text-align:center;margin:0 10px}
#hd_qnb li span {display:block;margin-top:5px;font-size:0.92em}
#hd_qnb li a{display:block}
#hd_qnb li i{display:inline-block;width:40px;line-height:40px;border-radius:25px;background:#fff;text-align:center;margin:0;color:#fff}
#hd_qnb .visit .visit-num{display:inline-block;line-height:18px;padding:0 5px;border-radius:10px;background:#f04e00;color:#fff;font-size:10px;position:absolute;top:0;right:0}
#hd_qnb li .fa-question{background:#e83a5f;font-size:20px}
#hd_qnb li .fa-question:hover{background:#e41b45}
#hd_qnb li .fa-comments{background:#82c13f;font-size:16px}
#hd_qnb li .fa-comments:hover{background:#5aa708}
#hd_qnb li .fa-users{background:#f0ba00;font-size:15px}
#hd_qnb li .fa-users:hover{background:#f06f00}
#hd_qnb li .fa-history{background:#8522c4;font-size:15px}
#hd_qnb li .fa-history:hover{background:#6700a9}

/* 메인메뉴 */
#gnb{position:relative}
#gnb h2{position:absolute;font-size:0;line-height:0;overflow:hidden}
#gnb .gnb_wrap{margin:0 auto;width:1200px;position:relative}
#gnb #gnb_1dul {font-size:1.083em;padding: 0;background:#253dbe;zoom:1;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
-moz-box-shadow:  0 1px 3px rgba(0,0,0,0.3);
box-shadow: 0 1px 3px rgba(0,0,0,0.3)}
#gnb ul:after {display:block;visibility:hidden;clear:both;content:""}
#gnb .gnb_1dli{float:left;line-height:50px;padding:0 15px;position:relative;}
#gnb .gnb_1dli:hover{background:#1a30a7;
-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{display:inline-block;width:10px;height:10px;overflow:hidden;background:url(../img/gnb_bg2.gif) no-repeat 50% 50%;text-indent:-999px}
.gnb_1da {display:inline-block;font-weight:bold;color:#fff;text-decoration:none;}
.gnb_2dli{border-top:1px solid #253dbe}
.gnb_2dli:first-child{border:0}
.gnb_2dul {display:none;position:absolute;top:50px;min-width:140px;background:#1a30a7;padding: 0;
-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.1);
-moz-box-shadow:  0 1px 5px rgba(0,0,0,0.1);
box-shadow: 0 1px 5px rgba(0,0,0,0.1);}
.gnb_2da {display:block;padding:0 10px;line-height:40px;color:#c3cbf7;text-align:left;text-decoration:none}
a.gnb_2da:hover{background:#0e2080;
-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;background:#fff}
.gnb_wrap .gnb_empty {padding:10px 0;width:100%;text-align:center;line-height:2em;color:#fff}
.gnb_wrap .gnb_empty a{color:#fff;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:#4158d1;color:#fff;width:50px;height:50px;border:0;vertical-align:top;font-size:18px}
#gnb .gnb_close_btn{background:#4158d1;color:#fff;width:50px;height:50px;border:0;vertical-align:top;font-size:18px;position:absolute;top:-50px;left:0}
#gnb .gnb_mnal{padding:0}

#gnb_all{display:none;position:absolute;width:100%;z-index:99;}
#gnb_all .gnb_al_ul:after {display:block;visibility:hidden;clear:both;content:""}
#gnb_all .gnb_al_ul{background:#fff;border:1px solid #4158d1;padding:20px;
-webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.2);
-moz-box-shadow:  0 2px 5px rgba(0,0,0,0.2);
box-shadow: 0 2px 5px rgba(0,0,0,0.2);}
#gnb_all .gnb_al_li{background:#fff;float:left;min-width:20%;padding:5px }
#gnb_all .gnb_al_li .gnb_al_a{font-size:1.083em;padding:10px;display:block;position:relative;margin-bottom:10px;background: #eff1f9;border-bottom: 1px solid #dee2f1;font-weight: bold;color:#243071}
#gnb_all .gnb_al_li li {padding-left:10px;line-height:2em}
#gnb_all .gnb_al_li li i{color:#9ca6cc}
#gnb_all .gnb_al_li li a{color:#555}

/* 중간 레이아웃 */
#wrapper{}
#container_wr:after {display:block;visibility:hidden;clear:both;content:""}
#container_wr {z-index:5;margin:0 auto;width:1200px;height:100%;;zoom:1}
#aside {float:right;width:305px;padding:0;background: #e7ebf3;height: 100%;border: 1px solid #adbfd2;;margin:20px 0 20px 20px}

#container {z-index:4;position:relative;float:left;min-height:500px;height:auto !important;margin:20px  0;height:500px;font-size:1em;width:875px;zoom:1}
#container:after {display:block;visibility:hidden;clear:both;content:""}
#container_title {font-size:1.333em;max-width:1200px;margin:0 auto;font-weight:bold;}
#container_title span{margin:0 auto 10px;display:block;line-height:30px;}
/*.latest_wr:after {display:block;visibility:hidden;clear:both;content:""}*/
.lt_wr{width:49%}
.lt_wr:nth-child(2n+1){clear:both}
.latest_wr:after {display:block;visibility:hidden;clear:both;content:""}
/* 하단 레이아웃 */
#ft {border-top:1px solid #d5d5d5;background:#fff;padding-bottom:30px;margin:0 auto;text-align:center}
#ft h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#ft_wr {width:1200px;margin:0 auto;position:relative;}
#ft_link{padding:15px 0;border-bottom:1px solid #eee}
#ft_link a{;display:inline-block;padding:0 8px;line-height:1.083em;font-weight:bold}
#ft_catch{margin:20px 0 10px}
#ft_copy{color:#555;font-size:0.92em}
#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;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:40px;border:1px solid #898989;;vertical-align:top;padding:0;margin:0}
#captcha #captcha_mp3 {;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;text-indent:-999px;;border-radius:3px}
#captcha #captcha_reload {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;border-radius:3px}
#captcha #captcha_key {margin:0 0 0 3px;padding:0 5px;width:90px;height:40px;border:1px solid #ccc;background:#fff;font-size:1.333em;font-weight:bold;text-align:center;border-radius:3px;vertical-align:top}
#captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em}

/* 캡챠 자동등록(입력)방지 기본 - 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;
-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} /* 서식단계 진행 */

.btn_submit {border:0;background:#253dbe;color:#fff;;cursor:pointer;border:0}
.btn_submit:hover {background:#0025eb}

a.btn_cancel {display:inline-block;background:#969696;color:#fff;text-decoration:none;vertical-align:middle;}
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;padding:0 5px;height:40px;border:0;background:#3c3c3c;border-radius:5px;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;background:#fff;color:#323232;text-decoration:none;vertical-align:middle;border:1px solid #919191;}
.btn_b01:hover, .btn_b01:hover {background:#54598c}
a.btn_b02,.btn_b02 {display:inline-block;background:#fff;padding:0 10px;color:#323232;text-decoration:none;border:0;vertical-align:middle;border:1px solid #919191;}
a.btn_b02:hover, .btn_b02:hover {background:#f2f2f2;}
a.btn_b03, .btn_b03 {display:inline-block;background:#fff;border:1px solid #b9bdd3;color:#323232;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;background:#fff;color:#323232;text-decoration:none;vertical-align:middle;border:1px solid #d1d1d1;} /* 관리자 전용 버튼 */
.btn_admin:hover, a.btn_admin:hover {background:#f2f2f2;}


/*컬러*/
.color_1 {background:#169dd6}
.color_2 {background:#14d53d}
.color_3 {background:#3814ff}
.color_4 {background:#7520c5}

/* 기본테이블 */
.tbl_wrap table {width:100%;border-collapse:collapse;border-spacing: 0 5px;border:1px solid #ccc;} 
.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:10px 0;font-weight:normal;text-align:center;border-bottom:1px solid #ddd;background:#fafafa;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;background:#fff;;padding:10px 5px;border-top: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:underline}

.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 #ccc;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%}
.tbl_frm01 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 li{border:1px solid #dbdbdb;background:#fff;border-radius:3px;margin:3px 0;padding:10px 15px;list-style:none;position:relative;}
.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{margin:0 0 10px;font-size:1.167em}
.form_01 li{margin:10px 0}
.form_01 li:after {display:block;visibility:hidden;clear:both;content:""}
.form_01 li .right_input{float:right}
.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 {background-image:url('../img/require.png')  !important;background-repeat:no-repeat   !important;background-position:right top  !important;}

/* 테이블 항목별 정의 */
.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.25em;line-height:30px;padding:10px 20px;background:#333;color:#fff;}
.new_win #win_title .sv {font-size:0.75em;line-height:1.2em}
.new_win .win_ul {position:relative;}
.new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:"";box-sizing:border-box;}
.new_win .win_ul li{float:left;background:#fff;width:33.3%;text-align:center;border:1px solid #ccc;margin-left:-1px;box-sizing:border-box;}
.new_win .win_ul li a{display:block;padding:10px 0;}
.new_win .win_ul .selected{background:#fff;border-color:#253dbe;position:relative;z-index:5}
.new_win .win_ul .selected a{color:#253dbe;font-weight:bold}
.new_win .win_desc {margin:5px 0;font-size:0.92em;color:#3598db;}
.new_win .frm_info{font-size:0.92em;color:#3598db}
.new_win .win_total{text-align:right;margin:10px 0}
.new_win .win_total span{display:inline-block;line-height:30px;font-size:0.92em;color:#4e546f;background:#d4d4d4;padding:0 10px;border-radius:5px;}
.new_win .new_win_con{margin:20px;}
.new_win .new_win_con:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .btn_confirm:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_btn{text-align:right}
.new_win .btn_close {position:absolute;top:0;right:0;height:50px;width:50px;background:url(../img/close_btn.gif) no-repeat 50% 50%;border:0;text-indent:-999px;overflow:hidden;cursor:pointer}
.new_win .btn_submit {padding:0 20px;height:40px;font-weight:bold;font-size:1.083em;float:right}

/* 쪽지 */
#memo_list .delete_all_box {display:block;text-align:center; padding:15px 0;}
#memo_list .delete_all_box .btn_delete_all {display:inline-block;padding:10px 25px;background:#666;color:#fff;font-size:18px;border-radius:3px;}
/* 검색결과 색상 */
.sch_word {color:#00c4ac}

/* 자바스크립트 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;margin:30px 0 ;text-align:center}
.pg_wrap:after {display:block;visibility:hidden;clear:both;content:""} 
.pg {}
.pg_page, .pg_current {display:inline-block;vertical-align:middle;background:#f3f3f3;border:1px solid #bbbcc3}
.pg a:focus, .pg a:hover {text-decoration:none}
.pg_page {color:#555;font-size:1.083em;height:30px;line-height:28px;padding:0 5px;min-width:30px;text-decoration:none;border-radius:3px;}
.pg_page:hover{background:#ddd}
.pg_start {text-indent:-999px;overflow:hidden;background:url('../img/btn_first.gif') no-repeat 50% 50% #fff;padding:0;border:1px solid #bbb;}
.pg_prev {text-indent:-999px;overflow:hidden;background:url('../img/btn_prev.gif') no-repeat 50% 50% #fff;padding:0;border:1px solid #bbb}
.pg_end {text-indent:-999px;overflow:hidden;background:url('../img/btn_end.gif') no-repeat 50% 50% #fff;padding:0;border:1px solid #bbb}
.pg_next {text-indent:-999px;overflow:hidden;background:url('../img/btn_next.gif') no-repeat 50% 50% #fff;padding:0;border:1px solid #bbb}
.pg_start:hover,.pg_prev:hover,.pg_end:hover,.pg_next:hover{background-color:#fafafa}

.pg_current {display:inline-block;background:#4c4f6f;color:#fff;font-weight:bold;height:30px;line-height:30px;padding:0 10px;min-width:30px;border-radius:3px;
-webkit-box-shadow: inset 1px 1px 2px #222542;
-moz-box-shadow:  inset 1px 1px 2px #222542;
box-shadow: inset 1px 1px 2px #222542;
}

/* 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}


.swal2-popup .swal2-title {
	font-size:1em!important;
}

body.memo {
	height:100%;
	overflow:hidden!important;
}

body.memo .memo-alert {
	display:block;
}

.memo-alert {
	display:none;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
}

.memo-alert .memo-icon {
	padding:15px 0;
}

.memo-alert .memo-shadow {
	position:absolute;	
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:#000;
	opacity:0.9;
	z-index:9990;
}

.memo-alert .memo-msg {
	position:absolute;
	top:50%;
	left:50%;
	right:0;
	bottom:0;
	transform: translate(-50%, -50%);
	width:500px;
	height:150px;
	text-align:center;
	z-index:9991;
}

.memo-alert .memo-msg h1 {
	color:#fff;
	font-size:24px;
	text-align:center;
}

.memo-alert .memo-msg .popupMemo {
	font-size:18px;
	text-decoration:underline;
	display:block;
	padding:15px 0;
	color:#f1f1f1;
}

@charset "utf-8";

@font-face {
    font-family: "Youandi_Modern";
    font-style: normal;
    font-weight: 400;
    src: local("../fonts/Youandi_Modern_TextRegular"), /* computer */
    url("../../fonts/Youandi_Modern_TextRegular.eot"), /* IE9 Compat Modes */
    url("../../fonts/Youandi_Modern_TextRegular.woff2") format("woff2"), /* Modern Browsers */
    url("../../fonts/Youandi_Modern_TextRegular.woff") format("woff"), /* Modern Browsers */
    url("../../fonts/Youandi_Modern_TextRegular.ttf") format("truetype"); /* Safari, Android, iOS */
}

@font-face {
    font-family: "Youandi_Modern";
    font-style: normal;
    font-weight: 700;
    src: local("../fonts/Youandi_Modern_TextBold"), /* computer */
    url("../../fonts/Youandi_Modern_TextBold.eot"), /* IE9 Compat Modes */
    url("../../fonts/Youandi_Modern_TextBold.woff2") format("woff2"), /* Modern Browsers */
    url("../../fonts/Youandi_Modern_TextBold.woff") format("woff"), /* Modern Browsers */
    url("../../fonts/Youandi_Modern_TextBold.ttf") format("truetype"); /* Safari, Android, iOS */
}

@font-face {
    font-family: "Youandi_Modern";
    font-style: normal;
    font-weight: 800;
    src: local("../fonts/Youandi_Modern_HeadExtraBold"), /* computer */
    url("../../fonts/Youandi_Modern_HeadExtraBold.eot"), /* IE9 Compat Modes */
    url("../../fonts/Youandi_Modern_HeadExtraBold.woff2") format("woff2"), /* Modern Browsers */
    url("../../fonts/Youandi_Modern_HeadExtraBold.woff") format("woff"), /* Modern Browsers */
    url("../../fonts/Youandi_Modern_HeadExtraBold.ttf") format("truetype"); /* Safari, Android, iOS */
}

@font-face {
    font-family: 'NEXON Lv2 Gothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv2 Gothic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NEXONFootballGothicLA1';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXONFootballGothicLA1.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: "Youandi_Modern";
    box-sizing: border-box;
}

body{
    min-width:320px;
    min-height:100%;
    background:#fff;
    /*background:rgb(238, 238, 245);*/
    color:#212121;
    font-size:12px;
    line-height:140%
}


.container {
}

.wrapper {
    width:1500px;
    margin:0 auto;
}

#topHeader {
	padding:15px 0;
	background:#f1f1f1;
	& .wrapper {
		display:flex;
		justify-content: space-between;
		& .top-header-left {
			& .tool-link {
				display:flex;
				& li {
					margin-right: 10px;
				}
			}
		}

		& .top-header-right {
			display: flex;
			& .account-link {
				display: flex;
				justify-content: space-between;
				& li {
					margin-left:10px;
				}
			}
			& .account-info {
				display:flex;
				align-items: center;
				& .mb-info {
					display:flex;
					align-items: center;
					& .xp-icon {
						margin-right:5px;
					}
				}
				& .mb-link {
					display:flex;
					& li {
						margin-left:10px;
					}
				}
			}
		}
	}
}

#header {
    display:flex;
    padding:35px 0;
    background:#fff;
    & .wrapper {
		display:flex;
		align-items: center;
    }
    & .header-col {
		flex: 1;
	}
	& .header-logo {
		flex:3;
	}
	& .header-search {
		flex:5;
		& .search {
			& .input-form {
				width:100%;
				position:relative;
				border:1px solid #dadada;
				& .input-text {
					width: 100%;
					padding: 25px;
					padding-right:45px;
					border:0;
				 }
				& .submit {
					position:absolute;
					top:0;
					right:0;
					bottom:0;
					width:45px;
					background:#fff;
					text-align:center;
					& .iconify {
						font-size:15px;
					}
				}
			}
		}
	}
	& .header-right {
		flex:2;
	}
}

#gnb {
    background:#33435e;
    & .nav {
	display:flex;
	& li {
	    position:relative;
	    flex:1;
	    & a {
		color: #fff;
		text-align: center;
		font-size: 14px;
		display: block;
		height: 45px;
		line-height: 45px;
		font-weight: 700;
		font-family: 'NEXONFootballGothicLA1';
	    }
	    & a:hover + .subnav {
		display:flex;
	    }
	    & .subnav {
		&:hover {
		    display:flex;
		}
		width:200px;
		position:absolute;
		display:none;
		top:45px;
		left:0;
		background:#525f78;
		z-index:100;
		& .subnav-list {
		    width:100%;
		    & li {
			width: 100%;
			& a {
			    &:hover {
				background: #32435e;
				width: 100%;
				color:#fff;
			    }
			    padding: 0 20px;
			    text-align: left;
			    font-size: 12px;
			    font-weight:100;
			    display: block;
			    width:100%;
			    color:#fff;
			}
		    }
		}
		&.widly {
		    width:350px;
		    & ul {
			& li {
			    float:left;
			    width:50%;
			}
		    }
		}
	    }
	}
    }
}

#content {
    height:100%;
    & .wrapper {
	display:flex;
	& .content-col {
	}
	& .content-left-sidebar {
	    width:270px;
	    padding:25px 0px;
	}
	& .content-main {
	    background:#fff;
	    width:1030px;
	    padding:25px 15px;
	}
	& .content-right-sidebar {
	    width:200px;
	}
    }
}

#sidebar-left {
    & .sidebar-row {
		position:relative;

		& .domain {
			background:#e1e7ee;
			padding:10px 10px;
			& .domain-name {
			margin-top:5px;
			border:1px solid #32435e;
			background:#fff;
			padding:5px 5px;
			text-align:center;
			font-size:12px;
			& strong {
				color:red;
			}
			}
		}
		& .twitter {
			background:#33435e;
			min-height:180px;
		}

		& .premium-shop-list {
			display: block;
			gap: 10px;
			margin-top: 3px;
			& .shop-item {
				border: 2px solid #33435e;
				position: relative;
				width:100%;
				margin-bottom:3px;
				& a {
					position: relative;
					display:block;
					width:100%;
					& .region {
						 display: block;
						 position: absolute;
						 top: 8px;
						 left: 5px;
						 padding: 3px 5px;
						 border: 2px solid #fff;
						 color: #fff;
						 border-radius: 15px;
						 font-size: 11px;
						 font-weight: bold;
						z-index:1;
					}
					& .slogan {
						width:100%;
						position: relative;
						display:block;
						& img {
							max-width:100%;
							width:100%;
						}
						& .watermark {
							position: absolute;
							bottom: 0px;
							right: 0px;
							z-index: 1;
							display: block;
							width: 100%;
							background: radial-gradient(rgba(66, 110, 154, 0.6), rgba(0, 0, 0, 0.498039)) rgba(245, 230, 230, 0.2);
							& span {
								font-size: 1.8em;
								font-weight: 700;
								color: #ffffff;
								width: 100%;
								float: left;
								z-index: 100;
								text-shadow: rgba(0, 0, 0, 0.4) 0px 4px 3px, rgba(0, 0, 0, 0.0980392) 0px 8px 13px, rgba(0, 0, 0, 0.0980392) 0px 18px 23px;
								padding: 0 10px;
								line-height: 1.8em;
							}
						}
					}
				}
			}
		}

    }
}

.sidebar-right {
    padding:25px 0;
    & .sidebar-row {
		margin-bottom: 10px;
		& h1 {
			font-size: 12px;
			font-weight: 700;
			color: #fff;
			background: #33435e;
			padding: 8px 10px;
			margin: 0;
		}
    }
    & .sidebar-box {
		border: 1px solid #ddd;
		border-top: 0;
		background: #fff;
		min-height: 60px;
    }
    & .sidebar-box-item {
		padding: 6px 10px;
		font-size: 11px;
		border-bottom: 1px solid #f0f0f0;
		& a { color: #333; }
		& a:hover { color: #33435e; text-decoration: underline; }
    }
    & .sidebar-box-item:last-child {
		border-bottom: 0;
    }
    & .sidebar-box-empty {
		padding: 20px;
		text-align: center;
		font-size: 11px;
		color: #999;
    }
}

/* ===== 아웃로그인 ===== */
.outlogin {
  border: 2px solid #33435e;
  background: #fff;
}
.outlogin-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #33435e;
  color: #fff;
}
.outlogin-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.outlogin-nick {
  font-size: 13px;
  font-weight: 700;
}
.outlogin-level {
  font-size: 11px;
  opacity: 0.7;
}
.outlogin-stats {
  display: flex;
  border-bottom: 1px solid #eee;
}
.outlogin-stat {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-right: 1px solid #eee;
}
.outlogin-stat:last-child {
  border-right: 0;
}
.outlogin-stat .label {
  display: block;
  font-size: 10px;
  color: #999;
  margin-bottom: 3px;
}
.outlogin-stat strong {
  font-size: 13px;
  color: #33435e;
}
.outlogin-stat strong.cash {
  color: #e53e3e;
}
.outlogin-links {
  display: flex;
}
.outlogin-links a {
  flex: 1;
  text-align: center;
  padding: 8px;
  font-size: 11px;
  color: #555;
  border-right: 1px solid #eee;
  transition: background 0.15s;
}
.outlogin-links a:last-child {
  border-right: 0;
}
.outlogin-links a:hover {
  background: #f3f4f5;
}
/* 비로그인 */
.outlogin-title {
  background: #33435e;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
}
.outlogin-form {
  padding: 12px;
}
.outlogin-form input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  font-size: 12px;
  box-sizing: border-box;
  margin-bottom: 6px;
}
.outlogin-form input:focus {
  border-color: #33435e;
  outline: none;
}
.outlogin-form button {
  width: 100%;
  padding: 9px;
  background: #33435e;
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.outlogin-form button:hover {
  background: #2a3750;
}
.outlogin-register {
  text-align: center;
  margin-top: 8px;
}
.outlogin-register a {
  font-size: 11px;
  color: #888;
}
.outlogin-register a:hover {
  color: #33435e;
}

#cover {
	& .cover-topic {
		border:2px solid #33435e;
		background:#fff;
		font-size:18px;
		padding:5px 10px;
		height:45px;
		display:flex;
		align-items:center;
		margin-bottom:15px;
		& .topic {
			display:flex;
			& .icon {
				width:30px;
				display:flex;
				align-items:center;
				& .iconify {
					align-items:center;
					font-size:22px;
				}
			}
			& h1 {
				display:flex;
				align-items:center;
				font-size:18px;
				color:#33435e;
				text-align:left;
			}
		}
	}

	& .cover-region {
		& .region-list {
			display:flex;
			justify-content: center;
			margin-bottom:20px;
			background:#edeff2;
			border:2px solid #32435e;
			& li {
				flex:1;
				background:#fff;
				border-left:1px solid #dadddf;
				&:first-child {
					margin-left:0;
					border-left:0;
				}
				& a {
					padding:15px 10px;
					display:block;
					width:100%;
					text-align:center;
					display:inline-block;
				}
				&.active {
					background: #32435e;
					& a {
						color: #fff;
					}
					& + li {
						border-left:#32435e;
					}
				}

			}
		}
	}

}

.page {
	& .page-header {
		& h1 {
			border:2px solid #33435e;
			background:#fff;
			font-size:18px;
			padding:5px 10px;
			height:45px;
			display:flex;
			align-items:center;
			margin-bottom:15px;
			& .iconify {
				margin-right:5px;
				align-items:center;
				font-size:22px;
			}
			& .title {
				align-items:center;
				font-size:18px;
				color:#33435e;
			}
		}
		& .nav {
			display:block;
			& .nav-list {
				display:flex;
				& li {
					padding:10px 15px;
					border:2px solid #33435e;
					background:#fff;
					margin-right:5px;
					&.on {
						background: #33435e;
					}
				}
			}
		}
	}
}
@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}
@keyframes progress-shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
.user-sidebar-card {
  background: #fff;
  border: 1px solid #dadada;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}
.user-sidebar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #33435e;
}
.user-profile-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem;
  background: linear-gradient(135deg, #e1e7ee 0%, #edeff2 100%);
  border-bottom: 1px solid #dadada;
}
.user-avatar {
  position: relative;
  flex-shrink: 0;
}
.user-avatar-inner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #525f78 0%, #33435e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(51, 67, 94, 0.3);
  position: relative;
  overflow: hidden;
}
.user-avatar-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  animation: shine 3s infinite;
}
.user-avatar-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}
.user-level-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.125rem 0.375rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
  border: 2px solid #fff;
  white-space: nowrap;
}
.user-info {
  flex: 1;
  min-width: 0;
}
.user-greeting {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}
.user-name {
  font-size: 1rem;
  font-weight: 700;
  color: #212121;
  margin-bottom: 0.375rem;
  word-break: break-word;
}
.user-rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid #f59e0b;
}
.user-rank-badge .rank-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: #d97706;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}
.user-exp-section {
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid #f3f4f5;
}
.exp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.exp-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
}
.exp-label .iconify {
  font-size: 1rem;
  color: #f59e0b;
}
.exp-values {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
}
.exp-current {
  color: #33435e;
}
.exp-separator {
  color: #9ca3af;
  font-weight: 400;
}
.exp-next {
  color: #6b7280;
}
.exp-max {
  color: #059669;
  font-size: 0.75rem;
}
.exp-progress-bar {
  width: 100%;
  height: 10px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.5rem;
}
.exp-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #525f78 0%, #33435e 50%, #324453 100%);
  border-radius: 10px;
  position: relative;
  transition: width 0.3s ease;
  box-shadow: 0 2px 8px rgba(51, 67, 94, 0.3);
}
.exp-progress-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: progress-shine 2s infinite;
}
.exp-to-next {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: #6b7280;
  padding: 0.375rem 0.5rem;
  background: #f9fafb;
  border-radius: 6px;
}
.exp-to-next .iconify {
  font-size: 0.875rem;
  color: #33435e;
}
.exp-to-next strong {
  color: #33435e;
  font-weight: 700;
}
.exp-to-next.exp-max-level {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
}
.exp-to-next.exp-max-level .iconify {
  color: #059669;
}
.user-point-cash {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid #f3f4f5;
}
.point-cash-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 8px;
  transition: all 0.2s;
}
.point-cash-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.point-cash-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.point-item .point-cash-icon {
  background: linear-gradient(135deg, #525f78 0%, #33435e 100%);
}
.cash-item .point-cash-icon {
  background: linear-gradient(135deg, #f10000 0%, #d40000 100%);
}
.point-cash-letter {
  font-size: 0.625rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.point-cash-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #212121;
  word-break: break-all;
  margin-left: 0.5rem;
}
.user-quick-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #f3f4f5;
  background: #fff;
}
.quick-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.625rem 0.5rem;
  text-decoration: none;
  color: #6b7280;
  font-size: 0.6875rem;
  font-weight: 600;
  transition: all 0.2s;
  border-right: 1px solid #f3f4f5;
  background: #fff;
}
.quick-menu-item:last-child {
  border-right: none;
}
.quick-menu-item:hover {
  background: #f9fafb;
  color: #33435e;
}
.quick-menu-item .iconify {
  font-size: 1.25rem;
  transition: transform 0.2s;
}
.quick-menu-item:hover .iconify {
  transform: scale(1.1);
}
@media (max-width: 767px) {
  .user-profile-header {
    padding: 1rem;
  }
  .user-avatar-inner {
    width: 56px;
    height: 56px;
  }
  .user-avatar-text {
    font-size: 1.25rem;
  }
  .user-point-cash {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  .point-cash-icon {
    width: 18px;
    height: 18px;
  }
  .point-cash-letter {
    font-size: 0.5625rem;
  }
  .point-cash-value {
    font-size: 0.875rem;
    margin-left: 0.375rem;
  }
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.status-badge .iconify {
  font-size: 1rem;
}
.status-won {
  background: #d1fae5;
  color: #065f46;
}
.status-lost {
  background: #fee2e2;
  color: #991b1b;
}
.status-pending {
  background: #fef3c7;
  color: #92400e;
}
.status-cancelled {
  background: #e5e7eb;
  color: #374151;
}
.login-form-wrapper {
  padding: 0;
}
.login-header {
  padding: 1rem 1rem 0.75rem;
  border-bottom: 2px solid #33435e;
}
.login-title {
  font-size: 1rem;
  font-weight: 700;
  color: #33435e;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.login-title::before {
  content: '';
  width: 3px;
  height: 16px;
  background: #33435e;
  border-radius: 2px;
}
.login-form {
  padding: 1rem;
}
.login-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.login-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.login-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
}
.login-icon {
  font-size: 1rem;
  color: #6b7280;
}
.login-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #dadada;
  border-radius: 6px;
  font-size: 0.9375rem;
  color: #212121;
  background: #fff;
  transition: all 0.2s;
  box-sizing: border-box;
}
.login-input:focus {
  outline: none;
  border-color: #33435e;
  box-shadow: 0 0 0 3px rgba(51, 67, 94, 0.15);
}
.login-input::placeholder {
  color: #9ca3af;
}
.login-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  background: #33435e;
  color: #fff;
  box-shadow: 0 2px 4px rgba(51, 67, 94, 0.3);
  width: 100%;
  padding: 0.75rem 1rem;
}
.login-submit-btn:hover {
  background: #525f78;
  box-shadow: 0 4px 8px rgba(51, 67, 94, 0.4);
  transform: translateY(-1px);
}
.login-submit-btn .iconify {
  font-size: 1rem;
}
.login-submit-btn:active {
  transform: translateY(0);
}
.login-footer {
  padding: 0.75rem 1rem 1rem;
  text-align: center;
}
.register-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  color: #6b7280;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border-radius: 4px;
}
.register-link:hover {
  color: #33435e;
  background: #f9fafb;
}
.register-link .iconify {
  font-size: 0.9375rem;
}
.calendar-wrapper {
  background: #fff;
  border: 1px solid #dadada;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 1rem;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.calendar-header .calendar-title {
  font-size: 1rem;
  font-weight: 700;
  color: #33435e;
}
.calendar-header .calendar-nav {
  display: flex;
  gap: 0.5rem;
}
.calendar-header .calendar-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  background: #f3f4f5;
  color: #374151;
  border: 1px solid #dadada;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}
.calendar-header .calendar-nav button:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #212121;
}
.calendar-header .calendar-nav button:hover {
  background: #33435e;
  color: #fff;
  border-color: #33435e;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #dadada;
}
.calendar-day-header {
  background: #33435e;
  color: #fff;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.calendar-day {
  background: #fff;
  padding: 0.5rem;
  min-height: 60px;
  font-size: 0.75rem;
  transition: all 0.15s;
}
.calendar-day:hover {
  background: #f9fafb;
}
.calendar-day.today {
  background: #e1e7ee;
  font-weight: 700;
}
.calendar-day.attended {
  background: #d1fae5;
}
.calendar-day.attended::after {
  content: '\2713';
  display: block;
  text-align: center;
  color: #059669;
  font-size: 1rem;
}
.calendar-day.sunday {
  color: #f10000;
}
.calendar-day.saturday {
  color: #33435e;
}
.site-footer {
  background: #fff;
  border-top: 2px solid #33435e;
  margin-top: 3rem;
}
.footer-nav {
  border-bottom: 1px solid #dadada;
  padding: 1rem 0;
  background: #fff;
}
.footer-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
  max-width: 1500px;
  margin: 0 auto;
}
.footer-nav-links a {
  color: #6b7280;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s;
}
.footer-nav-links a:hover {
  color: #33435e;
}
.footer-nav-divider {
  color: #d1d5db;
  margin: 0 0.25rem;
}
.footer-main {
  padding: 2.5rem 0;
  background: #fff;
}
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1500px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.footer-logo {
  flex-shrink: 0;
}
.footer-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.footer-brand-info {
  flex: 1;
}
.footer-brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #212121;
  margin-bottom: 0.25rem;
}
.brand-text {
  color: #33435e;
}
.footer-brand-slogan {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
}
.footer-company-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #374151;
  line-height: 1.6;
}
.footer-info-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-info-label {
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
}
.footer-info-value {
  color: #374151;
}
.footer-disclaimer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
}
.footer-disclaimer-text {
  font-size: 0.75rem;
  color: #dc2626;
  font-weight: 600;
  line-height: 1.6;
}
.footer-copyright {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-section-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #212121;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #33435e;
}
.footer-content-act .footer-act-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #374151;
  line-height: 1.6;
}
.footer-copyright-guide .footer-copyright-text {
  font-size: 0.75rem;
  color: #374151;
  line-height: 1.8;
  text-align: justify;
}
@media (max-width: 768px) {
  .footer-main {
    padding: 2rem 0;
  }
  .footer-nav-links {
    justify-content: flex-start;
    padding: 0 1rem;
  }
  .footer-content {
    padding: 0 1rem;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-logo-img {
    width: 40px;
    height: 40px;
  }
  .footer-brand-name {
    font-size: 1rem;
  }
  .footer-disclaimer {
    padding: 0.875rem;
  }
}
.home-team-rankings {
  background: #fff;
  border: 1px solid #dadada;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.home-team-rankings table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}
.home-team-rankings th,
.home-team-rankings td {
  padding: 8px 6px;
  text-align: center;
}
.home-team-rankings th {
  background: #33435e;
  font-weight: 600;
  color: #fff;
}
.home-team-rankings tr {
  border-bottom: 1px solid #f1f1f1;
}
.home-team-rankings tr:last-child {
  border-bottom: none;
}
.home-team-rankings .team-logo {
  width: 20px;
  height: 20px;
  background: #e5e7eb;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}
.home-widgets-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.home-widget-box {
  background: #fff;
  border: 1px solid #dadada;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  min-width: 240px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-widget-box .widget-title {
  background: #33435e;
  font-weight: 600;
  color: #fff;
  padding: 10px 16px;
  border-bottom: 1px solid #dadada;
  font-family: "NEXONFootballGothicLA1", "Youandi_Modern", -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", Arial, sans-serif;
}
.home-widget-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-widget-box li {
  padding: 10px 16px;
  border-bottom: 1px solid #f1f1f1;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}
.home-widget-box li:last-child {
  border-bottom: none;
}
.home-widget-box li:hover {
  background: #f3f4f5;
}
.home-widget-box .widget-meta {
  color: #9ca3af;
  font-size: 12px;
  margin-left: 8px;
}
.modal {
  min-width: 1020px!important;
}
#shop-modal {
  padding: 0;
}
.theme-list {
  display: flex;
  border: 2px solid #33435e;
  margin-bottom: 12px;
}
.theme-list li {
  flex: 1;
  border-left: 1px solid #c0c6d0;
}
.theme-list li:first-child {
  border-left: 0;
}
.theme-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 8px;
  background: #fff;
  color: #33435e;
  transition: background 0.15s, color 0.15s;
}
.theme-list li a:hover {
  background: #ebeef3;
}
.theme-list li.active a {
  background: #33435e;
  color: #fff;
}
.theme-list li.active + li {
  border-left-color: #33435e;
}
.theme-list li a .icon {
  font-size: 24px;
  line-height: 1;
}
.theme-list li a .name {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.area-list-container {
  margin-bottom: 15px;
}
.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 6px;
}
.area-list li a {
  display: block;
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  color: #33435e;
  background: #f7f8fa;
  border: 1px solid #dde1e8;
  border-radius: 4px;
  transition: all 0.15s;
}
.area-list li a:hover {
  background: #ebeef3;
  border-color: #33435e;
}
.area-list li.active a {
  background: #33435e;
  color: #fff;
  border-color: #33435e;
  font-weight: 700;
}
/* ===== 프리미엄 섹션 (메인 상단) ===== */
.premium-section {
  margin-bottom: 15px;
}
/* 프리미엄 목록 그리드 */
.premium-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 10px 0;
}
/* 프리미엄 카드 금색 테두리 + 왕관 */
.premium-item {
  border: 2px solid #f59e0b !important;
  position: relative;
}
.premium-item:hover {
  border: 2px solid #d97706 !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.premium-crown {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 5;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.5);
}

.shop-list {
  display: grid;
  position: relative;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border-top: 3px dashed #ddd;
  padding: 20px 0;
}
.shop-item {
  border: 2px solid #33435e;
  position: relative;
}
.shop-item:hover {
  border: 2px solid #ff0000;
}
.shop-item .slogan {
  position: relative;
}
.shop-item .slogan img {
  max-width: 100%;
}
.shop-item .slogan .watermark {
  position: absolute;
  bottom: 0px;
  right: 0px;
  z-index: 1;
  display: block;
  width: 100%;
  background: radial-gradient(rgba(66, 110, 154, 0.6), rgba(0, 0, 0, 0.498039)) rgba(245, 230, 230, 0.2);
}
.shop-item .slogan .watermark span {
  font-size: 1.8em;
  font-weight: 700;
  color: #ffffff;
  display: block;
  width: 100%;
  box-sizing: border-box;
  z-index: 100;
  text-shadow: rgba(0, 0, 0, 0.4) 0px 4px 3px, rgba(0, 0, 0, 0.0980392) 0px 8px 13px, rgba(0, 0, 0, 0.0980392) 0px 18px 23px;
  padding: 0 10px;
  line-height: 1.8em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 할인 뱃지 */
.discount-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  z-index: 10;
  animation: discount-pulse 2s ease-in-out infinite;
}
.discount-badge span {
  display: flex;
  align-items: center;
  gap: 2px;
  background: linear-gradient(135deg, #ff2d55, #ff6b35);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 4px 4px 4px 12px;
  box-shadow: 0 3px 12px rgba(255, 45, 85, 0.5);
  letter-spacing: -0.3px;
  line-height: 1;
}
.discount-badge span small {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.9;
}
@keyframes discount-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
/* 프리미엄 사이드바 할인 뱃지 */
.premium-shop-list .discount-badge {
  top: -3px;
  right: -3px;
}
.premium-shop-list .discount-badge span {
  font-size: 11px;
  padding: 4px 8px;
}
.shop-item .info {
  padding: 10px;
}
.shop-item .info .subject {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px dashed #ddd;
  padding: 0 0 7px 0;
}
.shop-item .info .summary .location {
  margin: 7px 0;
}
.shop-item .info .summary dl {
  margin: 7px 0;
  display: flex;
}
.shop-item .info .summary dl dt {
  background: #f2f3f5;
  border-radius: 3px;
  padding: 2px;
  font-size: 12px;
  min-width: 50px;
  text-align: center;
}
.shop-item .info .summary dl dd {
  margin-left: 5px;
  justify-content: center;
  font-size: 12px;
  padding: 2px;
}
.shop-item .link {
  padding: 0 10px 10px 10px;
}
.shop-item .link .btn-profile {
  display: block;
  text-align: center;
  height: 25px;
  line-height: 25px;
  background: #33435e;
  color: #fff;
}
.shop-item .link .two-link {
  display: flex;
  margin-top: 5px;
}
.shop-item .link .two-link li {
  flex: 1;
  border: 1px solid #ddd;
}
.shop-item .link .two-link li:first-child {
  border-right: 0;
}
.shop-item .link .two-link li a {
  width: 100%;
  display: inline-block;
  text-align: center;
  height: 25px;
  line-height: 25px;
}
.shop-header .shop-info {
  display: flex;
  background: #f1f1f1;
}
.shop-header .shop-info .slogan .thumb {
  width: 250px;
}
.shop-header .shop-info .slogan .thumb img {
  width: 100%;
}
.shop-header .shop-info .info {
  margin-left: 15px;
  padding: 5px 0;
}
.shop-header .shop-info .info p {
  font-size: 18px;
  line-height: 28px;
}
.shop-header .shop-info .info .shop-name p {
  font-size: 38px;
  line-height: 55px;
}
.shop-view .shop-view-body {
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  bottom: 0;
}
.shop-view .shop-view-body .shop-iframe {
  border: 0;
  width: 100%;
  height: 100%;
}
.shop-iframe-view {
  line-height: initial!important;
  text-align: center;
}
.shop-iframe-view p,
.shop-iframe-view span,
.shop-iframe-view em,
.shop-iframe-view div {
  text-align: center!important;
}
.shop-iframe-view img {
  max-width: 100%;
}
.shop-iframe-comment {
  padding: 15px;
}
.shop-iframe-comment .shop-comment-write-box {
  width: 100%;
  padding: 15px;
  border: 1px solid #e8edf1;
  background: #f7f8fa;
}
.shop-iframe-comment .shop-comment-write-box .write-form {
  display: flex;
}
.shop-iframe-comment .shop-comment-write-box .write-form .mb-info {
  flex: 2;
}
.shop-iframe-comment .shop-comment-write-box .write-form .input-text {
  flex: 7;
  width: 100%;
}
.shop-iframe-comment .shop-comment-write-box .write-form .submit {
  flex: 1;
}
.shop-iframe-comment .shop-comment-list-box {
  display: block;
}
.shop-iframe-comment .shop-comment-list-box .shop-comment-list {
  padding: 10px 0;
}
.shop-iframe-comment .shop-comment-list-box .shop-comment-list li {
  width: 100%;
  display: flex;
  margin-bottom: 25px;
}
.shop-iframe-comment .shop-comment-list-box .shop-comment-list li .comment-avatar {
  display: flex;
}
.shop-iframe-comment .shop-comment-list-box .shop-comment-list li .comment-avatar .pf-img img {
  width: 50px;
  border-radius: 100%;
}
.shop-iframe-comment .shop-comment-list-box .shop-comment-list li .comment-box {
  position: relative;
  margin-left: 28px;
  width: 100%;
  border: 1px solid #e8edf1;
}
.shop-iframe-comment .shop-comment-list-box .shop-comment-list li .comment-box:before {
  left: -13px;
  border-width: 11px 13px 11px 0;
  border-color: transparent #e8edf1;
}
.shop-iframe-comment .shop-comment-list-box .shop-comment-list li .comment-box:after {
  position: absolute;
  top: 8px;
  left: -12px;
  width: 0;
  height: 0;
  border-width: 10px 12px 10px 0;
  border-style: solid;
  border-color: transparent #f7f8fa;
  content: '';
}
.shop-iframe-comment .shop-comment-list-box .shop-comment-list li .comment-box .cmt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  border-bottom: 1px solid #eceff5;
  background: #f7f8fa;
  height: 46px;
}
.shop-iframe-comment .shop-comment-list-box .shop-comment-list li .comment-box .cmt-head .mb-info {
  display: flex;
  align-items: center;
}
.shop-iframe-comment .shop-comment-list-box .shop-comment-list li .comment-box .cmt-head .mb-info .nick {
  margin-left: 10px;
}
.shop-iframe-comment .shop-comment-list-box .shop-comment-list li .comment-box .cmt-content {
  padding: 15px;
  background: #FFF;
  font-size: 12px;
  line-height: 18px;
  color: #5B666E;
}
.shop-iframe-comment .shop-comment-list-box .shop-comment-list li .comment-box .cmt-tail {
  padding: 0 15px 15px;
}
.shop-iframe-comment .shop-comment-list-box .shop-comment-list li .comment-box .cmt-tail .action-box {
  display: flex;
  justify-content: space-between;
}
.shop-iframe-comment .shop-comment-list-box .shop-comment-list li .comment-box .cmt-tail .action-box .left-action a {
  height: 24px;
  padding: 5px 10px;
  border: 1px solid #d9dde4;
  background-color: #fff;
  font-size: 11px;
  color: #6A747B;
  line-height: 23px;
  vertical-align: top;
}
.shop-iframe-comment .paging {
  display: flex;
  justify-content: center;
}
.shop-iframe-review .review-list li {
  border: 1px solid #d1d1d1;
  border-radius: 3px;
  padding: 15px;
}
.shop-iframe-review .review-list li .subject p {
  font-size: 18px;
  font-weight: 700;
}
.shop-iframe-review .review-list li .info {
  display: flex;
  justify-content: space-between;
}
.shop-iframe-review .review-list-table {
  width: 100%;
  border: 1px solid #d9dde4;
}
.shop-iframe-review .review-list-table tr th {
  background: #f8f7fa;
  color: #000;
  padding: 10px 0;
}
.shop-iframe-review .review-list-table tr td {
  border-bottom: 1px solid #d9dde4;
  padding: 10px 0;
}
.shop-iframe-review .review-list-table tr td p.empty-review-list {
  padding: 100px 0;
  text-align: center;
}
/* 출석부 헤더 */
.attendance-header {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.attendance-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

.attendance-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .attendance-header {
        padding: 1.5rem 2rem;
    }
    
    .attendance-title {
        font-size: 1.75rem;
    }
}

/* 출석부 캘린더 스타일 */
.attendance-calendar {
    max-width: 100%;
}

.calendar-header {
    border-bottom: 2px solid #e5e7eb;
}

.calendar-day {
    aspect-ratio: 1;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s;
    background: #fff;
}

.calendar-day.empty {
    border: none;
    background: transparent;
}

.calendar-day.today {
    border: 2px solid #0ea5a4;
    background: #f0fdfa;
}

.calendar-day.attended {
    background: #ecfdf5;
    border-color: #10b981;
}

.calendar-day.attended.today {
    background: #d1fae5;
    border-color: #10b981;
}

.calendar-day:hover:not(.empty) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.day-number {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.calendar-day.attended .day-number {
    color: #059669;
}

.attendance-badge {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
}

/* 출석 메시지 스타일 */
.attendance-messages {
    max-height: 600px;
    overflow-y: auto;
}

.attendance-messages::-webkit-scrollbar {
    width: 6px;
}

.attendance-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.attendance-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.attendance-messages::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@media (max-width: 768px) {
    .calendar-day {
        padding: 0.25rem;
        font-size: 0.75rem;
    }
    
    .day-number {
        font-size: 0.75rem;
    }
    
    .attendance-badge {
        top: 0.125rem;
        right: 0.125rem;
    }
    
    .attendance-badge .iconify {
        font-size: 0.75rem !important;
    }
}

/* board/community 스타일은 board.css에서 관리 */


.sports-betting-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

/* 종목 필터 버튼 */
.sport-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f4f5f7;
    border: 1px solid #e0e3e8;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    font-size: 0.8125rem;
}

.sport-filter-btn:hover {
    background: #e8eaee;
    border-color: #cfd3da;
}

.sport-filter-btn.active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

.sport-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.sport-filter-btn .iconify {
    font-size: 0.875rem;
}

.sport-name {
    font-weight: 600;
    font-size: 0.8125rem;
}

.sport-count {
    font-size: 0.6875rem;
    opacity: 0.55;
    font-weight: 500;
}

.sport-filter-btn.active .sport-count {
    opacity: 0.8;
}

/* 헤더 */
.betting-main {
    width: 100%;
}

.betting-header {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

.betting-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.75rem 0;
}

.sport-filter-section {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sport-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.matches-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ── 경기 카드 ── */
.match-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.15s;
}

.match-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
}

.league-badge {
    display: inline-block;
    padding: 2px 10px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.match-time {
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
}

/* ── 베팅 행 (수평 테이블 스타일) ── */
.bet-row {
    display: flex;
    align-items: stretch;
    gap: 4px;
    margin-bottom: 4px;
}

.bet-row:last-child {
    margin-bottom: 0;
}

.bet-row-handicap,
.bet-row-underover,
.bet-row-firstgoal {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #f0f0f0;
}

.bet-type-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    background: #f0f1f3;
    color: #777;
    border-radius: 4px;
    font-size: 0.625rem;
    width: 52px;
    text-align: center;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}

/* ── 베팅 버튼 (핵심: 수평·컴팩트) ── */
.bet-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 10px;
    background: #fafbfc;
    border: 1px solid #e2e4e8;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.12s;
    min-height: 0;
    line-height: 1;
}

.bet-option:hover {
    border-color: #3b82f6;
    background: #f0f5ff;
}

.bet-option.selected {
    background: #1a1a2e;
    border-color: #1a1a2e;
    color: #fff;
}

.bet-option.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* 팀명 */
.team-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #222;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.bet-option.selected .team-name {
    color: #fff;
}

/* 홈/원정 등 라벨 — 숨김 (팀명으로 충분) */
.bet-label {
    display: none;
}

/* 핸디캡 값 */
.handicap-value {
    font-size: 0.6875rem;
    color: #ef4444;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.bet-option.selected .handicap-value {
    color: #fca5a5;
}

/* 배당률 */
.odds-value {
    display: inline-block;
    padding: 2px 8px;
    background: #fff;
    border: 1px solid #e2e4e8;
    border-radius: 3px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #3b82f6;
    min-width: 48px;
    text-align: center;
    flex-shrink: 0;
    line-height: 1.3;
}

.bet-option:hover .odds-value {
    border-color: #93bbfc;
}

.bet-option.selected .odds-value {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
}

/* ── 빈 상태 ── */
.empty-matches {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.empty-icon {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 0.75rem;
}

.empty-matches p {
    margin: 0;
    font-size: 1rem;
    color: #9ca3af;
    font-weight: 500;
}

/* ── 카트 토글 버튼 ── */
.cart-toggle-btn {
    width: 52px;
    height: 52px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}

.cart-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0,0,0,0.35);
}

.cart-count-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ef4444;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
}

/* ── 베팅 카트 ── */
.betting-cart {
    position: fixed;
    bottom: -100%;
    right: 1.5rem;
    width: 380px;
    max-width: calc(100vw - 3rem);
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    border: 1px solid #e5e7eb;
    border-bottom: none;
    transition: bottom 0.25s ease-out;
    z-index: 1000;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.betting-cart.active {
    bottom: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #f0f0f0;
    background: #1a1a2e;
    border-radius: 12px 12px 0 0;
}

.cart-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.cart-close {
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
    color: #fff;
}

.cart-close:hover {
    background: rgba(255,255,255,0.25);
}

.cart-close .iconify {
    font-size: 1rem;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

.cart-items {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #eee;
    gap: 8px;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-league {
    font-size: 0.625rem;
    color: #999;
    font-weight: 600;
    margin-bottom: 2px;
}

.cart-item-match {
    font-size: 0.75rem;
    color: #222;
    font-weight: 600;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-bet {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-item-label {
    padding: 1px 6px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 3px;
    font-size: 0.625rem;
    font-weight: 600;
}

.cart-item-odds {
    font-size: 0.75rem;
    color: #3b82f6;
    font-weight: 700;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: #bbb;
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
    transition: all 0.15s;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: #fee2e2;
    color: #ef4444;
}

.cart-item-remove .iconify {
    font-size: 0.875rem;
}

.cart-amount-section {
    margin-bottom: 0.75rem;
}

.cart-amount-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
}

.cart-amount-input-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e0e3e8;
    border-radius: 6px;
    padding: 6px 10px;
    background: #fff;
    transition: border-color 0.15s;
}

.cart-amount-input-wrapper:focus-within {
    border-color: #3b82f6;
}

.cart-amount-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
}

.cart-amount-input::placeholder {
    color: #bbb;
}

.cart-amount-unit {
    font-size: 0.75rem;
    color: #888;
    font-weight: 600;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #eee;
}

.cart-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-summary-label {
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
}

.cart-summary-value {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111;
}

.cart-expected-win {
    color: #059669;
    font-size: 1rem;
}

.cart-footer {
    padding: 0.875rem 1.25rem;
    border-top: 1px solid #f0f0f0;
    background: #fafbfc;
}

.place-bet-btn {
    width: 100%;
    padding: 10px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.place-bet-btn:hover {
    background: #2a2a44;
}

.place-bet-btn:active {
    transform: scale(0.98);
}

/* ── 반응형 ── */
@media (max-width: 1024px) {
    .betting-cart {
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
    }
}

@media (max-width: 768px) {
    .sports-betting-wrapper {
        padding: 0.75rem;
    }

    .bet-row {
        flex-wrap: wrap;
    }

    .bet-type-label {
        width: 100%;
        margin-bottom: 3px;
        padding: 3px 0;
    }

    .bet-option {
        flex: 1 1 calc(50% - 2px);
        min-width: 0;
    }

    .betting-cart {
        max-height: 90vh;
    }

    .sport-filter-section {
        gap: 4px;
    }

    .sport-filter-btn {
        padding: 5px 10px;
    }
}

/* ── 경기 결과 스타일 ── */
.match-card-result {
    margin-bottom: 1rem;
}

.match-result-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    margin-bottom: 0.75rem;
}

.result-team-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.result-team-wrapper.winner {
    background: rgba(26,26,46,0.06);
    border: 1px solid #1a1a2e;
}

.result-team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    width: 100%;
}

.result-team-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111;
    text-align: center;
}

.result-team-wrapper.winner .result-team-name {
    color: #1a1a2e;
}

.result-winner-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 600;
}

.result-winner-badge .iconify {
    font-size: 0.75rem;
}

.result-score-large {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

.result-team-wrapper.winner .result-score-large {
    color: #1a1a2e;
}

.result-vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    flex-shrink: 0;
    min-width: 60px;
}

.result-vs-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.result-draw-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f59e0b;
    color: #fff;
    border-radius: 50%;
    font-size: 0.875rem;
}

.result-draw-badge .iconify {
    font-size: 1rem;
}

.match-result-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #eee;
    flex-wrap: wrap;
}

.result-summary-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.result-summary-draw {
    background: rgba(245,158,11,0.1);
    color: #d97706;
    border: 1px solid rgba(245,158,11,0.25);
}

.result-summary-winner {
    background: rgba(26,26,46,0.06);
    color: #1a1a2e;
    border: 1px solid rgba(26,26,46,0.18);
}

.result-summary-score {
    background: #fff;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.result-summary-item .iconify {
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .match-result-display {
        flex-direction: column;
        gap: 0.75rem;
    }

    .result-team-wrapper {
        width: 100%;
        max-width: 280px;
    }

    .result-score-large {
        font-size: 2rem;
    }

    .result-vs-divider {
        width: 100%;
        flex-direction: row;
        min-width: auto;
    }

    .match-result-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .result-summary-item {
        justify-content: center;
    }
}

/* 베팅내역 페이지 스타일 */

.status-filter-section {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.status-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: #f9fafb;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 0.8125rem;
    font-weight: 600;
}

.status-filter-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.status-filter-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.bet-history-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bet-history-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.bet-history-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.bet-history-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.bet-history-card:hover::before {
    opacity: 1;
}

.bet-history-card-group {
    border-left: 4px solid #3b82f6;
}

.bet-history-card-group::before {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    opacity: 1;
}

.bet-history-card-league-group {
    border-left: 4px solid #10b981;
}

.bet-history-card-league-group::before {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    opacity: 1;
}

.bet-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.bet-history-league {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.bet-history-league .iconify {
    font-size: 1rem;
    margin-right: 0.375rem;
    vertical-align: middle;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.status-badge .iconify {
    font-size: 1rem;
}

.status-won {
    background: #d1fae5;
    color: #065f46;
}

.status-lost {
    background: #fee2e2;
    color: #991b1b;
}

.status-special-win {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.bet-history-match {
    margin-bottom: 1rem;
}

.bet-history-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.bet-history-match-header-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bet-history-match-header-info .iconify {
    font-size: 1.125rem;
    color: #3b82f6;
}

.bet-history-sport-league {
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 500;
}

.bet-history-match-time {
    font-size: 0.8125rem;
    color: #9ca3af;
    font-weight: 400;
}

.bet-history-teams-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.bet-history-team-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex: 1;
    padding: 0.5rem 0.375rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.2s;
    min-height: 60px;
}

.bet-history-team-option .team-label {
    font-size: 0.6875rem;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bet-history-team-option .team-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    word-break: break-word;
    line-height: 1.2;
}

.bet-history-team-option.draw {
    flex: 0 0 auto;
    min-width: 60px;
    max-width: 70px;
}

.bet-history-team-option.selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.bet-history-team-option.selected .team-label {
    color: #3b82f6;
    font-weight: 700;
}

.bet-history-team-option.selected .team-name {
    color: #1e40af;
    font-weight: 700;
}

.bet-history-result-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 8px;
}

.bet-history-result-score .score-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.bet-history-result-score .score-separator {
    font-size: 1rem;
    font-weight: 600;
    color: #9ca3af;
}

.bet-history-bet-type-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.bet-type-badge {
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border-radius: 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.bet-odds-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: #fff;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.bet-odds-badge::before {
    content: '💰';
    font-size: 0.875rem;
}

.bet-history-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
    border-top: 1px solid #e5e7eb;
}

.bet-history-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bet-history-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.bet-history-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
}

.bet-history-win {
    color: #059669;
}

.bet-history-result {
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.result-score-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.result-score-display .vs {
    color: #9ca3af;
    font-weight: 400;
}

/* 경기결과 페이지 스타일 */
.match-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 1rem;
    margin: 1rem 0;
}

.result-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    max-width: 200px;
}

.result-team-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    word-break: break-word;
}

.result-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
}

.result-team.winner .result-team-name {
    color: #059669;
    font-weight: 700;
}

.result-team.winner .result-score {
    color: #059669;
}

.result-vs {
    font-size: 1.5rem;
    font-weight: 600;
    color: #9ca3af;
}

.result-draw,
.result-winner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1rem;
}

.result-winner {
    background: #d1fae5;
    color: #065f46;
}

.result-draw .iconify,
.result-winner .iconify {
    font-size: 1.125rem;
}

/* 조합 베팅 스타일 */
.bet-history-group-matches {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.bet-history-group-match-item {
    padding: 0.75rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.bet-history-group-match-item:not(:last-child) {
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
}

@media (max-width: 767px) {
    .bet-history-details {
        grid-template-columns: 1fr;
    }
    
    .match-result {
        flex-direction: column;
        gap: 1rem;
    }
    
    .result-vs {
        transform: rotate(90deg);
    }
}


/* 파워사다리 게임 스타일 - 베픽파워사다리 스타일 */

.ladder-game-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    min-height: 100vh;
}

.ladder-main {
    width: 100%;
    background: #fff;
}

/* 헤더 */
.ladder-header {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.ladder-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

.ladder-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.75rem 0;
    position: relative;
    z-index: 1;
}

.ladder-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.round-badge {
    padding: 0.375rem 0.875rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-weight: 600;
    color: #111827;
}

.round-badge strong {
    color: #3b82f6;
    font-size: 1rem;
}

.update-info {
    color: #6b7280;
}

.update-info strong {
    color: #ef4444;
    font-weight: 700;
}

/* 게임 설명 섹션 */
.game-description-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 0;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.description-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    background: #fff;
    transition: background-color 0.2s;
}

.description-header:hover {
    background: #f9fafb;
}

.description-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.toggle-description {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: transform 0.3s;
}

.toggle-description .iconify {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.description-content {
    padding: 1.5rem;
    background: #fff;
}

.description-item {
    margin-bottom: 1.5rem;
}

.description-item:last-child {
    margin-bottom: 0;
}

.description-item h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.75rem 0;
}

.description-item ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.description-item li {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.description-item li strong {
    color: #111827;
    font-weight: 600;
}

/* 현재 라운드 카드 */
.current-round-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.current-round-card::before {
    display: none;
}

.round-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.round-number {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.round-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.round-no {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
}

.round-timer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.timer-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.timer-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ef4444;
    font-variant-numeric: tabular-nums;
}

/* 사다리 중계 및 베팅 메인 섹션 */
.ladder-main-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 사다리 중계 화면 (와이드) */
.ladder-broadcast-section {
    width: 100%;
    background: #000;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 0;
    overflow: hidden;
    min-width: 0;
}

.ladder-broadcast-header {
    margin-bottom: 1.5rem;
}

.broadcast-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-align: center;
}

.ladder-broadcast-content {
    position: relative;
}

.ladder-board-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ladder-start-point {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.ladder-start-left {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.ladder-start-right {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.ladder-path-area {
    position: relative;
    background: #000000;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    border: 2px solid #333;
}

.ladder-path-area canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

.ladder-ball-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.ladder-ball {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.6);
    position: absolute;
    transition: all 0.1s linear;
    border: 3px solid #fff;
}

/* 대기 애니메이션 */
.waiting-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    color: #fff;
}

.waiting-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.waiting-text {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.ladder-result-area {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 1.5rem;
}

.result-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.result-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.result-point-left .result-label {
    color: #60a5fa;
}

.result-point-right .result-label {
    color: #f87171;
}

.result-odds {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    color: #fff;
    min-width: 100px;
    text-align: center;
}

.result-point-left .result-odds {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.result-point-right .result-odds {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* 베팅 선택 영역 (하단) */
.betting-options-section {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

/* 첫 번째 줄: 홀/짝, 좌/우, 3줄/4줄 수평 정렬 */
.betting-options-row-first {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.betting-option-group-inline {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.betting-options-buttons {
    display: flex;
    gap: 0.5rem;
}

.betting-options-buttons .bet-option-btn {
    flex: 1;
}

/* 두 번째 줄: 조합 베팅 */
.betting-option-group-combo {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.betting-options-combo-buttons {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.betting-options-combo-buttons .bet-option-btn {
    flex: 1;
}

.betting-group-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    text-align: left;
}

.bet-option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: #111827;
    flex: 1;
}

.bet-option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 홀: 파란색 */
.bet-option-btn[data-bet-type="odd"] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #2563eb;
    color: #fff;
}

.bet-option-btn[data-bet-type="odd"]:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.bet-option-btn[data-bet-type="odd"] .bet-option-label,
.bet-option-btn[data-bet-type="odd"] .bet-option-odds {
    color: #fff;
}

/* 짝: 빨간색 */
.bet-option-btn[data-bet-type="even"] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #dc2626;
    color: #fff;
}

.bet-option-btn[data-bet-type="even"]:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.bet-option-btn[data-bet-type="even"] .bet-option-label,
.bet-option-btn[data-bet-type="even"] .bet-option-odds {
    color: #fff;
}

/* 좌: 파란색 */
.bet-option-btn[data-bet-type="left"] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #2563eb;
    color: #fff;
}

.bet-option-btn[data-bet-type="left"]:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.bet-option-btn[data-bet-type="left"] .bet-option-label,
.bet-option-btn[data-bet-type="left"] .bet-option-odds {
    color: #fff;
}

/* 우: 빨간색 */
.bet-option-btn[data-bet-type="right"] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #dc2626;
    color: #fff;
}

.bet-option-btn[data-bet-type="right"]:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.bet-option-btn[data-bet-type="right"] .bet-option-label,
.bet-option-btn[data-bet-type="right"] .bet-option-odds {
    color: #fff;
}

/* 3줄: 빨간색 */
.bet-option-btn[data-bet-type="line3"] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #dc2626;
    color: #fff;
}

.bet-option-btn[data-bet-type="line3"]:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.bet-option-btn[data-bet-type="line3"] .bet-option-label,
.bet-option-btn[data-bet-type="line3"] .bet-option-odds {
    color: #fff;
}

/* 4줄: 파란색 */
.bet-option-btn[data-bet-type="line4"] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #2563eb;
    color: #fff;
}

.bet-option-btn[data-bet-type="line4"]:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.bet-option-btn[data-bet-type="line4"] .bet-option-label,
.bet-option-btn[data-bet-type="line4"] .bet-option-odds {
    color: #fff;
}

/* 조합 베팅: 좌3짝 - 빨간색 */
.bet-option-btn[data-bet-type="left3even"] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #dc2626;
    color: #fff;
}

.bet-option-btn[data-bet-type="left3even"]:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.bet-option-btn[data-bet-type="left3even"] .bet-option-label,
.bet-option-btn[data-bet-type="left3even"] .bet-option-odds {
    color: #fff;
}

/* 조합 베팅: 우3홀 - 파란색 */
.bet-option-btn[data-bet-type="right3odd"] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #2563eb;
    color: #fff;
}

.bet-option-btn[data-bet-type="right3odd"]:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.bet-option-btn[data-bet-type="right3odd"] .bet-option-label,
.bet-option-btn[data-bet-type="right3odd"] .bet-option-odds {
    color: #fff;
}

/* 조합 베팅: 좌4홀 - 파란색 */
.bet-option-btn[data-bet-type="left4odd"] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #2563eb;
    color: #fff;
}

.bet-option-btn[data-bet-type="left4odd"]:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.bet-option-btn[data-bet-type="left4odd"] .bet-option-label,
.bet-option-btn[data-bet-type="left4odd"] .bet-option-odds {
    color: #fff;
}

/* 조합 베팅: 우4짝 - 빨간색 */
.bet-option-btn[data-bet-type="right4even"] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #dc2626;
    color: #fff;
}

.bet-option-btn[data-bet-type="right4even"]:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.bet-option-btn[data-bet-type="right4even"] .bet-option-label,
.bet-option-btn[data-bet-type="right4even"] .bet-option-odds {
    color: #fff;
}

.bet-option-label {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.bet-option-odds {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3b82f6;
}

.bet-option-amount {
    font-size: 0.75rem;
    color: #6b7280;
}

/* 베팅 금액 입력 그룹 */
.betting-amount-group {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
}

.betting-amount-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.betting-amount-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #111827;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.betting-amount-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.betting-amount-input::placeholder {
    color: #9ca3af;
}

.betting-amount-quick {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.amount-quick-btn {
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #111827;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.amount-quick-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
    transform: translateY(-2px);
}

.betting-amount-quick-modal {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.amount-quick-btn-modal {
    padding: 0.375rem 0.75rem;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.amount-quick-btn-modal:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

/* 베팅 섹션 */
.betting-section {
    margin-top: 2rem;
}

.betting-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.bet-btn {
    padding: 1.5rem;
    border: 3px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.bet-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.bet-btn-left::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.bet-btn-right::before {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
}

.bet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.bet-btn:hover::before {
    opacity: 1;
}

.bet-btn-left:hover {
    border-color: #3b82f6;
}

.bet-btn-right:hover {
    border-color: #ef4444;
}

.bet-btn-content {
    position: relative;
    z-index: 1;
}

.bet-btn-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.bet-line-label {
    font-size: 1.125rem;
    font-weight: 700;
}

.bet-btn-left .bet-line-label {
    color: #3b82f6;
}

.bet-btn-right .bet-line-label {
    color: #ef4444;
}

.bet-odds {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: #fff;
}

.bet-btn-left .bet-odds {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.bet-btn-right .bet-odds {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.bet-stats {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bet-amount-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.bet-amount-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

/* 빈 상태 */
.no-round-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 4rem 2rem;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.empty-icon {
    margin-bottom: 1rem;
}

.empty-text {
    font-size: 1.125rem;
    color: #9ca3af;
    font-weight: 500;
    margin: 0;
}

.next-round-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* 최근 결과 섹션 */
.recent-results-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem 2rem;
    border: 1px solid #e5e7eb;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1.5rem 0;
}

.recent-results-table {
    overflow-x: auto;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table thead {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.results-table th {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-align: left;
}

.results-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s;
}

.results-table tbody tr:hover {
    background: #f9fafb;
}

.results-table tbody tr.result-left:hover {
    background: rgba(59, 130, 246, 0.05);
}

.results-table tbody tr.result-right:hover {
    background: rgba(239, 68, 68, 0.05);
}

.results-table td {
    padding: 1rem;
    font-size: 0.9375rem;
    color: #111827;
}

.round-link {
    color: #111827;
    text-decoration: none;
    font-weight: 500;
}

.round-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.round-link strong {
    color: #3b82f6;
    font-weight: 700;
}

.start-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.start-left {
    background: #3b82f6;
}

.start-right {
    background: #ef4444;
}

.line-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.line-count-badge.line-3 {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.line-count-badge.line-4 {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.result-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    min-width: 60px;
}

.badge-left {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.badge-right {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.badge-odd {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.badge-even {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.combo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    min-width: 70px;
}

.pattern-combo-left3,
.combo-badge.pattern-combo-left3 {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); /* 좌3짝: 빨간색 */
}

.pattern-combo-left4,
.combo-badge.pattern-combo-left4 {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); /* 좌4홀: 파란색 */
}

.pattern-combo-right3,
.combo-badge.pattern-combo-right3 {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); /* 우3홀: 파란색 */
}

.pattern-combo-right4,
.combo-badge.pattern-combo-right4 {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); /* 우4짝: 빨간색 */
}

/* 패턴 표시 섹션 */
.pattern-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem 2rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.pattern-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.pattern-category {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pattern-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.pattern-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.pattern-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    min-width: 40px;
    text-align: center;
}

.pattern-odd {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.pattern-even {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.pattern-left {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.pattern-right {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.pattern-line {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.pattern-combo-left3 {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); /* 좌3짝: 빨간색 */
}

.pattern-combo-left4 {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); /* 좌4홀: 파란색 */
}

.pattern-combo-right3 {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); /* 우3홀: 파란색 */
}

.pattern-combo-right4 {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); /* 우4짝: 빨간색 */
}

/* 모달 스타일 */
.selected-line-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
}

.line-badge {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    color: #fff;
}

.selected-line-display .line-badge.badge-left {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.selected-line-display .line-badge.badge-right {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* 반응형 */
@media (max-width: 1200px) {
    .betting-options-row-first {
        flex-wrap: wrap;
    }
    
    .betting-option-group-inline {
        flex: 1 1 calc(50% - 0.75rem);
    }
    
    .betting-options-combo-buttons {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .betting-options-combo-buttons .bet-option-btn {
        flex: 1 1 calc(50% - 0.25rem);
    }
}

@media (max-width: 768px) {
    .ladder-header {
        padding: 1rem 1.5rem;
    }

    .ladder-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .current-round-card {
        padding: 1.5rem;
    }

    .round-info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .round-timer {
        align-items: flex-start;
    }

    .ladder-board-container {
        flex-direction: column;
        gap: 1rem;
    }

    .ladder-path-area {
        min-height: 400px;
        padding: 0.5rem;
    }

    .ladder-result-area {
        flex-direction: column;
        gap: 1rem;
    }

    .betting-buttons {
        grid-template-columns: 1fr;
    }

    .results-table {
        font-size: 0.875rem;
    }

    .results-table th,
    .results-table td {
        padding: 0.75rem 0.5rem;
    }
}

