@charset "utf-8";

/* 초기화 */
html {overflow-y:scroll;height:100%;min-width:320px}
body {margin:0;padding:0;font-size:0.75em;background:#f8f8f8;height:100%;font-family:'Malgun Gothic', dotum, sans-serif}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:'Malgun Gothic', dotum, sans-serif}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
legend {position:absolute;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img {vertical-align:middle}
input, button {margin:0;padding:0;font-size:1em;font-family:'Malgun Gothic', dotum, sans-serif}
button {cursor:pointer}
input[type=text], input[type=password], input[type=submit], input[type=image], button {font-size:1em;-webkit-appearance:none}
textarea, select {font-size:1em;font-family:'Malgun Gothic', dotum, sans-serif}
textarea {border-radius:0;-webkit-appearance:none;font-family:'Malgun Gothic', dotum, sans-serif}
select {margin:0;background:none;font-family:'Malgun Gothic', dotum, sans-serif}
p {margin:0;padding:0;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
a {color:#000;text-decoration:none}
ul,li,dl,dt,dd {padding:0;margin:0}
ul {list-style:none}

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

/* 공통 - display none/block */
.is-hidden { display: none !important; }
.is-visible { display: block !important; }

/* 공통 - 뷰포트 (pc / mobile) 별 display none/block */
.pc-only { display: none; }
@media (min-width: 769px) { .pc-only { display: block !important; }}
.mobile-only { display: block; }
@media (min-width: 769px) { .mobile-only { display: none !important; }}

/* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;width:100%;height:0}
#hd_pop h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff}
.hd_pops img {max-width:100%;height:auto}
.hd_pops_con {}
.hd_pops_footer {padding:10px 0;background:#000;color:#fff;text-align:right}
.hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff}

/* 상단 레이아웃 */
#hd {position:relative;background:#212020}
#hd:after {display:block;visibility:hidden;clear:both;content:""}
#hd_h1 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}

#logo {padding:10px 10px;height:60px;text-align:center}
#logo img {vertical-align:middle;margin-top:5px;max-height:100%;width:auto}
#gnb_open {position:absolute;top:10px;left:10px;padding:0 10px;height:40px;width:40px;border:0;background-size:70%;color:#fff;background:none;font-size:2em}
#gnb {display:none;background:#efefef;position:fixed;top:0;left:0;z-index:99999;width:100%;max-width:400px;height:100%;overflow-y:auto;
-webkit-box-shadow:0 0 5px rgba(55,55,5,0.4);
-moz-box-shadow:0 0 5px rgba(55,55,5,0.4);
box-shadow:0 0 5px rgba(55,55,5,0.4)}

#gnb_1dul {background:#fff}
#gnb_1dul a {display:block;color:#000}
.gnb_1dli {position:relative;line-height:40px}
.gnb_1dli button {position:absolute;top:5px;right:0;width:40px;height:40px;overflow:hidden;border:0;font-size:1.2em;background:#fff;background:url(../img/mobile/gnb_bg2.png) no-repeat 50% 50%;text-indent:-9999px}
.gnb_1dli button.btn_gnb_cl {background:url(../img/mobile/gnb_bg.png) no-repeat 50% 50%}
.gnb_1da {padding:5px 20px;border-bottom:1px solid #eee;font-weight:bold;font-size:1.2em;}
.gnb_2dul {display:none;background:#fafafa}
.gnb_2da {padding-left:30px}
#gnb_close {display:block;position:absolute;right:8px;top:10px;z-index:99;font-weight:bold;margin:0;height:40px;width:40px;border:0;color:#bfb8b2;font-size:2em;background:transparent}

#gnb_empty {padding:20px 0;color:#fff;text-align:center;line-height:2em}
#gnb_empty a {display:inline;text-decoration:underline}

#hd_sch {text-align:center;padding:12px 55px 12px 15px;background:#212020}
#hd_sch h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#hd_sch form {position:relative;padding-right:40px}
#hd_sch #sch_stx {width:100%;height:38px;margin-left:40px;background:#464646;border:0;color:#fff}
#hd_sch #sch_submit {position:absolute;top:0;left:0;width:40px;height:38px;border:0;border-radius:3px;cursor:pointer;color:#a6a5a5;background:#464646;font-size:1.25em}

#user_btn {position:absolute;top:10px;right:10px;padding:0 10px;height:40px;width:40px;border:0;color:#fff;font-size:1.8em;background:none;letter-spacing:-0.1em}
#user_menu {display:none;position:fixed;top:0;right:0;width:100%;height:100%;overflow-y:auto;z-index:9999;background:#efefef;text-align:center}
#user_close {display:block;position:absolute;right:8px;top:10px;z-index:99;font-weight:bold;margin:0;height:40px;width:40px;border:0;color:#bfb8b2;font-size:1.8em;background:transparent}

#snb_cnt span {display:inline-block;float:right;padding:0 7px;height:18px;margin-top:3px;line-height:18px;font-size:12px;background:#da22f5;border-radius:20px;color:#fff}

#hd_nb {background:#fff;margin-top:10px;border-bottom:1px solid #e1e1e1}
#hd_nb:after {display:block;visibility:hidden;clear:both;content:""}
#hd_nb li {width:50%;float:left;text-align:center;line-height:25px;font-size:1.083em;font-weight:bold}
#hd_nb li a {display:block;color:#717171;text-align:left;padding:10px 15px}
#hd_nb li i {font-size:14px;margin-right:10px;color:#a5a8ac}
#hd_nb .hd_nb1 {border-right:1px solid #efefef;border-bottom:1px solid #efefef}
#hd_nb .hd_nb2 {border-bottom:1px solid #efefef}
#hd_nb .hd_nb3 {border-right:1px solid #efefef}

/* 텍스트 크기 조절 */
#text_size {margin:10px 0;text-align:center;display:inline-block;padding:7px 20px;background:#e6e7e9;border-radius:25px;height:48px}
#text_size button {margin:0 5px;border:0;background:none;height:35px;width:35px;border-radius:50%}
#text_size button.select {background:#fff;border-bottom:1px solid #bbb;
-webkit-box-shadow:0 0 5px rgba(100,80,100,0.2);
-moz-box-shadow:0 0 5px rgba(100,100,100,0.2);
box-shadow:0 0 5px rgba(100,100,100,0.2)}
.ts_up {font-size:1.167em !important}
.ts_up2 {font-size:1.3em !important}

/* 중간 레이아웃 */
#wrapper {}
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
#container {position:relative;min-height:300px}
#container:after {display:block;visibility:hidden;clear:both;content:""}
#container_title {font-size:1.2em;font-weight:bold;height:50px;padding:10px 15px;line-height:30px;background:#fff;color:#333;
-webkit-box-shadow:0 0 10px rgba(181, 181, 181, 0.4);
-moz-box-shadow:0 0 10px rgba(181, 181, 181, 0.4);
box-shadow:0 0 10px rgba(181, 181, 181, 0.4);
}
#container_title a {display:inline-block;margin-right:5px}
.top {position:relative}
.btn_top {position:absolute;top:0px;right:10px;z-index:999;padding:8px 0}
.btn_top li {display:inline-block}
.btn_top a,.btn_top button,.btn_top .btn_submit {}
.btn_top .btn_cancel,.btn_top .btn_b01 {border:1px solid #aaa;background:none;color:#666;line-height:28px;background:#fff}
.fixed {position:fixed;top:0;right:0;z-index:999}
.fixed.btn_bo_user {right:10px}
#container_title.fixed {width:100%}

/* 하단 레이아웃 */
#ft {background:#222;padding:0px 20px 20px}
#ft h1 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#ft p {margin:0;padding:10px 0;line-height:1.8em}

#ft_copy {padding:10px;line-height:2em;text-align:center;color:#777}
#ft_copy #ft_company {text-align:center}
#ft_copy #ft_company a {display:inline-block;padding:0 10px;line-height:1em;border-left:1px solid #333;color:#fff}
#ft_copy #ft_company a:first-child {border:0}
.ft_cnt {font-weight:normal;color:#e3e3e3;line-height:2em;text-align:center}
.ft_cnt h2 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#ft_copy b {color:inherit}
#ft_copy a {color:inherit;text-decoration:none}

#top_btn {position:fixed;bottom:10px;right:15px;width:50px;height:50px;line-height:36px;border:2px solid #d2d2d2;border-radius:50%;background:#fff;color:#d2d2d2;text-align:center;font-size:15px;z-index:99;
-webkit-box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4);
-moz-box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4);
box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4)}
#top_btn i {font-size:1.4em}
#top_btn:hover {background:#3b8afb;border-color:#3b8afb;color:#fff}
#device_change {display:block;line-height:40px;border-radius:5px;background:#302e2e;color:#777;font-size:1em;text-decoration:none;text-align:center}

/* 게시물 선택복사 선택이동 */
#copymove {}
.copymove_current {float:right;color:#ff3061}
.copymove_currentbg {background:#f4f4f4}
#copymove .tbl_head01 {margin-top:10px}
#copymove td {background:#fff}
#copymove .win_btn {margin:10px}

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

/* 본문 바로가기 */
.to_content a {z-index:100000;position:absolute;top:0;left:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden}

/* 이미지 등비율 리사이징 */
.img_fix {width:100%;height:auto}

/* 캡챠 자동등록(입력)방지 기본 -pc */
#captcha {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;width:40px;height:40px;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:0;vertical-align:top}
#captcha #captcha_info {display:block;margin:3px 0 5px;font-size:0.95em;letter-spacing:-0.1em}

/* 캡챠 자동등록(입력)방지 기본 - mobile */
#captcha.m_captcha audio {display:block;margin:0 0 5px}

/* 구글리캡챠 크기 조정 scale */
#captcha.recaptcha {width:213px;height:55px;overflow:hidden}
#rc-imageselect, .g-recaptcha {transform:scale(0.7);-webkit-transform:scale(0.7);transform-origin:0 0;-webkit-transform-origin:0 0}

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

/*단축키일람 */
.cke_sc {text-align:right}
.btn_cke_sc {background:#333;color:#fff;padding:5px;border:none}
.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:50%;font-weight:bold}
.cke_sc_def dd {width:50%}
.btn_cke_sc_close {background:#333;padding:5px;border:none;color:#fff}

/* 버튼 */
.btn {display:inline-block;padding:0 5px;height:30px;line-height:30px;border-radius:3px}
a.btn01 {display:inline-block;background:#ddd;color:#444;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;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:center} /* 서식단계 진행 */

.btn_submit {border:0;background:#3a8afd;color:#fff;cursor:pointer;border-radius:3px}
.btn_submit:hover {background:#2375eb}
.btn_close {border:1px solid #dcdcdc;cursor:pointer;border-radius:3px;background:#fff}
a.btn_close {text-align:center;line-height:50px}

a.btn_cancel {display:inline-block;background:#ddd;color:#444;text-decoration:none;vertical-align:middle}
button.btn_cancel {display:inline-block;border:1px solid #ccc;background:#fafafa;color:#000;vertical-align:top;text-decoration:none}
a.btn_frmline, button.btn_frmline {display:inline-block;padding:0 5px;border:0;background:#fff;border:1px solid #3a8afd;color:#3a8afd;letter-spacing:-0.1em;text-decoration:none;vertical-align:top} /* 우편번호검색버튼 등 */
button.btn_frmline {font-size:1em}

/* 게시판용 버튼 */
a.btn_b01,.btn_b01 {display:inline-block;background:#3a8afd;color:#fff;border-radius:3px;padding:10px;border:0;text-decoration:none;vertical-align:middle}
.btn_b01:hover, .btn_b01:hover {}
a.btn_b02, .btn_b02 {display:inline-block;background:transparent;color:#fff;border:0;border-radius:3px;padding:10px;text-decoration:none;vertical-align:middle}
a.btn_b02:hover, .btn_b02:hover {}
a.btn_b03, .btn_b03 {display:inline-block;line-height:28px;border:0;background:transparent;color:#bababa;text-decoration:none;vertical-align:middle}
a.btn_b03:hover, .btn_b03:hover {}
a.btn_admin {display:inline-block;color:#d13f4a;font-size:1.4em;text-decoration:none;vertical-align:middle} /* 관리자 전용 버튼 */
a.btn_admin:focus, a.btn_admin:hover {}
.fix_btn {position:fixed;z-index:99;bottom:65px;right:15px;background:#3a8afd;width:50px;height:50px;color:#fff;text-align:center;border-radius:50% !important;font-size:1.8em;line-height:50px !important;-webkit-box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4);
-moz-box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4);
box-shadow:1px 2px 5px rgba(191, 191, 191, 0.4)}
a.btn,.btn {line-height:35px;width:30px;height:35px;padding:0 5px;text-align:center;font-weight:bold;border:0;font-size:1.4em;
-webkit-transition:background-color 0.3s ease-out;
-moz-transition:background-color 0.3s ease-out;
-o-transition:background-color 0.3s ease-out;
transition:background-color 0.3s ease-out}


/* 기본테이블 */
.tbl_wrap {margin:0 10px 10px}
.tbl_wrap table {width:100%;border-collapse:collapse;border-spacing:0}
.tbl_wrap caption {padding:10px 0;color:#4b8b99;font-weight:bold;text-align:left}

.tbl_head01 {}
.tbl_head01 caption {padding:0 0 10px;color:#777;text-align:left}
.tbl_head01 thead th {padding:12px 0;border:1px solid #d8dbdf;background:#f7f7f9;color:#383838;font-size:0.95em;text-align:center;letter-spacing:-0.1em}
.tbl_head01 thead a {color:#383838}
.tbl_head01 thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head01 tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
.tbl_head01 tfoot td {border-color:#e3e3e5;background:#484848;color:#fff;font-weight:bold;text-align:center}
.tbl_head01 tbody {text-align:left}
.tbl_head01 tbody th {padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
.tbl_head01 td {padding:5px;border:1px solid #e7e9ec;border-top:0;line-height:1.5em;word-break:break-all}

.tbl_head02 {}
.tbl_head02 caption {padding:0 0 10px;color:#777;text-align:left}
.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 {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
.tbl_head02 tfoot td {background:#484848;color:#fff;font-weight:bold;text-align:center}
.tbl_head02 tbody th {padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
.tbl_head02 td {padding:5px 3px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.4em;word-break:break-all}

/* 기본리스트 */
.list_01 ul {}
.list_01 li {border-bottom:1px solid #e5ecee;padding:15px}
.list_01 li:after {display:block;visibility:hidden;clear:both;content:""}
.all_chk {padding:15px;border-bottom:1px solid #e8eaee;background:#fff}

/* 기본폼 */
.form_01 .write_div {margin-bottom:10px;position:relative}
.form_01 li {margin:0 0 10px;position:relative;list-style:none}
.form_01 textarea, .frm_input {border:1px solid #d0d3db;background:#fff;color:#000;vertical-align:middle;padding:5px;border-radius:0;box-shadow:none}
.form_01 textarea {width:100%;height:100px}
.frm_input {height:45px}
.full_input {width:100%} 
.form_01 .frm_file {display:block;margin-bottom:5px;width:100%}
.form_01 select {height:40px;background-color:#fff}
.form_01 .frm_info {font-size:0.92em;color:#3a8afd;text-align:left;margin:3px 0 10px;display:block;line-height:1.3em}
.form_01 .frm_info.add_info { padding: 8px 12px; background: #fff; border: 1px solid #ddd; border-radius: 6px; line-height: 1.6; }
.btn_info_toggle { display: block; margin: 5px 0 0 21px; font-size: 12px; color: #3f51b5; background: none; border: none; cursor: pointer; text-decoration: underline; }

/* 자료 없는 목록 */
.empty_table {padding:100px 0 !important;color:#777;text-align:center}
.empty_list {padding:20px 0 !important;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:120px;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:150px;text-align:center}
.td_group {width:100px;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:#999}
.txt_rdy {color:#8abc2a}

/* 새창 기본 스타일 */
.new_win {position:relative;background:#fff}
.new_win #win_title {font-size:1.3em;height:50px;line-height:30px;padding:10px 20px;background:#fff;color:#000;-webkit-box-shadow:0 1px 10px rgba(0,0,0,.1);
-moz-box-shadow:0 1px 10px rgba(0,0,0,.1);
box-shadow:0 1px 10px rgba(0,0,0,.1)}
.new_win #win_title .sv {font-size:0.75em;line-height:1.2em}
.new_win_con {}

.new_win .win_ul {margin-bottom:15px;padding:0 20px}
.new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_ul li {float:left;background:#fff;text-align:center;padding:0 10px;border:1px solid #d6e9ff;border-radius:30px;margin-left:5px}
.new_win .win_ul li:first-child {margin-left:0}
.new_win .win_ul li a {display:block;padding:8px 0;color:#6794d3}
.new_win .win_ul .selected {background:#3a8afd;border-color:#3a8afd;position:relative;z-index:5}
.new_win .win_ul .selected a {color:#fff;font-weight:bold}
.new_win .win_desc {position:relative;margin:10px;border-radius:5px;font-size:1em;background:#f2838f;color:#fff;line-height:50px;text-align:left;padding:0 20px}
.new_win .win_desc i {font-size:1.2em;vertical-align:baseline}
.new_win .win_desc:after {content:"";position:absolute;left:0;top:0;width:4px;height:50px;background:#da4453;border-radius:3px 0 0 3px}

.new_win .win_total {float:right;display:inline-block;line-height:30px;font-weight:normal;font-size:0.75em;color:#3a8afd;background:#f6f6f6;padding:0 10px;border-radius:5px}
.new_win .new_win_con {padding:20px}
.new_win .new_win_con:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .new_win_con2 {margin:20px 0}

.new_win .win_btn {clear:both;padding:10px 0 30px;text-align:center}
.new_win .win_btn a {display:inline-block;height:45px;line-height:40px;font-weight:bold}
.new_win .cert_btn {text-align:center}
.new_win .btn_close {width:60px;height:45px;overflow:hidden;cursor:pointer}
.new_win .btn_submit {padding:0 20px;height:45px;font-weight:bold;font-size:1.083em}

/* 검색결과 색상 */
.sch_word {color:#fff;background:#ff005a;padding:2px 4px;margin:0 2px}

/* 사이드뷰 */
.sv_wrap {display:inline-block;position:relative;font-weight:normal;line-height:20px}
.sv_wrap .sv {z-index:1000;width:100px;display:none;margin:5px 0 0;font-size:0.92em;background:#333;text-align:left;
-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;width:100px;margin:0;padding:0 10px;line-height:30px;font-weight:normal;color:#bbb}
.sv_wrap .sv a:hover {background:#000;color:#fff}
.sv_member {color:#333;font-weight:bold}
.sv_on {display:block !important;position:absolute;top:23px;left:0px;width:auto;height:auto}
.sv_nojs .sv {display:block}

/* 페이징 */
.pg_wrap {clear:both;display:block;padding:10px 0;text-align:center}
.pg_wrap:after {display:block;visibility:hidden;clear:both;content:""} 
.pg {text-align:center}
.pg_page, .pg_current {display:inline-block;vertical-align:middle;background:#eee;border:1px solid #eee}
.pg a:focus, .pg a:hover {text-decoration:none}
.pg_page {color:#959595;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-color:#fafafa}
.pg_start {text-indent:-999px;overflow:hidden;background:url('../img/btn_first.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_prev {text-indent:-999px;overflow:hidden;background:url('../img/btn_prev.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_end {text-indent:-999px;overflow:hidden;background:url('../img/btn_end.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_next {text-indent:-999px;overflow:hidden;background:url('../img/btn_next.gif') no-repeat 50% 50% #eee;padding:0;border:1px solid #eee}
.pg_start:hover,.pg_prev:hover,.pg_end:hover,.pg_next:hover {background-color:#fafafa}

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


/* ===== KINGKA-TOKENS: 킹카TV 팔레트 단일 소스(전역 CSS 변수, default.css와 동일) ===== */
:root{
  --kk-ground:#0b0e14; --kk-bg:#0f1115;
  --kk-surface:#141a24; --kk-card:#1f2430; --kk-card-2:#212a3a;
  --kk-line:#2b3140; --kk-line-soft:#1e2632;
  --kk-blue:#3b82f6; --kk-blue-2:#60a5fa; --kk-blue-strong:#2563eb;
  --kk-neon:#c6f24e; --kk-live:#ef4444;
  --kk-text:#e5e7eb; --kk-muted:#aab3c1; --kk-faint:#8a94a6;
  --kk-win:#3ecb8b; --kk-draw:#8a94a6; --kk-loss:#ff5a63;
  --kk-blue-glow:rgba(59,130,246,.5);
}
/* ===== /KINGKA-TOKENS ===== */

/* ===== KINGKA-MOBILE-OPT: 킹카TV 모바일 UX 보강 ===== */
img { max-width: 100%; height: auto; }                 /* 본문 이미지 넘침 방지 */
#bo_v_con { line-height: 1.75; word-break: break-word; overflow-wrap: break-word; }
#bo_v_con img, #bo_v_con video, #bo_v_con iframe { max-width: 100% !important; height: auto; }
#bo_v_con table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
html, body { overflow-x: hidden; }                     /* 가로 스크롤 방지 */
input[type="text"], input[type="password"], input[type="email"],
input[type="number"], input[type="tel"], input[type="search"], textarea, select { font-size: 16px; }  /* iOS 자동확대 방지 */
/* ===== /KINGKA-MOBILE-OPT ===== */


/* KINGKA-BOTTOMNAV: 모바일 하단 네비게이션 */
#m_bottomnav { position: fixed; left:0; right:0; bottom:0; height:54px; display:flex; background:#1f1f1f; z-index:9999; border-top:1px solid #333; }
#m_bottomnav a { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; color:#cfcfcf; font-size:11px; text-decoration:none; padding:6px 0; }
#m_bottomnav a i { font-size:18px; line-height:1; }
#m_bottomnav a:active { background:#333; color:#fff; }
body { padding-bottom: 60px !important; }
/* /KINGKA-BOTTOMNAV */

/* KINGKA-MLOGO */
#logo a.logo-text { display:inline-block; color:#fff; font-size:22px; font-weight:800; letter-spacing:-1px; text-decoration:none; line-height:1; }
#logo a.logo-img { display:inline-block; line-height:0; }
#logo a.logo-img img { height:34px; width:auto; vertical-align:middle; margin-top:0; }

/* KINGKA-MLOGIN: 모바일 상단 우측 로그인/로그아웃 바로가기 (검색 아이콘 right:10px 왼쪽에 배치) */
#hd_login_m { position:absolute; top:13px; right:50px; z-index:20; }
#hd_login_m .hlm { display:inline-flex; align-items:center; gap:5px; height:30px; padding:0 12px; border:1px solid #3b82f6; border-radius:16px; background:rgba(59,130,246,.15); color:#dbeafe; font-size:13px; font-weight:700; text-decoration:none; line-height:1; white-space:nowrap; }
#hd_login_m .hlm i { font-size:14px; }
/* 좁은 폰에선 텍스트 숨겨 아이콘만 → 우측 잘림 방지 */
@media (max-width:410px){ #hd_login_m .hlm span{ display:none } #hd_login_m .hlm{ padding:0 11px } }
#user_btn { top:12px; }

/* ================= KINGKA-DARK-M: 모바일 다크 통일 ================= */
body,#wrapper,#container_wr,#container{background:#0f1115 !important;color:#d1d5db}
.latest_wr,.latest_top_wr,#container_title{background:transparent !important}
h1,h2,h3,h4,.bo_current{color:#f3f4f6 !important}
.latest,.lt_wr{background:#181b22 !important;border:1px solid #262a33 !important;border-radius:12px;padding:14px !important;box-sizing:border-box;margin-bottom:12px}
.latest a,.lt_wr a,#container a{color:#d1d5db !important}
.latest ul li,.lt_wr li{border-bottom:1px solid #23262e !important}
.datetime,.wr_date,.wr_name{color:#6b7280 !important}
.more_bt,.more{color:#60a5fa !important}
.empty_list,.empty_table{color:#6b7280 !important}
.tbl_head01 thead th{background:#181b22 !important;color:#e5e7eb !important}
.tbl_head01 td,.tbl_head01 th{border-color:#23262e !important;color:#cbd5e1 !important}
input[type=text],input[type=password],textarea,select{background:#181b22 !important;border:1px solid #333844 !important;color:#e5e7eb !important}
#ft{background:#12141a !important;border-top:1px solid #262a33 !important;color:#9ca3af !important}
#ft a{color:#9ca3af !important}

/* KINGKA-DARK-LAT: 최신글 스킨(.lat) 다크 오버라이드 */
.lat{background:transparent !important}
.lat .lat_title a,.lat .lat_title{color:#f3f4f6 !important}
.lat li{border-bottom:1px solid #23262e !important}
.lat li a{color:#d1d5db !important}
.lat li a:hover{color:#fff !important}
.lt_info .lt_date,.lt_info .lt_nick{color:#aab3c1 !important}
.lat .lt_more{color:#60a5fa !important}
.lat .empty_li{color:#6b7280 !important}
.lat .lt_cmt{background:#1e3a5f !important;color:#93c5fd !important}

/* KINGKA-DARK-CATE: 카테고리 뱃지 통일 */
.bo_cate_link{background:#1e3a5f !important;color:#93c5fd !important;border:1px solid #2b4a6f !important;border-radius:20px !important;padding:1px 9px !important;font-weight:600}

/* KINGKA-DARK-VISIT: 접속자집계 위젯 다크 통일(기본 흰배경 오버라이드) */
#visit{background:#1f2430 !important;border:1px solid #2a2f3a !important}
#visit dl{background:#1f2430 !important;color:#d1d5db}
#visit dt,#visit dd{color:#d1d5db}
#visit h2,#visit .visit_title{color:#e5e7eb}

/* ===== KINGKA-DARK-BOARD: 게시판 다크 통일(버전관리 CSS에서 확실 적용) ===== */
#bo_v{background:transparent !important;border:0 !important}
#bo_v_title,.bo_v_tit,#bo_v_title *{color:#f3f4f6 !important}
#bo_v_top ul{background:transparent !important;border-color:#2b3140 !important}
#bo_v_info,#bo_v_info *{color:#9ca3af !important}
#bo_v_con,#bo_v_con li{color:#d1d5db !important}
#bo_v_con a{color:#60a5fa !important}
#bo_v_con h1,#bo_v_con h2,#bo_v_con h3,#bo_v_con h4,#bo_v_con h5,#bo_v_con b,#bo_v_con strong{color:#fff !important}
#bo_v_con table,#bo_v_con td,#bo_v_con th{border-color:#2b3140 !important;color:#d1d5db !important;background:transparent !important}
#bo_list{background:transparent !important}
#bo_list table,#bo_list tr,#bo_list td,#bo_list th{background:transparent !important;color:#d1d5db !important;border-color:#1e2632 !important}
#bo_list tbody .even td{background:rgba(255,255,255,.02) !important}
#bo_list .bo_notice td{background:rgba(59,130,246,.07) !important;border-color:#243247 !important}
#bo_list .bo_tit a,#bo_list a{color:#d1d5db !important}
.tbl_head01 thead th{background:#141a24 !important;color:#9aa4b2 !important;border-color:#2b3140 !important}
#bo_w input[type=text],#bo_w input[type=password],#bo_w textarea,#bo_w select,.bo_vc_w textarea,.bo_vc_w input,.bo_sch input,#viewcomment textarea,textarea.frm_input,input.frm_input,select.frm_input{background:#0f1115 !important;border:1px solid #2b3140 !important;color:#e5e7eb !important}
.bo_sch{background:#141a24 !important;border-color:#2b3140 !important}
.more_opt,.more_opt li button,.more_opt li a,.btn_bo_user li{background:#1f2430 !important;color:#d1d5db !important;border-color:#2b3140 !important}
button.cmt_btn{background:#2563eb !important;color:#fff !important}
/* ===== /KINGKA-DARK-BOARD ===== */

/* ===== KINGKA-DARK-FIX: 네비 서브메뉴·뱃지·댓글 색 밸런스 ===== */
#gnb .gnb_2dul .gnb_2dul_box{background:#141a24 !important;border:1px solid #2b3140 !important;box-shadow:0 10px 26px -8px rgba(0,0,0,.6) !important}
.gnb_2da{background:#141a24 !important;color:#cbd5e1 !important;border-bottom:1px solid #1e2632 !important}
a.gnb_2da:hover,.gnb_2da:focus,.gnb_2da:hover,.gnb_2da:active{background:#1f2937 !important;color:#60a5fa !important}
#gnb_all{background:#141a24 !important;border-color:#2b3140 !important}
#gnb_all h2{color:#e5e7eb !important;border-bottom-color:#2b3140 !important}
#gnb .gnb_close_btn{background:#141a24 !important;color:#9ca3af !important}
#bo_list .bo_tit .new_icon{background:rgba(198,242,78,.18) !important;color:#c6f24e !important}
#top_btn{background:rgba(31,36,48,.9) !important;border:1px solid #2b3140 !important;color:#9ca3af !important}
#top_btn:hover{background:#2563eb !important;border-color:#2563eb !important;color:#fff !important}
.cmt_btn,button.cmt_btn{background:transparent !important;border-bottom:1px solid #2b3140 !important;color:#e5e7eb !important}
.cmt_btn b{color:#fff !important}
.cmt_btn span.total{color:#93c5fd !important}
.cmt_btn span.total:after{background:#3b82f6 !important}
#bo_vc_empty{color:#9ca3af !important}
#bo_vc,#bo_vc li,#bo_vc .cmt_contents,.bo_vc_w{color:#d1d5db !important}
.join{background:transparent !important;color:#60a5fa !important}
/* ===== /KINGKA-DARK-FIX ===== */

/* ===== KINGKA-MOBILE-DARK: 모바일 메뉴/게시판 잔여 흰색 통일 ===== */
#gnb.hd_div,#user_menu.hd_div{background:#0f1115 !important}
#gnb_1dul{background:#0f1115 !important}
#gnb_1dul a,.gnb_1da{color:#e5e7eb !important;border-bottom:1px solid #242a35 !important}
.gnb_2dul{background:#161b26 !important}
.gnb_2da{color:#cbd5e1 !important}
#hd_nb{background:#0f1115 !important;border-top:1px solid #242a35 !important}
#hd_nb li{border-color:#242a35 !important}
#hd_nb li a{color:#9ca3af !important}
#gnb_close,#user_close{color:#9ca3af !important}
#gnb_empty,#gnb_empty a{color:#cbd5e1 !important}
#text_size{background:#1f2430 !important}
#text_size button.select{background:#2b3140 !important}
#hd_sch{background:transparent !important}
#user_menu h2,#hd_sch h2{color:#e5e7eb !important}
#bo_cate_ul{background:#141a24 !important;border-color:#2b3140 !important}
#bo_cate_ul li{background:transparent !important}
#bo_cate_ul a{color:#cbd5e1 !important}
#bo_list_total{background:transparent !important;color:#9ca3af !important}
fieldset#bo_sch,.bo_sch{background:#141a24 !important;border-color:#2b3140 !important}
section#bo_vc,#bo_vc{background:transparent !important}
/* ===== /KINGKA-MOBILE-DARK ===== */

/* 모바일 글목록 행(흰 카드) 다크화 */
li:has(> .bo_cnt){background:transparent !important;border-bottom:1px solid #242a35 !important}
.bo_cnt{background:transparent !important}
.bo_cnt .bo_subject,a.bo_subject{color:#e5e7eb !important}
.bo_info,.bo_info span,.bo_info .sv_member,.bo_info .bo_date,.bo_info .bo_view{color:#9ca3af !important}
.bo_info .sv_member{color:#93c5fd !important}

/* ===== KINGKA-A11Y: 대비·가독성·탭타겟 (Lighthouse 접근성) ===== */
.sv_member{color:#aab3c1 !important}
.kk-art-meta{color:#a4aebd !important;font-size:12px !important}
.gp{color:#9aa6b8 !important;font-size:12px !important}
.kk-fx-league,.kk-fx-time,.kk-st-legend,.new_icon,.kk-ls-lg,.kk-rs-lg{font-size:12px !important}
#ft_copy,#ft a,.ft_link a{color:#b7c0cd !important}
.lt_date,.bo_date,.bo_info,.bo_info span{color:#9aa5b6 !important}
.bo_info .sv_member{color:#9db6e0 !important}
/* 탭타겟 최소 크기 확보 */
.hd_login a,#hd_nb a,.bo_cate_link,.kk-st-tab,.pg_page,.pg_current,.kk-art-more,.kk-sec-more{min-height:24px;display:inline-block}
/* ===== /KINGKA-A11Y ===== */

/* KINGKA-A11Y-2: 남은 저대비(CTA·날짜) */
.kk-hero-btns .primary{background:#1d4ed8 !important;color:#fff !important}
.lt_date,.bo_date,.lt_time,.lt_hit{color:#b6c0cd !important}

/* ===== KINGKA-BOARD-CARDS-M: 게시판형 목록 카드화(모바일) — board/basic·qa·gallery·scrap·search 공용 ===== */
.list_01 ul{display:flex;flex-direction:column;gap:10px}
.list_01 li{
  border-bottom:0 !important;
  padding:14px !important;
  background:var(--kk-card,#1f2430) !important;
  border:1px solid var(--kk-line,#2b3140) !important;
  border-radius:12px !important;
  transition:border-color .15s ease;
}
.list_01 li:active{border-color:var(--kk-blue-2,#60a5fa) !important}
.list_01 li.bo_notice{
  background:linear-gradient(180deg,rgba(59,130,246,.09),var(--kk-card,#1f2430)) !important;
  border-color:#2b4a6f !important;
}
.list_01 .all_chk{
  background:var(--kk-card,#1f2430) !important;
  border:1px solid var(--kk-line,#2b3140) !important;
  border-radius:12px !important;
  margin-bottom:10px;
}

/* 체크박스: 관리자용, 카드 톤에 맞춰 시각적으로 축소(기능·클릭 영역은 그대로) */
.bo_chk{opacity:.55;transform:scale(.92);transform-origin:left center}
.bo_chk:hover,.bo_chk:focus-within{opacity:1}

/* 제목: 카드 상단, 굵게 */
.bo_cnt{font-size:15px !important;font-weight:700 !important;line-height:1.4 !important;margin-bottom:8px !important}
#bo_list a.bo_subject,a.bo_subject{color:var(--kk-text,#e5e7eb) !important;padding-bottom:0 !important}

/* 카테고리·공지 뱃지: 작은 pill */
.bo_cate_ico{margin:0 0 8px !important}
.notice_icon{background:rgba(239,68,68,.15) !important;color:var(--kk-live,#ef4444) !important;border-radius:20px !important;padding:2px 9px !important;font-size:11px !important;letter-spacing:0}

/* 댓글수 뱃지: 액센트 컬러 */
.bo_cnt .bo_cmt{display:inline-flex;align-items:center;background:rgba(96,165,250,.15) !important;color:var(--kk-blue-2,#60a5fa) !important;border-radius:20px;padding:0 7px;margin-left:6px;font-size:11px;font-weight:700;vertical-align:middle}

/* 메타 정보: 작성자·날짜·조회수 — 작고 muted, 줄바꿈 대응 */
.bo_info{padding-top:0 !important;line-height:1.5 !important;font-size:12px !important;display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px !important}
.bo_info .sv_member{font-weight:600}
.bo_info i{margin-left:0 !important;margin-right:3px;opacity:.75}
/* ===== /KINGKA-BOARD-CARDS-M ===== */

/* KINGKA-A11Y-3: 글자크기 버튼 이미지 비율(1:1) 교정 */
#text_size img,#text_size button img{width:22px !important;height:22px !important;object-fit:contain}

/* KINGKA-A11Y-4: 맨위로 버튼을 하단 네비 위로(탭타겟 겹침 해소) + 채팅 런처와 겹침 방지 */
#top_btn{bottom:132px !important}

/* ===== KINGKA-LEAGUE-COLORS: 리그 시그니처 색코딩 ===== */
.kk-fx-league.lg-epl,.kk-ls-lg.lg-epl,.kk-rs-lg.lg-epl{background:#2c1a4f !important;color:#c9a9ff !important}
.kk-fx-league.lg-laliga,.kk-ls-lg.lg-laliga,.kk-rs-lg.lg-laliga{background:#48211a !important;color:#ff9f7c !important}
.kk-fx-league.lg-seriea,.kk-ls-lg.lg-seriea,.kk-rs-lg.lg-seriea{background:#0f3038 !important;color:#74d2e6 !important}
.kk-fx-league.lg-bundes,.kk-ls-lg.lg-bundes,.kk-rs-lg.lg-bundes{background:#48191a !important;color:#ff9090 !important}
.kk-fx-league.lg-ligue1,.kk-ls-lg.lg-ligue1,.kk-rs-lg.lg-ligue1{background:#1d2a52 !important;color:#a6b8ff !important}
.kk-fx-league.lg-ucl,.kk-ls-lg.lg-ucl,.kk-rs-lg.lg-ucl{background:#152052 !important;color:#93b4ff !important}
/* ===== /KINGKA-LEAGUE-COLORS ===== */

/* ===== KINGKA-FONT: Pretendard 전역 적용 ===== */
body, h1, h2, h3, h4, h5, h6, input, button, textarea, select {
  font-family:'Pretendard Variable', Pretendard, 'Malgun Gothic', dotum, sans-serif !important;
}
body {-webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility}
/* ===== /KINGKA-FONT ===== */

/* ===== KINGKA-HL: 하이라이트 스코어보드(모바일) ===== */
#bo_v_con .hl-sport{margin:14px 0 6px;color:#93c5fd;font-size:13px}
#bo_v_con table.hl-board{width:100%;border-collapse:collapse;margin:0 0 6px;background:#141a24 !important;border:1px solid #2b3140;border-radius:10px}
#bo_v_con table.hl-board td{padding:8px 5px;border-top:1px solid #1e2632 !important;font-size:12px;color:#d1d5db !important;background:transparent !important}
#bo_v_con .hl-lg{color:#6b7280 !important;font-size:10px;white-space:nowrap}
#bo_v_con .hl-h{text-align:right}
#bo_v_con .hl-a{text-align:left}
#bo_v_con .hl-sc{text-align:center;font-weight:800;color:#f3f4f6 !important;white-space:nowrap;padding:0 6px}
#bo_v_con ul.hl-rel{margin:4px 0 12px;padding-left:2px;list-style:none}
#bo_v_con ul.hl-rel li{padding:5px 0;border-bottom:1px solid #1e2632;font-size:12.5px}
#bo_v_con ul.hl-rel li:before{content:"› ";color:#60a5fa}
#bo_v_con ul.hl-rel a{color:#cbd5e1 !important}
/* ===== /KINGKA-HL ===== */

/* ===== KINGKA-MEWIDGET: 모바일 회원 칩 ===== */
#hd_login_m .hlm-me{background:#1e3a5f !important;color:#93c5fd !important;border-radius:14px}
#hd_login_m .hlm-me span{color:#cfe0ff !important;font-weight:700}
/* ===== /KINGKA-MEWIDGET ===== */

/* ===== KINGKA-A11Y-4: 대비 AA(4.5:1) 미달 텍스트 교정(모바일) ===== */
/* #hd_nb는 햄버거 메뉴 안에 있어 지금까지 열리질 않아 드러나지 않았다(KINGKA-GNB-FIX로 복구됨).
   #717171 3.58:1 · #777 3.90:1 → #8b93a1(5.0:1 이상)로 통일. PC의 KINGKA-A11Y-4와 같은 값. */
#hd_nb li a{color:#8b93a1 !important}
#ft_copy,#device_change{color:#8b93a1 !important}
.datetime,.wr_date,.wr_name,.txt_hit,.pc_cnt{color:#8b93a1 !important}
.empty_list,.empty_table,td.empty_table,.lat .empty_li{color:#8b93a1 !important}
input::placeholder,textarea::placeholder{color:#8b93a1}
#bo_v_con a:not([class*="btn"]),#ctt_con a{text-decoration:underline;text-underline-offset:2px}
/* ===== /KINGKA-A11Y-4 ===== */

/* ===== KINGKA-TGLOGIN: 텔레그램 간편 로그인 버튼(로그인 페이지) ===== */
.kk-tg-btn{
  display:flex;align-items:center;justify-content:center;gap:7px;
  margin:12px 0 0;padding:13px 14px;border-radius:9px;
  background:#229ED9;color:#fff !important;font-size:14px;font-weight:700;text-decoration:none;
}
/* ===== /KINGKA-TGLOGIN ===== */

/* ===== KINGKA-CONTENT-IMG: 본문 이미지 라운드(인라인 border-radius는 필터가 제거) ===== */
#bo_v_con img{border-radius:8px}
/* ===== /KINGKA-CONTENT-IMG ===== */

/* ===== KINGKA-LINEUP-TABLE: 라인업 표(봇 생성) ===== */
/* #bo_v_con table{display:block}은 넓은 표를 가로 스크롤시키려는 규칙인데,
   그게 걸리면 표가 내용 폭으로 줄어든다. 라인업 표만 정상 table로 되돌린다. */
#bo_v_con table.kk-lu{display:table !important;width:100% !important;table-layout:fixed;border-collapse:collapse}
#bo_v_con table.kk-lu td{word-break:keep-all}
/* ===== /KINGKA-LINEUP-TABLE ===== */

/* ===== KINGKA-AUTHPAGE: 가입·로그인·비밀번호찾기 집중 화면 ===== */
/* 이 페이지들은 head.sub.php(사이트 레이아웃 없음)로 렌더된다 — 회원가입은 팝업창으로 열리는데
   예전엔 _head.php를 써서 좁은 창 안에 헤더·GNB·사이드바 로그인폼·푸터가 같이 들어왔다.
   가입하려는 사람 옆에 로그인 폼이 떠 있는 게 가장 헷갈리는 지점이었다.
   여기서는 어느 사이트인지 알 수 있도록 상단 브랜드 바만 얹는다. */
body:has(.register)::before,
body:has(.mbskin)::before,
body:has(#register_form)::before{
  content:"";
  display:block;
  height:54px;
  background:url("../kk_logo.webp") no-repeat center / auto 24px;
  border-bottom:1px solid var(--kk-line,#2b3140);
}
body:has(.register),
body:has(.mbskin),
body:has(#register_form){ background:var(--kk-bg,#0f1115); }
.register,#register_form{ max-width:640px; margin:0 auto; padding:18px 16px 40px; box-sizing:border-box }
/* ===== /KINGKA-AUTHPAGE ===== */

/* ===== KINGKA-LOGINBOX-TIGHTEN: 로그인 박스 좌우 빈공간 정리 ===== */
/* 사이드바 카드(.kk-lb)가 padding 16px인데 그 안의 outlogin <form>이 또 20px을 줘서
   300px 카드에 좌우 36px씩 낭비됐다(입력칸 224px). 안쪽 중복 여백을 없애 카드 폭을 그대로 쓴다
   → 입력칸·구분선·텔레그램 버튼이 모두 같은 폭(266px)으로 정렬된다. */
.kk-lb #ol_before form{padding:0 !important;border:0 !important;margin:0 !important}
.kk-lb-tg{margin-top:10px}
.kk-lb-or{margin-top:10px}
/* 텔레그램 버튼은 이제 폼 안에 들어가므로 폭을 스스로 잡지 않는다(부모 폭 상속) */
.kk-tg-btn{max-width:none;margin-left:0;margin-right:0}
/* ===== /KINGKA-LOGINBOX-TIGHTEN ===== */

/* ===== KINGKA-VERSION ===== */
.kk-ver{display:inline-block;margin-left:6px;font-size:11px;opacity:.55;font-variant-numeric:tabular-nums}
.kk-ver-env{padding:1px 5px;border-radius:3px;background:#c2410c;color:#fff;font-weight:700}

/* ===== KINGKA-MOBILE-NAV ===== 모바일 내비 개편 (reviews/2026-07-26-07)
   상단: 로고 + 유저바(포인트) — 햄버거·검색·글자크기 제거
   하단: 메뉴 · 라이브 · 뉴스 · 커뮤니티 · 채팅 5탭 (플로팅 채팅 런처 흡수) */

/* --- 제거 대상 ---
   마크업에서도 지웠지만 CSS로도 눌러둔다: 캐시된 옛 HTML이 남아 있는 동안
   반쯤 지워진 헤더가 보이는 것을 막는다(CSS는 --bump로 즉시 갱신된다). */
#gnb_open, #user_btn, #user_menu, #text_size, #hd_login_m{display:none!important}
#kkc-launch, #kkc-peek{display:none!important}   /* 플로팅 채팅 런처 → 하단 탭이 대체 */

/* --- 상단 유저바 --- */
/* #hd_login_m이 쓰던 right:50px는 햄버거 자리였다. 햄버거가 사라졌으니 12px로 당긴다. */
#kk-mtop, #kk-mlogin{position:absolute;top:11px;right:12px;z-index:20}
#kk-mtop{display:inline-flex;align-items:center;gap:7px;
  background:var(--kk-card,#1f2430);border:1px solid var(--kk-line,#2b3140);border-radius:20px;
  padding:4px 11px 4px 4px;font-size:12.5px;color:var(--kk-text,#e5e7eb);
  text-decoration:none;min-height:36px}
#kk-mtop .av{width:26px;height:26px;border-radius:50%;
  background:var(--kk-blue-strong,#2563eb);
  display:flex;align-items:center;justify-content:center;
  font-size:11.5px;font-weight:800;color:#fff}
#kk-mtop .pt{color:var(--kk-neon,#c6f24e);font-weight:800;font-variant-numeric:tabular-nums}
#kk-mtop .ca{color:var(--kk-faint,#8a94a6);font-size:11px}
#kk-mlogin{display:inline-flex;align-items:center;min-height:36px;
  padding:0 16px;background:var(--kk-blue-strong,#2563eb);border:1px solid #1d4ed8;
  color:#fff;font-weight:800;font-size:13px;border-radius:20px;text-decoration:none}

/* --- 하단 5탭 --- */
#m_bottomnav{position:fixed;left:0;right:0;bottom:0;z-index:9990;
  display:grid;grid-template-columns:repeat(5,1fr);
  background:var(--kk-surface,#141a24);border-top:1px solid var(--kk-line,#2b3140);
  padding-bottom:env(safe-area-inset-bottom,0)}
#m_bottomnav a, #m_bottomnav button{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  padding:9px 2px 7px;min-height:48px;background:none;border:0;
  color:var(--kk-faint,#8a94a6);text-decoration:none;font-size:10.5px;font-weight:700;
  position:relative;cursor:pointer;font-family:inherit}
#m_bottomnav svg{width:21px;height:21px;stroke:currentColor;fill:none;
  stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#m_bottomnav .on, #m_bottomnav [aria-current="page"]{color:var(--kk-blue-2,#60a5fa)}
#m_bottomnav .on::before, #m_bottomnav [aria-current="page"]::before{
  content:"";position:absolute;top:0;left:26%;right:26%;height:2px;
  background:var(--kk-blue-2,#60a5fa);border-radius:0 0 3px 3px}

/* 뱃지 */
#m_bottomnav .kk-bdg{position:absolute;top:4px;right:calc(50% - 20px);
  min-width:15px;height:15px;padding:0 4px;background:var(--kk-live,#ef4444);color:#fff;
  border-radius:9px;font-size:9.5px;font-weight:800;display:flex;align-items:center;
  justify-content:center;line-height:1;border:1.5px solid var(--kk-surface,#141a24)}
#m_bottomnav .kk-bdg.dot{min-width:8px;width:8px;height:8px;padding:0;top:8px}

/* --- 겹침 방지 ---
   리뷰 01의 "우측 하단 3개 겹침"이 여기서 근본 해결된다(런처가 사라지고 탭으로 들어옴). */
#wrapper{padding-bottom:calc(60px + env(safe-area-inset-bottom,0))}
#top_btn{bottom:calc(70px + env(safe-area-inset-bottom,0))!important}
#kkc-panel{bottom:calc(56px + env(safe-area-inset-bottom,0))!important}

/* 메뉴 패널이 열렸을 때 배경 스크롤 잠금 */
body.kk-lock{overflow:hidden}
/* #gnb는 기본 display:none이라 .on으로 연다(인라인 style은 JS가 함께 정리한다) */
#gnb.on{display:block}

@media (prefers-reduced-motion:reduce){
  #m_bottomnav *{transition:none!important;animation:none!important}
}
/* ===== /KINGKA-MOBILE-NAV ===== */

/* ===== KINGKA-PREDWIDGET ===== (본 스타일은 default.css, 여기선 모바일 조정만) */
.kk-pw{margin:16px 0 4px;padding:14px;background:#1f2430;border:1px solid #2b3140;border-radius:12px}
.kk-pw-q{margin:0 0 4px;font-size:16px;font-weight:800;color:#e5e7eb}
.kk-pw-sub{margin:0 0 12px;font-size:12.5px;color:#aab3c1}
.kk-pw-sub b{color:#c6f24e}
.kk-pw-note{color:#8a94a6;font-size:11.5px}
.kk-pw-picks{display:flex;flex-direction:column;gap:7px}
.kk-pw-pick{display:flex;align-items:center;gap:8px;width:100%;padding:12px;min-height:48px;
  background:#212a3a;border:1px solid #2b3140;border-radius:9px;color:#e5e7eb;
  font-size:13.5px;font-weight:700;text-align:left;font-family:inherit}
.kk-pw-pick.on{border-color:#60a5fa;background:rgba(96,165,250,.12)}
.kk-pw-pick.win{border-color:#3ecb8b}
.kk-pw-team{flex:0 0 32%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kk-pw-bar{flex:1 1 auto;height:7px;background:#1e2632;border-radius:4px;overflow:hidden}
.kk-pw-bar>span{display:block;height:100%;background:#60a5fa;border-radius:4px}
.kk-pw-pick.win .kk-pw-bar>span{background:#3ecb8b}
.kk-pw-num{flex:0 0 auto;font-size:11.5px;color:#aab3c1;font-variant-numeric:tabular-nums}
.kk-pw-result{margin-top:10px;padding:9px 11px;background:#212a3a;border-radius:8px;font-size:13px;color:#e5e7eb}
.kk-pw-msg{margin-top:9px;font-size:12.5px;color:#60a5fa;min-height:16px}
.kk-pw-list{margin-top:14px;padding-top:12px;border-top:1px solid #2b3140}
.kk-pw-lt{font-size:12.5px;font-weight:700;color:#aab3c1;margin-bottom:8px}
.kk-pw-row{display:flex;align-items:center;gap:7px;padding:6px 0;font-size:12.5px;border-bottom:1px solid #1e2632}
.kk-pw-row:last-child{border-bottom:0}
.kk-pw-nick{color:#e5e7eb;font-weight:700}
.kk-pw-tier{padding:1px 6px;border-radius:10px;background:#1e2632;color:#aab3c1;font-size:10.5px}
.kk-pw-vote{margin-left:auto;color:#60a5fa;font-weight:700}
.kk-pw-hit{color:#3ecb8b;font-weight:800;font-size:11.5px}
.kk-pw-miss{color:#8a94a6;font-size:11.5px}
.kk-desk-badge{display:inline-block;margin-left:5px;padding:1px 6px;border-radius:4px;
  background:#2563eb;color:#fff;font-size:10.5px;font-weight:800;vertical-align:middle}

/* ===== KINGKA-AUTHSKIN-M: 인증 화면 흰 배경 제거 · 로고 좌측 (2026-07-28) =====
   PC와 같은 사유(default.css의 KINGKA-AUTHSKIN 주석 참조). 모바일은 위반이 더 컸다 —
   로그인 폼 전체(390×316)와 약관 3블록이 통째로 흰 판이었다. */
.mbskin, .mbskin .mbskin_box, #register_form,
#fregister_chkall, #fregister_term, #fregister_private, .fregister_terms div,
#find_info, .new_win, .new_win_con{
  background:var(--kk-surface,#141a24) !important;
  color:var(--kk-text,#e5e7eb) !important;
  border-color:var(--kk-line,#2b3140) !important;
}
form#flogin{ background:transparent !important; color:var(--kk-text,#e5e7eb) !important; }
#fregister textarea, .fregister_terms table{
  background:var(--kk-card,#1f2430) !important; color:var(--kk-text,#e5e7eb) !important;
  border-color:var(--kk-line,#2b3140) !important;
}
#fregister_term h2, #fregister_private h2,
.fregister_terms th, .fregister_terms td{ color:var(--kk-text,#e5e7eb) !important; }
#fregister > p{
  background:var(--kk-card-2,#212a3a) !important; color:var(--kk-text,#e5e7eb) !important;
  border:1px solid var(--kk-line,#2b3140) !important; border-radius:10px !important;
  height:auto !important; line-height:1.55 !important; padding:12px 14px !important; font-weight:600 !important;
}
a.btn_close, .btn_cancel, .btn_frmline, .win_btn a, .win_btn button{
  background:var(--kk-card,#1f2430) !important; color:var(--kk-text,#e5e7eb) !important;
  border:1px solid var(--kk-line,#2b3140) !important;
}
a.btn_close, .btn_cancel, .btn_frmline, .btn_submit, .reg_btn_submit{
  border-radius:10px !important; min-height:44px !important; line-height:44px !important;
  height:auto !important; font-weight:700 !important;
}
.btn_submit, .reg_btn_submit{ background:var(--kk-blue,#3b82f6) !important; color:#fff !important; border:0 !important; }
.mbskin input[type=text], .mbskin input[type=password], .mbskin input[type=email],
#register_form input[type=text], #register_form input[type=password], #register_form input[type=email],
form#flogin input[type=text], form#flogin input[type=password]{
  background:var(--kk-card,#1f2430) !important; color:var(--kk-text,#e5e7eb) !important;
  border:1px solid var(--kk-line,#2b3140) !important; border-radius:10px !important; min-height:44px !important;
}
.fregister_agree input[type="checkbox"] + label span{
  background:var(--kk-card,#1f2430) !important; border-color:var(--kk-line,#2b3140) !important;
}
.fregister_agree input[type="checkbox"]:checked + label span{
  background:var(--kk-blue,#3b82f6) !important; border-color:var(--kk-blue,#3b82f6) !important;
}
.mbskin a, .new_win a{ color:var(--kk-muted,#aab3c1); }
/* 모바일 헤더 로고는 34px — 인증 화면도 같은 값으로. (PC 38 은 default.css) */
body:has(.register)::before, body:has(.mbskin)::before, body:has(#register_form)::before{
  background-size:auto 34px !important; height:62px !important;
}

/* 로고 좌측 정렬 — 지금 가운데(x=135)다.
   #kk-mtop·#kk-mlogin 은 position:absolute; right:12px 라 **이미 오른쪽에 고정**돼 있다.
   그래서 #hd_wrapper 를 flex 로 재구성할 필요가 없다(그렇게 하면 절대배치와 싸운다).
   로고만 왼쪽으로 보내면 오른쪽 버튼과 자연히 짝이 맞는다. */
#hd_wrapper #logo{ text-align:left !important; padding-left:14px !important; }
#hd_wrapper #logo img{ margin-left:0 !important; }
/* ===== /KINGKA-AUTHSKIN-M ===== */

/* ===== KINGKA-GNBGRID: 모바일 메뉴 2열 티켓 카드 (2026-07-28) =====
   전: #gnb_1dul 이 display:block 이라 11개가 세로로 길게 늘어져 스크롤해야 끝이 보였다.
   후: 2열 카드. 한 화면에 다 들어온다.

   ⚠ 하위메뉴(.gnb_2dul)가 있는 항목은 **전폭**이어야 한다 —
     2열 칸에 넣으면 아코디언이 펼쳐질 때 옆 칸을 아래로 밀어낸다(커뮤니티 3개·고객센터 1개).
   ⚠ 마지막 항목도 전폭 — 홀수로 남으면 빈 칸이 생겨 깨져 보인다.
   아이콘은 head.php 가 인라인 SVG로 넣는다(선 두께 1.9 = 하단 네비와 동일). */

#gnb_1dul{
  display:grid !important; grid-template-columns:1fr 1fr; gap:8px;
  padding:12px !important; background:var(--kk-bg,#0f1115) !important;
}
#gnb_1dul > .gnb_1dli{
  position:relative; line-height:normal;
  background:var(--kk-card,#1f2430); border:1px solid var(--kk-line,#2b3140);
  border-radius:10px; overflow:hidden;
}
/* 하위메뉴가 있으면 전폭 — 2열 칸에 넣으면 아코디언이 펼쳐질 때 옆 칸을 밀어낸다.
   `.has-sub`는 head.php가 붙인다(`:has()` 중첩을 피하려고 — 아래 주석 참조). */
#gnb_1dul > .gnb_1dli.has-sub{ grid-column:1 / -1; }

/* 고아 항목 메우기 — 단순 항목이 홀수로 끝나면 마지막 하나가 **빈 칸을 옆에 달고** 남아
   고장으로 보인다. 2026-07-29에 실제로 발생했다(`경기결과` 제거 → 단순 7개 → 승부예측이 혼자).
   메뉴 순서로 짝수를 맞춰 뒀지만 메뉴를 더하거나 빼면 다시 홀수가 되므로 규칙으로 막는다.

   ⚠ **규칙을 한 줄에 콤마로 묶지 말 것.** 셀렉터 하나가 무효면 그 줄 전체가 버려진다.
     처음에 `:has(+ li:has(...))`로 썼다가 **:has() 중첩 금지**에 걸려 옆 셀렉터까지 죽었다. */
/* ① 홀수번째 단순 항목이 하위메뉴 항목 바로 앞 = 그 고아 */
#gnb_1dul > .gnb_1dli:nth-child(odd):not(.has-sub):has(+ .has-sub){ grid-column:1 / -1; }
/* ② 홀수번째 단순 항목이 맨 마지막 = 그 고아 */
#gnb_1dul > .gnb_1dli:nth-child(odd):not(.has-sub):last-child{ grid-column:1 / -1; }

#gnb_1dul a.gnb_1da{
  display:flex !important; align-items:center; gap:9px;
  padding:14px 12px !important; min-height:52px; box-sizing:border-box;
  color:var(--kk-text,#e5e7eb) !important; border-bottom:0 !important;
  font-size:13.5px; font-weight:700; line-height:1.25;
}
#gnb_1dul a.gnb_1da svg{
  width:20px; height:20px; flex:none;
  stroke:currentColor; fill:none; stroke-width:1.9;
  stroke-linecap:round; stroke-linejoin:round;
  color:var(--kk-blue-2,#60a5fa);
}
.kk-gnb-t{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}

/* 하위분류 토글 버튼 — 코어는 top:5px;right:0;40×40 고정이라 카드 안에서 어긋난다 */
#gnb_1dul > .gnb_1dli > button.btn_gnb_op{
  top:9px !important; right:6px !important; width:34px !important; height:34px !important;
  background-color:transparent !important; border-radius:8px;
}
/* 하위 목록 — 카드 안쪽에 들여쓴다 */
#gnb_1dul .gnb_2dul{
  background:var(--kk-surface,#141a24) !important;
  border-top:1px solid var(--kk-line,#2b3140);
  padding:4px 0 6px;
}
#gnb_1dul .gnb_2dul .gnb_2da{
  display:block; padding:11px 12px 11px 41px !important;
  font-size:13px; color:var(--kk-muted,#aab3c1) !important;
  border-bottom:0 !important;
}
#gnb_1dul .gnb_2dul .gnb_2dli + .gnb_2dli .gnb_2da{ border-top:1px solid var(--kk-line-soft,#1e2632) !important; }

/* 현재 페이지 강조 */
#gnb_1dul a.gnb_1da[aria-current="page"]{
  border:1px solid var(--kk-blue,#3b82f6); border-radius:9px;
  background:rgba(59,130,246,.10);
}
/* ===== /KINGKA-GNBGRID ===== */

/* ===== KINGKA-AUTHLAYOUT-M (안 A · 토큰 정돈): 모바일 인증 화면 (2026-07-28) =====
   3안 중 A 채택. **마크업은 건드리지 않는다** — 색·모서리는 KINGKA-AUTHSKIN-M 에서 끝났고
   여기서는 여백·위계만 잡는다.

   [WARN] 모바일 스킨은 PC와 **선택자가 다르다** — PC는 .mbskin_box + #login_fs,
     모바일은 #login_frm + #login_info.chk_box 다. PC 선택자를 그대로 쓰면 아무것도 안 걸린다
     (실제로 한 번 그렇게 나갔다). 서빙되는 파일도 mobile/skin/member/basic/ 쪽이다. */

/* 바깥 여백 - 코어가 width:360px 고정인데 모바일에서 풀려 화면에 딱 붙어 있었다 */
#mb_login.mbskin, .mbskin{
  width:auto !important; max-width:560px; margin:16px auto 0 !important;
  padding:0 16px 32px !important; box-sizing:border-box; text-align:left !important;
}
#mb_login h1{
  font-size:20px !important; font-weight:800; letter-spacing:-.02em;
  margin:4px 0 14px !important; text-align:left; color:var(--kk-text,#e5e7eb);
}
/* 입력.버튼 세로 리듬 하나로 */
#login_frm{display:flex; flex-direction:column; gap:10px}
#login_frm .btn_submit{width:100%; margin:2px 0 0 !important}
#login_frm .kk-tg-btn{
  display:flex; align-items:center; justify-content:center; gap:7px;
  min-height:44px; border-radius:10px; background:#229ED9; color:#fff !important;
  font-weight:700; font-size:14px; text-decoration:none;
}
/* 자동로그인 - 체크박스 대체 span 이 흰 사각이었다 */
#login_info.chk_box{margin:2px 0 0; font-size:13px}
.chk_box input[type="checkbox"] + label{color:var(--kk-muted,#aab3c1) !important; display:flex; align-items:center; gap:8px}
.chk_box input[type="checkbox"] + label span{
  float:none !important; width:18px !important; height:18px !important;
  background:var(--kk-card,#1f2430) !important; border:1px solid var(--kk-line,#2b3140) !important;
  border-radius:5px !important; flex:none;
}
.chk_box input[type="checkbox"]:checked + label{color:var(--kk-text,#e5e7eb) !important}
.chk_box input[type="checkbox"]:checked + label span{
  background:var(--kk-blue,#3b82f6) !important; border-color:var(--kk-blue,#3b82f6) !important;
}
/* 하단 안내 링크 - 제목은 숨기고 링크만 한 줄로 */
.mb_login_join{margin-top:18px; padding-top:14px; border-top:1px solid var(--kk-line,#2b3140)}
.mb_login_join h2{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}
.mb_login_join div{display:flex; justify-content:space-between; gap:12px; font-size:13px}
.mb_login_join a{color:var(--kk-muted,#aab3c1) !important}
/* ===== /KINGKA-AUTHLAYOUT-M ===== */

/* ===== KINGKA-GNBFOOT: 메뉴 하단 유틸 줄 색 통일 (2026-07-28) =====
   #snb_cnt 뱃지가 #da22f5(마젠타)였다 — 팔레트에 없는 색이고 다크 위에서 혼자 튄다.
   구분선 #efefef 도 다크 위 밝은 선이라 같이 정리한다. */
#snb_cnt span{
  background:var(--kk-blue-strong,#2563eb) !important; color:#fff !important;
  font-variant-numeric:tabular-nums; font-weight:700;
}
#hd_nb .hd_nb1, #hd_nb .hd_nb2, #hd_nb .hd_nb3{
  border-color:var(--kk-line,#2b3140) !important;
}
#hd_nb a{color:var(--kk-muted,#aab3c1) !important}
#hd_nb i{color:var(--kk-faint,#8a94a6)}
/* ===== /KINGKA-GNBFOOT ===== */

/* ===== KINGKA-BCHIPS: 게시판 상단 칩 (2026-07-29) =====
   하단 네비 `커뮤니티`가 /free로 직행해 다른 게시판에 갈 방법이 없던 것을 도착 지점에서 푼다.
   라이브스코어 모드 탭과 같은 패턴 — 같은 자리에서 옆으로 이동. */
.kk-bchips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 12px;
  -webkit-overflow-scrolling:touch;scrollbar-width:thin}
.kk-bchips::-webkit-scrollbar{height:5px}
.kk-bchips::-webkit-scrollbar-thumb{background:var(--kk-line,#2b3140);border-radius:4px}
#kk-bchips .kk-bchip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;
  background:var(--kk-card,#1f2430);border:1px solid var(--kk-line,#2b3140);
  color:var(--kk-muted,#aab3c1) !important;font-size:13px;font-weight:700;
  padding:8px 14px;border-radius:20px;text-decoration:none;white-space:nowrap;
  transition:border-color .15s,color .15s}
/* ⚠ 선택자에 `#kk-bchips`(ID)가 반드시 들어간다 — 글자색을 `#bo_list a`(default.css)·`#container a`(mobile.css)가
   `!important`로 잡고 있어 클래스만으로는 `!important`를 붙여도 특이도에서 진다.
   그러면 활성/비활성이 테두리로만 구분돼 한눈에 안 들어온다. */
#kk-bchips .kk-bchip:hover,#kk-bchips .kk-bchip:focus-visible{border-color:var(--kk-blue,#3b82f6);color:var(--kk-text,#e5e7eb) !important}
#kk-bchips .kk-bchip.on{border-color:var(--kk-blue,#3b82f6);background:rgba(59,130,246,.12);color:var(--kk-text,#e5e7eb) !important}
#kk-bchips .kk-bchip .n{font-size:11px;font-weight:800;color:var(--kk-faint,#8a94a6) !important;font-variant-numeric:tabular-nums}
#kk-bchips .kk-bchip.on .n{color:var(--kk-blue-2,#60a5fa) !important}
/* ===== /KINGKA-BCHIPS ===== */

/* ===== KINGKA-WELCOME: 가입 환영 온보딩 (2026-07-29) =====
   고른 종목이 곧 `⭐ 내 리그 즐겨찾기`의 초기값이다.
   ⚠ 몰래 닫히게 만들지 않는다 — 닫기·ESC·배경 클릭 전부 살아 있고,
     한 번 닫으면 다음 방문엔 아래 배너(.is-banner)로 한 번만 더 권한다. */
body.kk-wc-lock{overflow:hidden}
.kk-wc[hidden]{display:none}
.kk-wc-dim{position:fixed;inset:0;background:rgba(11,14,20,.72);z-index:9998}
.kk-wc-box{position:fixed;z-index:9999;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(480px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow-y:auto;
  background:var(--kk-surface,#141a24);border:1px solid var(--kk-line,#2b3140);
  border-radius:18px;padding:26px 24px 22px;box-shadow:0 24px 60px rgba(0,0,0,.55);
  /* ⚠ tail.php의 푸터(`#ft`) 안에서 렌더된다 — 거기서 내려오는 text-align:center를
     끊지 않으면 제목·설명만 가운데이고 칩은 왼쪽이라 어긋난다. */
  text-align:left}
.kk-wc-x{position:absolute;top:10px;right:12px;width:36px;height:36px;line-height:1;
  background:transparent;border:0;color:var(--kk-faint,#8a94a6);font-size:26px;cursor:pointer}
.kk-wc-x:hover{color:var(--kk-text,#e5e7eb)}
.kk-wc-box h2{margin:0 0 6px;font-size:20px;font-weight:800;color:var(--kk-text,#e5e7eb)}
.kk-wc-sub{margin:0 0 18px;font-size:13.5px;color:var(--kk-muted,#aab3c1);line-height:1.6}
.kk-wc-fs{border:0;margin:0 0 16px;padding:0}
.kk-wc-fs legend{position:static;width:auto;height:auto;font-size:14px;font-weight:700;
  color:var(--kk-text,#e5e7eb);text-indent:0;overflow:visible;line-height:1.5;margin-bottom:9px}
.kk-wc-fs legend em{font-style:normal;font-size:12px;font-weight:600;color:var(--kk-faint,#8a94a6);margin-left:6px}
.kk-wc-chips{display:flex;flex-wrap:wrap;gap:8px}
.kk-wc-chip{position:relative;display:inline-flex}
.kk-wc-chip input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.kk-wc-chip span{display:inline-flex;align-items:center;padding:9px 14px;border-radius:20px;
  background:var(--kk-card,#1f2430);border:1px solid var(--kk-line,#2b3140);
  color:var(--kk-muted,#aab3c1);font-size:13.5px;font-weight:700;transition:.15s}
.kk-wc-chip input:checked+span{border-color:var(--kk-blue,#3b82f6);background:rgba(59,130,246,.14);
  color:var(--kk-text,#e5e7eb)}
.kk-wc-chip input:focus-visible+span{outline:2px solid var(--kk-blue-2,#60a5fa);outline-offset:2px}
.kk-wc-text textarea{width:100%;box-sizing:border-box;padding:11px 12px;border-radius:12px;
  background:var(--kk-ground,#0b0e14);border:1px solid var(--kk-line,#2b3140);
  color:var(--kk-text,#e5e7eb);font-size:14px;line-height:1.6;resize:vertical}
.kk-wc-text textarea::placeholder{color:var(--kk-faint,#8a94a6)}
.kk-wc-note{margin:8px 0 0;font-size:12px;line-height:1.6;color:var(--kk-muted,#aab3c1)}
.kk-wc-note strong{color:var(--kk-blue-2,#60a5fa);font-weight:700}
.kk-wc-cnt{float:right;color:var(--kk-faint,#8a94a6);font-variant-numeric:tabular-nums}
.kk-wc-err{margin:12px 0 0;font-size:13px;font-weight:700;color:var(--kk-loss,#ff5a63)}
.kk-wc-go{width:100%;margin-top:18px;padding:13px 16px;border:0;border-radius:12px;
  background:var(--kk-blue-strong,#2563eb);color:#fff;font-size:15px;font-weight:800;cursor:pointer}
.kk-wc-go:disabled{background:var(--kk-card,#1f2430);color:var(--kk-faint,#8a94a6);cursor:not-allowed}
.kk-wc-go:not(:disabled):hover{background:var(--kk-blue,#3b82f6)}
/* 한 번 닫은 사람에게는 모달 대신 배너만 */
.kk-wc-bar{display:none}
.kk-wc.is-banner .kk-wc-dim,.kk-wc.is-banner .kk-wc-box{display:none}
.kk-wc.is-banner .kk-wc-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;
  position:fixed;z-index:9990;left:50%;transform:translateX(-50%);bottom:18px;
  width:min(560px,calc(100vw - 24px));padding:12px 16px;border-radius:14px;text-align:left;
  background:var(--kk-card,#1f2430);border:1px solid var(--kk-line,#2b3140);
  color:var(--kk-text,#e5e7eb);font-size:13.5px;cursor:pointer;box-shadow:0 12px 32px rgba(0,0,0,.45)}
.kk-wc.is-banner .kk-wc-bar em{flex:0 0 auto;font-style:normal;font-weight:800;color:var(--kk-blue-2,#60a5fa)}
@media (prefers-reduced-motion:reduce){.kk-wc-chip span,.kk-wc-go{transition:none}}
/* 모바일: 하단 네비(높이 약 56px)와 겹치지 않게 배너를 올리고,
   모달은 시트 형태로 바닥에 붙인다 — 작은 화면에서 가운데 정렬은 상하단이 잘린다. */
@media (max-width:600px){
  .kk-wc-box{top:auto;bottom:0;left:0;transform:none;width:100%;max-width:none;
    max-height:88vh;border-radius:18px 18px 0 0;padding:22px 18px calc(18px + env(safe-area-inset-bottom))}
  .kk-wc.is-banner .kk-wc-bar{bottom:calc(64px + env(safe-area-inset-bottom))}
}
/* ===== /KINGKA-WELCOME ===== */
/* ===== KINGKA-MEMBERWIN: 회원 전용 화면(내정보 하위) 다크화 (2026-07-29) =====
   대상: 내 포인트 · 쪽지 · 스크랩 · 정보수정 · 내 글, 그리고 메뉴 안의 쪽지/포인트 줄.
   왜 이제야 잡혔나: `ui_audit.py`가 **비로그인으로만** 훑고 있었다. 회원 화면은 전부
   로그인 폼으로 튕겨서 "통과"로 보였다 — 2026-07-29에 `--stg` 로그인 검사를 추가하고서야 드러났다.
   가장 나빴던 건 `#win_title`이다. 흰 배경에 흰 글자라 **제목이 아예 안 보였다.** */
#point, #memo_list, #scrap, #mb_confirm, #memo_form{
  background:var(--kk-bg,#0f1115) !important;color:var(--kk-text,#e5e7eb) !important}
#point h1#win_title, #memo_list h1#win_title, #scrap h1#win_title, #mb_confirm h1#win_title,
#memo_form h1#win_title{
  background:var(--kk-surface,#141a24) !important;color:var(--kk-text,#e5e7eb) !important;
  border-bottom:1px solid var(--kk-line,#2b3140) !important;font-weight:800}
h1#win_title .win_total, .win_total{
  background:var(--kk-card,#1f2430) !important;color:var(--kk-blue-2,#60a5fa) !important;
  border:1px solid var(--kk-line,#2b3140) !important;border-radius:14px}
.new_win_con2{background:transparent !important;color:var(--kk-text,#e5e7eb) !important}
ul.point_all{background:var(--kk-card,#1f2430) !important;color:var(--kk-text,#e5e7eb) !important;
  border:1px solid var(--kk-line,#2b3140) !important;border-radius:12px}
ul.point_all *{color:inherit !important}
ul.point_list > li, ul.win_ul > li, .memo_list ul > li, li.empty_table, #fnewlist li.empty_table{
  background:transparent !important;color:var(--kk-text,#e5e7eb) !important;
  border-color:var(--kk-line-soft,#1e2632) !important}
ul.win_ul > li > a{color:var(--kk-muted,#aab3c1) !important}
ul.win_ul > li.selected > a, ul.win_ul > li > a.on{color:var(--kk-text,#e5e7eb) !important}
li.empty_table, #fnewlist li.empty_table{color:var(--kk-faint,#8a94a6) !important}
/* 닫기 버튼 — 팝업에서 가장 자주 누르는 버튼이라 눈에 보여야 한다 */
.btn_close{background:var(--kk-card,#1f2430) !important;color:var(--kk-text,#e5e7eb) !important;
  border:1px solid var(--kk-line,#2b3140) !important;border-radius:10px !important;
  font-weight:700;cursor:pointer}
.btn_close:hover{border-color:var(--kk-blue,#3b82f6) !important}
#mb_confirm p, #mb_confirm fieldset{background:transparent !important;
  color:var(--kk-muted,#aab3c1) !important;border-color:var(--kk-line,#2b3140) !important}
#mb_confirm input[type=password], #mb_confirm input[type=text], #confirm_mb_password{
  background:var(--kk-ground,#0b0e14) !important;color:var(--kk-text,#e5e7eb) !important;
  border:1px solid var(--kk-line,#2b3140) !important;border-radius:10px !important}
/* 내 글·댓글(전체 레이아웃 페이지)의 검색 박스 */
#new_sch, #new_sch p, #new_sch fieldset{background:transparent !important;
  color:var(--kk-text,#e5e7eb) !important;border-color:var(--kk-line,#2b3140) !important}
#new_sch{border:1px solid var(--kk-line,#2b3140) !important;border-radius:12px}
/* 메뉴 안의 쪽지·포인트·스크랩 줄 (그누보드 outlogin 스킨 기본이 흰 배경이다) */
#ol_after_private{background:var(--kk-surface,#141a24) !important;
  border-top:1px solid var(--kk-line,#2b3140) !important;
  border-bottom:1px solid var(--kk-line,#2b3140) !important}
#ol_after_private li{border-color:var(--kk-line,#2b3140) !important}
#ol_after_private a{color:var(--kk-text,#e5e7eb) !important}
#ol_after_private strong{color:#0b0e14 !important}
/* 안내 문구 박스 — 그누보드 기본이 분홍(#f2838f)이다. 밝기는 170 이하라 흰 배경 검사에는
   안 걸리지만 다크 팔레트와 전혀 안 맞는다. 경고가 아니라 안내이므로 --kk-live(빨강)를 쓰지 않는다. */
p.win_desc, .win_desc{background:var(--kk-card,#1f2430) !important;
  color:var(--kk-muted,#aab3c1) !important;border:1px solid var(--kk-line,#2b3140) !important;
  border-radius:10px !important}
p.win_desc strong, .win_desc strong{color:var(--kk-blue-2,#60a5fa) !important}
/* ===== /KINGKA-MEMBERWIN ===== */

/* ===== KINGKA-SEASON =====
   리그 시즌 상태 점 — default.css와 같은 블록(체크리스트 #7: 모바일 테마도 같이).
   좁은 화면에서는 칩 안의 글자 라벨을 숨기고 점만 남긴다 — 칩이 줄바꿈되면
   가로 스크롤 칩바가 통째로 깨진다. 뜻은 title/aria-label에 그대로 남아 있다. */
.kk-sdot{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;line-height:1}
.kk-sdot i{width:6px;height:6px;border-radius:50%;display:block;flex:0 0 auto}
.kk-sdot b{font-size:10.5px;font-weight:800;letter-spacing:-.01em}
.kk-sdot.s-live i{background:var(--kk-win,#3ecb8b)}
.kk-sdot.s-live b{color:var(--kk-win,#3ecb8b)}
.kk-sdot.s-done i{background:var(--kk-muted,#aab3c1)}
.kk-sdot.s-done b{color:var(--kk-muted,#aab3c1)}
.kk-sdot.s-pre i{background:var(--kk-faint,#8a94a6)}
.kk-sdot.s-pre b{color:var(--kk-muted,#aab3c1)}

.kk-season-note{display:flex;align-items:center;gap:9px;margin-bottom:12px;padding:11px 13px;
  background:var(--kk-card,#1f2430);border:1px solid var(--kk-line,#2b3140);
  border-radius:10px;color:var(--kk-muted,#aab3c1);font-size:12.5px;line-height:1.5}
.kk-season-note a{color:var(--kk-blue-2,#60a5fa);font-weight:700;text-decoration:none}

@media (max-width:520px){
  .kk-st-tab .kk-sdot b{display:none}
}
/* 활성 탭은 라임(#c6f24e) 배경이라 초록·회색 점이 묻힌다 → 어두운 변형으로 뒤집는다.
   세 상태의 구별은 유지한다(활성 탭만 상태를 못 읽게 되면 안 된다). */
.kk-st-tab.on .kk-sdot.s-live i{background:#166534}
.kk-st-tab.on .kk-sdot.s-live b{color:#166534}
.kk-st-tab.on .kk-sdot.s-done i{background:#4b5563}
.kk-st-tab.on .kk-sdot.s-done b{color:#4b5563}
.kk-st-tab.on .kk-sdot.s-pre i{background:#6b7280}
.kk-st-tab.on .kk-sdot.s-pre b{color:#6b7280}
/* ===== /KINGKA-SEASON ===== */
