/* ==========================================================================
   gamehub — 게시판 · 회원 · 접속자 · 검색 · FAQ · 최신글 공통 스킨 스타일
   어두운 카드(.gh-content, var(--gh-card)) 배경 · 단독 창(.mbskin/.new_win) 모두
   사이트의 어두운 배경 기준으로 동작하도록 자립형.
   default.css / 각 스킨 style.css 뒤(출력순서 30)에 읽혀 그누보드 기본 클래스를 덮어씀.
   그누보드 PHP 로직 · 변수 · 폼 필드 · JS 훅은 건드리지 않고 디자인만 바꾼다.
   ========================================================================== */

:root {
    --gb-ink: #f3f2ff;            /* 어두운 면 위 밝은 본문 */
    --gb-ink2: #e4e4fb;           /* 밝은 보조(라벨·강조) */
    --gb-mute: #a7a9cf;           /* 흐린 글자 */
    --gb-mute2: #878ab7;          /* 더 흐린 글자(날짜·메타) */
    --gb-line: rgba(255, 255, 255, .1);    /* 행 구분선 */
    --gb-line2: rgba(255, 255, 255, .2);   /* 뚜렷한 테두리 */
    --gb-panel: rgba(255, 255, 255, .04);  /* 은은한 어두운 면 */
    --gb-panel2: rgba(255, 255, 255, .06); /* 표 머리·칩 띠 */
    --gb-head-bg: rgba(164, 107, 255, .22);/* 보라 틴트 배지 */
    --gb-pink: #ff4fa3;
    --gb-purple: #a46bff;
    --gb-purple-ink: #bfa3ff;     /* 어두운 면 위 링크/배지 글자(밝은 보라) */
    --gb-cyan: #36d4ff;
    --gb-hot: #ff73b1;            /* 어두운 배경에서 밝힌 핫핑크 */
    --gb-grad: linear-gradient(100deg, #ff4fa3 0%, #a46bff 50%, #36d4ff 100%);
    --gb-input: #121634;          /* 어두운 입력칸 면 */
    --gb-card: var(--gh-card, #15183a);
    --gb-r: 12px;
    --gb-r-lg: 18px;
    --gb-font: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
    --gb-head: 'GH Head', -apple-system, 'Malgun Gothic', 'Noto Sans KR', sans-serif;
    --gb-ring: 0 0 0 3px rgba(54, 212, 255, .3);  /* 포커스 시안 글로우 */
}

/* 공통 글자색 / 박스 모델 (팝업 흰 배경에서도 어두운 글자) ------------------ */
.gh-content, #mb_login, #mb_confirm, #pw_confirm, #pw_reset, #find_info,
#profile, #point, #scrap, #memo_list, #memo_write, #memo_view, .register {
    color: var(--gb-ink);
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.gh-content *, .mbskin *, .new_win *, .register * { box-sizing: border-box; }
.gh-content a { color: var(--gb-purple-ink); }
.gh-content a:hover { color: var(--gb-pink); }

/* ==========================================================================
   입력칸 공통
   ========================================================================== */
.frm_input,
.gh-content input[type=text], .gh-content input[type=password],
.gh-content input[type=email], .gh-content input[type=tel],
.gh-content input[type=number], .gh-content input[type=search],
.gh-content select, .gh-content textarea,
.mbskin input[type=text], .mbskin input[type=password],
.new_win input[type=text], .new_win input[type=password],
.register input[type=text], .register input[type=password],
.register select, .register textarea,
.new_win textarea, .mbskin textarea {
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--gb-line2);
    border-radius: var(--gb-r);
    background: var(--gb-input);
    color: var(--gb-ink);
    font-size: 15px;
    font-family: var(--gb-font);
    box-shadow: none;
    vertical-align: middle;
    -webkit-appearance: none;
    appearance: none;
    max-width: 100%;
}
.gh-content select, .register select, .new_win select { padding-right: 32px; background-image: none; }
textarea.frm_input, .gh-content textarea, .register textarea, .new_win textarea, .mbskin textarea {
    height: auto;
    min-height: 120px;
    padding: 12px 14px;
    line-height: 1.6;
    resize: vertical;
}
.frm_input:focus,
.gh-content input:focus, .gh-content select:focus, .gh-content textarea:focus,
.mbskin input:focus, .new_win input:focus, .register input:focus,
.register textarea:focus, .new_win textarea:focus {
    outline: none;
    border-color: var(--gb-cyan);
    box-shadow: var(--gb-ring);
}
.frm_input::placeholder,
.gh-content input::placeholder, .gh-content textarea::placeholder,
.mbskin input::placeholder, .new_win input::placeholder,
.register input::placeholder, .register textarea::placeholder { color: #8c8eba; opacity: 1; }
.full_input { width: 100%; }
.half_input { width: 49%; }
.frm_file, input[type=file] { max-width: 100%; font-size: 14px; }
.frm_info, .cert_desc, .frm_label + .tooltip, #char_count_desc { color: var(--gb-mute); font-size: 13px; }

/* ==========================================================================
   버튼 공통 — 기본(그라데이션) · 보조(연보라 테두리)
   ========================================================================== */
.btn_submit, .reg_btn_submit, .reply_btn, .btn_b02,
.gh-content button[type=submit], .mbskin button[type=submit],
.new_win button[type=submit], .register button[type=submit],
input.btn_submit, .sch_btn, .win_sa_cert {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 46px; padding: 0 22px;
    border: 0; border-radius: 999px;
    background: var(--gb-grad); color: #fff !important;
    font-family: var(--gb-head); font-size: 15px; font-weight: 700;
    line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
    box-shadow: 0 8px 22px -8px rgba(255, 79, 163, .55);
    transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn_submit:hover, .reg_btn_submit:hover, .reply_btn:hover, .btn_b02:hover,
input.btn_submit:hover, .sch_btn:hover {
    transform: translateY(-2px); filter: brightness(1.06);
    box-shadow: 0 12px 28px -8px rgba(164, 107, 255, .7); color: #fff !important;
}
.btn_submit:disabled { filter: grayscale(.3) opacity(.7); transform: none; cursor: default; }

.btn, .btn_b01, .btn_cancel, .btn_close, .btn_frmline, .btn_admin,
.btn_left, .btn_right, .sch_more, .lt_more, .join {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 44px; padding: 0 18px;
    border: 0; border-radius: 999px;
    background: rgba(255, 255, 255, .06); color: var(--gb-ink2) !important;
    box-shadow: inset 0 0 0 1.5px var(--gb-line2);
    font-family: var(--gb-head); font-size: 14px; font-weight: 600;
    line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: box-shadow .15s, color .15s, background .15s;
}
.btn:hover, .btn_b01:hover, .btn_cancel:hover, .btn_close:hover,
.btn_frmline:hover, .btn_admin:hover, .join:hover {
    box-shadow: inset 0 0 0 1.5px var(--gb-purple); color: #fff !important; background: rgba(255, 255, 255, .12);
}
.btn_frmline { height: 40px; padding: 0 14px; font-size: 13px; }
.btn_b01 i, .btn i, .btn_admin i { font-style: normal; }

/* 리스트/보기 상단 버튼 묶음 */
.btn_bo_user { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.btn_bo_user li { margin: 0; }
.btn_bo_user .btn { height: 40px; width: auto; min-width: 40px; padding: 0 14px; }
.btn_confirm, .btn_confirm_reg, .win_btn, .btn_confirm.write_div {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    margin-top: 22px;
}
.btn_confirm .btn_cancel, .btn_confirm .btn_close { order: -1; }

/* 더보기 옵션 드롭다운 */
.more_opt { list-style: none; margin: 6px 0 0; padding: 8px; border: 1px solid var(--gb-line2);
    border-radius: 14px; background: var(--gh-bg2, #10122a); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); }
.more_opt li button, .more_opt li a { display: flex; gap: 8px; width: 100%; padding: 9px 12px;
    border: 0; border-radius: 8px; background: none; color: var(--gb-ink2); font-size: 14px; cursor: pointer; text-align: left; }
.more_opt li button:hover, .more_opt li a:hover { background: var(--gb-panel2); color: var(--gb-purple-ink); }

/* ==========================================================================
   게시판 목록 (list.skin.php)
   ========================================================================== */
#bo_list { width: auto !important; }
#bo_cate { margin-bottom: 18px; }
#bo_cate h2 { position: absolute; left: -9999px; }
#bo_cate_ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
#bo_cate_ul li a, #bo_cate_ul li #bo_cate_on {
    display: inline-block; padding: 8px 16px; border-radius: 999px;
    background: var(--gb-panel2); color: var(--gb-mute); font-size: 14px; text-decoration: none; }
#bo_cate_ul li a:hover { color: #fff; background: rgba(164, 107, 255, .22); }
#bo_cate_ul li #bo_cate_on { background: var(--gb-grad); color: #fff !important; }

#bo_btn_top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
#bo_list_total { color: var(--gb-mute); font-size: 14px; }
#bo_list_total span { font-weight: 700; color: var(--gb-ink); margin-right: 6px; }

.tbl_head01 { margin: 0 0 8px; }
.tbl_head01.tbl_wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl_head01 table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.tbl_head01 caption { position: absolute; left: -9999px; width: 0; height: 0; overflow: hidden; }
.tbl_head01 thead th {
    padding: 14px 10px; border: 0; border-bottom: 2px solid var(--gb-line2);
    background: var(--gb-panel2); color: var(--gb-mute); font-weight: 700; text-align: center; white-space: nowrap; }
.tbl_head01 thead th a { color: var(--gb-mute); text-decoration: none; }
.tbl_head01 tbody td {
    padding: 14px 10px; border: 0; border-bottom: 1px solid var(--gb-line);
    color: var(--gb-ink); text-align: center; vertical-align: middle; }
.tbl_head01 tbody tr:hover td { background: var(--gb-panel); }
.tbl_head01 tbody tr.bo_notice td { background: rgba(255, 207, 63, .08); }
.tbl_head01 .td_subject, .tbl_head01 .td_name { text-align: left; }
.tbl_head01 .bo_tit a { color: var(--gb-ink); text-decoration: none; font-weight: 500; }
.tbl_head01 .bo_tit a:hover { color: var(--gb-purple-ink); }
.bo_cate_link { display: inline-block; margin-right: 6px; padding: 2px 9px; border-radius: 7px;
    background: var(--gb-head-bg); color: var(--gb-purple-ink) !important; font-size: 12px; text-decoration: none; }
.notice_icon { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--gb-grad); color: #fff; font-size: 12px; font-weight: 700; }
.bo_current { color: var(--gb-hot); font-weight: 700; }
.new_icon, .cnt_cmt { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 5px; margin-left: 4px;
    border-radius: 5px; background: var(--gb-pink); color: #fff; font-size: 11px; font-weight: 700; vertical-align: middle; }
.cnt_cmt { background: rgba(164, 107, 255, .22); color: var(--gb-purple-ink); }
.hot_icon { color: var(--gb-hot); margin-left: 4px; }
.td_name a, .sv_member { color: var(--gb-mute) !important; text-decoration: none; }
.td_datetime, .td_num, .td_num2 { color: var(--gb-mute); }
.empty_table, .empty_list, .empty_li, #bo_vc_empty { padding: 44px 10px !important; color: var(--gb-mute); text-align: center; }
.chk_box .selec_chk { width: 18px; height: 18px; accent-color: var(--gb-purple); }

.bo_fx { margin-top: 16px; display: flex; justify-content: flex-end; }

/* 게시판 검색 레이어 */
.bo_sch_wrap { display: none; position: fixed; inset: 0; z-index: 1000; }
.bo_sch_bg { position: absolute; inset: 0; background: rgba(9, 10, 24, .55); }
.bo_sch { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: min(440px, 92vw); padding: 26px 24px; border-radius: var(--gb-r-lg); background: var(--gh-card, #15183a);
    box-shadow: inset 0 0 0 1px var(--gb-line2), 0 30px 70px -20px rgba(0, 0, 0, .7); }
.bo_sch h3 { margin: 0 0 14px; font-family: var(--gb-head); font-size: 18px; color: var(--gb-ink); }
.bo_sch select { width: 100%; margin-bottom: 10px; }
.bo_sch .sch_bar { display: flex; gap: 8px; }
.bo_sch .sch_input { flex: 1; }
.bo_sch_cls { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; padding: 0;
    border-radius: 50%; background: var(--gb-panel2); box-shadow: none; }

/* ==========================================================================
   페이지네이션 (get_paging / write_pages)
   ========================================================================== */
.pg_wrap { display: flex; justify-content: center; margin: 22px 0 4px; clear: both; }
.pg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.pg_page, .pg_current, .pg_start, .pg_prev, .pg_next, .pg_end {
    display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px;
    border-radius: 10px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--gb-line2);
    color: var(--gb-ink2) !important; font-size: 14px; text-decoration: none; }
.pg_page:hover, .pg_start:hover, .pg_prev:hover, .pg_next:hover, .pg_end:hover {
    box-shadow: inset 0 0 0 1px var(--gb-purple); color: var(--gb-purple-ink) !important; }
.pg_current { background: var(--gb-grad); color: #fff !important; box-shadow: none; font-weight: 700; }

/* ==========================================================================
   게시물 보기 (view.skin.php)
   ========================================================================== */
#bo_v { width: auto !important; }
#bo_v_title { margin: 0 0 18px; padding-bottom: 18px; border-bottom: 2px solid var(--gb-line); }
#bo_v_title .bo_v_cate { display: inline-block; margin-right: 8px; padding: 3px 11px; border-radius: 999px;
    background: var(--gb-head-bg); color: var(--gb-purple-ink); font-size: 13px; vertical-align: middle; }
#bo_v_title .bo_v_tit { font-family: var(--gb-head); font-size: clamp(20px, 2.6vw, 28px); color: var(--gb-ink); font-weight: 800; }
#bo_v_info { margin-bottom: 18px; }
#bo_v_info h2 { position: absolute; left: -9999px; }
.profile_info { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px;
    border-radius: var(--gb-r); background: var(--gb-panel); }
.profile_info .pf_img img, .profile_info .pf_img { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; }
.profile_info_ct { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13px; color: var(--gb-mute); }
.profile_info_ct strong { color: var(--gb-ink); font-weight: 700; }
.profile_info_ct strong a { color: var(--gb-mute); }
#bo_v_top { margin: 14px 0 0; }
#bo_v_atc { margin: 10px 0 24px; }
#bo_v_atc_title { position: absolute; left: -9999px; }
#bo_v_share { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-bottom: 12px; }
#bo_v_con { min-height: 120px; padding: 10px 0 24px; font-size: 15.5px; line-height: 1.8; color: #e9e8fb; }
#bo_v_con img { max-width: 100%; height: auto; }
#bo_v_img { margin-bottom: 16px; }
#bo_v_img img { max-width: 100%; height: auto; border-radius: var(--gb-r); }

#bo_v_act { display: flex; gap: 12px; justify-content: center; margin: 10px 0 24px; }
#bo_v_act .bo_v_good, #bo_v_act .bo_v_nogood, #bo_v_act a {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
    background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px var(--gb-line2); color: var(--gb-ink2); text-decoration: none; }
#bo_v_act a:hover { box-shadow: inset 0 0 0 1.5px var(--gb-purple); color: var(--gb-purple-ink); }
#bo_v_act strong { font-weight: 800; }

#bo_v_file, #bo_v_link { margin: 0 0 18px; padding: 16px 18px; border-radius: var(--gb-r); background: var(--gb-panel); }
#bo_v_file h2, #bo_v_link h2 { margin: 0 0 10px; font-family: var(--gb-head); font-size: 15px; color: var(--gb-ink); }
#bo_v_file ul, #bo_v_link ul { margin: 0; padding: 0; list-style: none; }
#bo_v_file li, #bo_v_link li { padding: 7px 0; border-top: 1px dashed var(--gb-line2); font-size: 14px; }
#bo_v_file li:first-child, #bo_v_link li:first-child { border-top: 0; }
#bo_v_file a, #bo_v_link a { color: var(--gb-purple-ink); }
.bo_v_file_cnt, .bo_v_link_cnt { color: var(--gb-mute2); font-size: 12px; }

.bo_v_nb { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.bo_v_nb li { padding: 14px 16px; border-radius: var(--gb-r); background: var(--gb-panel2); font-size: 14px; }
.bo_v_nb .nb_tit { display: block; margin-bottom: 4px; color: var(--gb-mute); font-size: 12px; }
.bo_v_nb a { color: var(--gb-ink); text-decoration: none; }
.bo_v_nb a:hover { color: var(--gb-purple-ink); }
.bo_v_nb .nb_date { display: block; margin-top: 4px; color: var(--gb-mute2); font-size: 12px; }

/* ==========================================================================
   댓글 (view_comment.skin.php)
   ========================================================================== */
.cmt_btn { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 14px; padding: 10px 18px;
    border: 0; border-radius: 999px; background: var(--gb-head-bg); color: var(--gb-ink2); cursor: pointer; font-size: 14px; }
.cmt_btn .total b { color: var(--gb-purple-ink); }
#bo_vc { margin-top: 8px; }
#bo_vc > h2 { font-family: var(--gb-head); font-size: 18px; color: var(--gb-ink); margin: 0 0 10px; }
#bo_vc article { display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid var(--gb-line) !important; position: relative; }
#bo_vc article .pf_img img, #bo_vc article .pf_img { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: none; }
#bo_vc .cm_wrap { flex: 1; min-width: 0; }
#bo_vc header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 6px; }
#bo_vc header h2 { position: absolute; left: -9999px; }
#bo_vc .bo_vc_hdinfo { color: var(--gb-mute2); font-size: 12px; }
#bo_vc .cmt_contents p { margin: 0; font-size: 14.5px; line-height: 1.7; color: #e9e8fb; }
.bo_vl_opt { position: absolute; top: 14px; right: 0; }
.bo_vc_act { position: absolute; right: 0; margin: 4px 0 0; padding: 6px; list-style: none; border: 1px solid var(--gb-line2);
    border-radius: 12px; background: var(--gh-bg2, #10122a); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .6); display: none; z-index: 5; }
.bo_vc_act li a { display: block; padding: 7px 14px; border-radius: 7px; color: var(--gb-ink2); text-decoration: none; }
.bo_vc_act li a:hover { background: var(--gb-panel2); color: var(--gb-purple-ink); }
.btn_cm_opt { padding: 0 10px; height: 32px; }

#bo_vc_w { margin-top: 18px; padding: 18px; border-radius: var(--gb-r-lg); background: var(--gb-panel); }
#bo_vc_w h2 { margin: 0 0 10px; font-family: var(--gb-head); font-size: 16px; color: var(--gb-ink); }
#bo_vc_w textarea { width: 100%; min-height: 96px; }
.bo_vc_w_wr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.bo_vc_w_info { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.secret_cm { display: inline-flex; align-items: center; gap: 6px; color: var(--gb-mute); font-size: 14px; }

/* ==========================================================================
   글쓰기 (write.skin.php)
   ========================================================================== */
#bo_w { width: auto !important; }
#bo_w .write_div { margin-bottom: 14px; }
.bo_w_info { display: flex; flex-wrap: wrap; gap: 10px; }
.bo_w_info .half_input { flex: 1; min-width: 180px; width: auto; }
.bo_v_option { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.bo_v_option .chk_box { display: inline-flex; align-items: center; gap: 6px; color: var(--gb-mute); font-size: 14px; }
.bo_w_select select { min-width: 220px; }
.wr_content textarea, #bo_w textarea { width: 100%; min-height: 240px; }
.bo_w_tit #autosave_wrapper { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bo_w_tit #autosave_wrapper .full_input { flex: 1; min-width: 200px; }
#char_count_wrap { margin-top: 6px; color: var(--gb-mute); font-size: 13px; text-align: right; }
#btn_autosave { flex: none; height: 46px; padding: 0 16px; border-radius: var(--gb-r); background: var(--gb-panel2);
    box-shadow: inset 0 0 0 1px var(--gb-line2); color: var(--gb-purple-ink); border: 0; font-size: 13px; cursor: pointer; white-space: nowrap; }
#btn_autosave:hover { box-shadow: inset 0 0 0 1px var(--gb-purple); }
#autosave_pop { margin-top: 8px; padding: 14px 16px; border: 1px solid var(--gb-line2); border-radius: var(--gb-r);
    background: var(--gh-bg2, #10122a); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); }
#autosave_pop strong { display: block; margin-bottom: 8px; color: var(--gb-ink); font-size: 14px; }
#autosave_pop .autosave_close { margin-top: 10px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--gb-panel2); box-shadow: none; color: var(--gb-mute); border: 0; cursor: pointer; }
.bo_w_link, .bo_w_flie { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bo_w_link label, .file_wr label { color: var(--gb-mute); }
.file_del { color: var(--gb-mute); font-size: 13px; }

/* ==========================================================================
   회원 — 로그인 / 비밀번호 확인 / 글 비밀번호 (.mbskin)
   ========================================================================== */
.mbskin { max-width: 460px; margin: 0 auto; }
.mbskin > h1, .mbskin h1 { margin: 0 0 6px; font-family: var(--gb-head); font-size: 24px; color: var(--gb-ink); text-align: center; }
.mb_log_cate { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 10px 0 22px; }
.mb_log_cate h2 { margin: 0; font-family: var(--gb-head); font-size: 18px; color: var(--gb-ink); }
.mb_log_cate .join { height: 34px; padding: 0 14px; font-size: 13px; }
.mbskin .mb_log_cate .join { width: auto; float: none; background: rgba(255, 255, 255, .06); color: var(--gb-ink2) !important; }
.mbskin .mb_log_cate .join:hover { background: rgba(255, 255, 255, .12); color: #fff !important; }
.mbskin .mbskin_box { padding: 0; background: transparent; border: 0; box-shadow: none; }
#login_fs, #mb_confirm fieldset, #pw_confirm fieldset { border: 0; padding: 0; margin: 0; }
#login_fs legend, #mb_confirm legend, #pw_confirm legend { position: absolute; left: -9999px; }
.mbskin .frm_input { width: 100%; margin-bottom: 10px; }
.mbskin .btn_submit, #mb_confirm .btn_submit, #pw_confirm .btn_submit { width: 100%; margin-top: 6px; }
#login_info { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 16px; font-size: 14px; }
.login_if_auto { display: inline-flex; align-items: center; gap: 6px; color: var(--gb-mute); }
.login_if_lpl a { color: var(--gb-purple-ink); text-decoration: none; }
#mb_confirm, #pw_confirm { max-width: 460px; margin: 0 auto; text-align: center; }
#mb_confirm p, #pw_confirm p { color: var(--gb-mute); font-size: 14.5px; line-height: 1.7; margin: 10px 0 20px; }
#mb_confirm p strong, #pw_confirm p strong { display: block; color: var(--gb-ink); font-size: 16px; margin-bottom: 4px; }
.confirm_id { display: inline-block; color: var(--gb-mute); margin-right: 8px; }
#mb_confirm_id { font-weight: 700; color: var(--gb-ink); }
#mb_confirm fieldset .frm_input, #pw_confirm .frm_input { display: block; width: 100%; margin: 12px 0; }
#mb_login_notmb, #mb_login_od_wr { max-width: 460px; margin: 30px auto 0; padding: 20px 22px; border: 1px solid var(--gb-line2) !important; border-radius: var(--gb-r-lg); background: var(--gb-panel); }
#mb_login_notmb h2, #mb_login_od_wr h2 { font-family: var(--gb-head); font-size: 17px; color: var(--gb-ink); margin: 0 0 10px; }
#mb_login_od_wr p { background: var(--gb-panel2) !important; color: var(--gb-mute); border-radius: var(--gb-r); }
#mb_login #sns_login { border-color: var(--gb-line2) !important; }

/* 소셜 로그인 버튼이 들어오면 너무 붙지 않도록 */
.mbskin_box .social_login, #social_login { margin-top: 14px; }

/* ==========================================================================
   회원가입 약관 동의 (register.skin.php) / 결과 (register_result)
   ========================================================================== */
.register { max-width: 860px; margin: 0 auto; }
.register > p { display: flex; align-items: flex-start; gap: 8px; padding: 14px 16px; margin: 0 0 18px;
    border-radius: var(--gb-r); background: var(--gb-head-bg); color: var(--gb-ink2); font-size: 14.5px; }
.register > p .fa { color: var(--gb-purple-ink); }
#fregister_term, #fregister_private { margin-bottom: 16px; }
#fregister_term h2, .fregister_terms h2 { font-family: var(--gb-head); font-size: 16px; color: var(--gb-ink); margin: 0 0 10px; }
#fregister_term textarea { width: 100%; height: 160px; background: var(--gb-panel); }
.fregister_terms table { width: 100%; border-collapse: collapse; font-size: 13.5px; border-radius: var(--gb-r); overflow: hidden; }
.fregister_terms caption { position: absolute; left: -9999px; }
.fregister_terms th, .fregister_terms td { padding: 10px 12px; border: 1px solid var(--gb-line); text-align: left; vertical-align: top; }
.fregister_terms th { background: var(--gb-panel2); color: var(--gb-mute); font-weight: 700; }
.fregister_agree { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 0; border: 0; color: var(--gb-ink2); font-size: 14px; }
#fregister_chkall, .chk_all { display: flex; align-items: center; gap: 8px; margin: 10px 0 20px; padding: 14px 16px;
    border-radius: var(--gb-r); background: var(--gb-panel); font-weight: 700; color: var(--gb-ink); }
.fregister_agree .selec_chk, .chk_all .selec_chk { width: 18px; height: 18px; accent-color: var(--gb-purple); }

#reg_result { max-width: 560px; margin: 0 auto; text-align: center; }
.reg_result_p { font-size: 17px; color: var(--gb-ink); line-height: 1.7; }
.reg_result_p .fa { font-size: 40px; color: var(--gb-pink); margin-bottom: 10px; }
.reg_result_p strong { color: var(--gb-purple-ink); }
.result_txt { color: var(--gb-mute); font-size: 14px; line-height: 1.7; margin: 14px 0; }
#result_email { display: inline-block; margin: 8px auto; padding: 14px 20px; border-radius: var(--gb-r); background: var(--gb-panel); text-align: left; }
#result_email span { color: var(--gb-mute); margin-right: 6px; }
.btn_confirm_reg { display: flex; justify-content: center; margin-top: 24px; }

/* ==========================================================================
   회원가입 폼 (register_form.skin.php)
   ========================================================================== */
#register_form, .form_01 { margin-bottom: 18px; }
.register_form_inner { margin-bottom: 18px; }
.form_01 h2, .register_form_inner h2 { font-family: var(--gb-head); font-size: 16px; color: var(--gb-ink); margin: 0 0 12px; }
.form_01 ul, .register_form_inner ul { margin: 0; padding: 0; list-style: none; }
.form_01 > .register_form_inner > ul > li, #register_form li { margin-bottom: 14px; }
.register_form_inner .half_input { display: inline-block; width: 49%; vertical-align: top; }
.register_form_inner .left_input { margin-right: 1.5%; }
.frm_label, .register_form_inner label, .form_01 label:not(.inline) { display: inline-block; margin-bottom: 6px; color: var(--gb-ink2); font-weight: 700; font-size: 14px; }
.frm_label .fa, label .fa { color: var(--gb-mute2); }
.tbl_frm01 { width: 100%; }
.tbl_frm01 table { width: 100%; border-collapse: collapse; }
.tbl_frm01 caption { position: absolute; left: -9999px; }
.tbl_frm01 th { width: 150px; padding: 14px 14px; border-bottom: 1px solid var(--gb-line); background: transparent;
    color: var(--gb-ink2); font-weight: 700; text-align: left; vertical-align: top; }
.tbl_frm01 td { padding: 10px 14px 14px; border-bottom: 1px solid var(--gb-line); vertical-align: top; }
.twopart_input { width: 120px; }
.frm_address { margin-top: 8px; }
.cert_req, .required_icon { color: var(--gb-hot); font-size: 12px; margin-left: 4px; }
.cert_desc { color: var(--gb-mute); font-size: 13px; }
.tooltip_icon { width: 28px; height: 28px; padding: 0; border-radius: 50%; background: var(--gb-panel2); box-shadow: none; color: var(--gb-mute); }
/* .tooltip 은 default.css 의 숨김/토글(JS)을 그대로 두고, 보일 때 글자만 다듬는다 */
.tooltip { font-size: 12.5px; line-height: 1.55; }
#msg_mb_id, #msg_mb_nick, #msg_certify { display: inline-block; margin-top: 6px; font-size: 13px; }
.chk_box { display: block; }
.chk_box .chk_li { color: var(--gb-ink2); font-size: 14px; }
.consent-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.consent-line label { margin: 0; }
.consent-line .selec_chk { width: 18px; height: 18px; accent-color: var(--gb-purple); }
.consent-line button, .js-open-consent { height: 34px; padding: 0 12px; border-radius: 999px; background: var(--gb-panel2);
    box-shadow: none; color: var(--gb-purple-ink); border: 0; font-size: 13px; cursor: pointer; }
.consent-date { color: var(--gb-mute2); font-size: 12px; margin-top: 4px; }
label.inline { display: inline-block; margin: 0 0 0 4px; font-weight: 400; color: var(--gb-mute); }

/* 약관 동의 모달 (consent_modal.inc.php) */
#consentDialog, .consent-dialog { border: 0; border-radius: var(--gb-r-lg); padding: 0; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); max-width: 560px; width: 92vw; }
#consentDialog::backdrop { background: rgba(9,10,24,.6); }

/* ==========================================================================
   비밀번호 찾기 / 재설정 (.new_win 전체 페이지형)
   ========================================================================== */
#find_info, #pw_reset { max-width: 620px; margin: 0 auto; }
#find_info.cert { max-width: 760px; }
#find_info .new_win_con, #pw_reset .new_win_con { padding: 22px 22px; border-radius: var(--gb-r-lg); background: var(--gb-panel); margin-bottom: 16px; }
#find_info h3, #pw_reset h3 { margin: 0 0 12px; font-family: var(--gb-head); font-size: 17px; color: var(--gb-ink); }
#find_info #info_fs, #pw_reset #info_fs { border: 0; padding: 0; margin: 0; }
#find_info #info_fs p, #pw_reset #info_fs p { color: var(--gb-mute); font-size: 14px; line-height: 1.7; margin: 0 0 12px; }
#find_info .frm_input, #pw_reset .frm_input { width: 100%; margin-bottom: 10px; }
#find_info .win_btn, #pw_reset .win_btn { display: flex; }
#find_info .win_btn .btn_submit, #pw_reset .win_btn .btn_submit { width: 100%; }
#find_info .cert_btn { display: flex; flex-wrap: wrap; gap: 10px; }
#find_info .cert_btn .btn_submit { width: auto; }
#find_info.cert { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
#find_info.cert > form, #find_info.cert .find_btn { margin: 0; }

/* ==========================================================================
   팝업형 창 (profile / point / scrap / memo*) — 흰 배경 위
   ========================================================================== */
.new_win { position: relative; padding: 16px; }
.new_win #win_title, .new_win > h1 { margin: 0 0 16px; padding: 16px 18px; border-radius: var(--gb-r);
    background: var(--gb-grad); color: #fff !important; box-shadow: none;
    font-family: var(--gb-head); font-size: 18px; height: auto; line-height: 1.4; }
.new_win .win_total, .win_total { font-size: 12px; opacity: .9; font-weight: 400; }
.new_win .win_ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.new_win .win_ul li { float: none; margin: 0; padding: 0; border: 0; border-radius: 999px; background: var(--gb-panel2); }
.new_win .win_ul li a { display: block; padding: 9px 16px; color: var(--gb-mute); font-size: 14px; text-decoration: none; }
.new_win .win_ul li.selected { background: var(--gb-grad); }
.new_win .win_ul li.selected a { color: #fff; }
.new_win_con, .new_win_con2 { padding: 0; }
.win_btn { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.win_desc { margin-top: 14px; color: var(--gb-mute); font-size: 13px; text-align: center; }

/* 프로필 */
#profile .profile_name { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--gb-head); font-size: 18px; color: var(--gb-ink); }
.my_profile_img img, .my_profile_img { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; }
.tbl_head02 table, #profile table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl_head02 th, #profile th { padding: 12px 12px; border-bottom: 1px solid var(--gb-line); background: var(--gb-panel2); color: var(--gb-mute); text-align: left; white-space: nowrap; }
.tbl_head02 td, #profile td { padding: 12px 12px; border-bottom: 1px solid var(--gb-line); color: var(--gb-ink); }
#profile section h2 { font-family: var(--gb-head); font-size: 15px; color: var(--gb-ink); margin: 16px 0 8px; }

/* 포인트 */
.point_all .full_li { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; margin: 0 0 14px;
    border-radius: var(--gb-r); background: var(--gb-grad); color: #fff; font-weight: 700; }
.point_all .full_li span { font-family: var(--gb-head); font-size: 22px; }
.point_list { margin: 0; padding: 0; list-style: none; }
.point_list > li { padding: 14px 4px; border-bottom: 1px solid var(--gb-line); }
.point_top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.point_tit { color: var(--gb-ink); font-size: 14.5px; }
.point_num { font-family: var(--gb-head); font-weight: 700; color: var(--gb-purple-ink); }
.point_use .point_num { color: var(--gb-hot); }
.point_date1, .point_date { display: inline-block; margin-top: 4px; color: var(--gb-mute2); font-size: 12px; }
.point_date1 { margin-right: 10px; }
.txt_expired { color: var(--gb-hot); }
.point_status { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 14px 4px !important;
    border-top: 2px solid var(--gb-line2); font-weight: 700; color: var(--gb-ink); }

/* 스크랩 */
#scrap ul { margin: 0; padding: 0; list-style: none; }
#scrap > ul > li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 4px; border-bottom: 1px solid var(--gb-line); }
.scrap_tit { flex: 1; min-width: 60%; color: var(--gb-ink) !important; font-weight: 600; text-decoration: none; }
.scrap_cate { padding: 3px 9px; border-radius: 7px; background: var(--gb-head-bg); color: var(--gb-purple-ink) !important; font-size: 12px; text-decoration: none; }
.scrap_datetime { color: var(--gb-mute2); font-size: 12px; }
.scrap_del { color: var(--gb-mute2); }

/* 쪽지 */
.memo_list ul { margin: 0; padding: 0; list-style: none; }
.memo_list > ul > li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--gb-line); }
.memo_list li.read { opacity: .66; }
.profile_big_img img, .profile_big_img { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; }
.memo_name { flex: 1; min-width: 0; color: var(--gb-ink); font-weight: 600; }
.memo_datetime { color: var(--gb-mute2); font-size: 12px; font-weight: 400; margin-left: 6px; }
.memo_preview a { display: block; margin-top: 4px; color: var(--gb-mute); font-weight: 400; font-size: 14px; text-decoration: none; }
.no_read { display: inline-block; margin-top: 4px; padding: 1px 7px; border-radius: 6px; background: var(--gb-pink); color: #fff; font-size: 11px; }
.memo_del { color: var(--gb-mute2); }
.form_01 .frm_input, .form_01 textarea { width: 100%; }
#memo_write .form_01 ul { margin: 0; padding: 0; list-style: none; }
#memo_write .form_01 li { margin-bottom: 12px; }
#memo_view_contents header h2 { font-family: var(--gb-head); font-size: 16px; color: var(--gb-ink); margin: 0 0 12px; }
.memo_from { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; padding: 0 0 12px; list-style: none; border-bottom: 1px solid var(--gb-line); }
.memo_view_nick { font-weight: 700; color: var(--gb-ink); }
.memo_view_date { color: var(--gb-mute2); font-size: 12px; }
.memo_op_btn .btn { height: 36px; }
.memo_btn { display: flex; gap: 10px; width: 100%; margin-top: 8px; }
.memo_btn a { color: var(--gb-purple-ink); text-decoration: none; font-size: 14px; }
#memo_view_contents > p { font-size: 15px; line-height: 1.8; color: #e9e8fb; }

/* ==========================================================================
   접속자 (connect/basic)
   ========================================================================== */
#current_connect ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
#current_connect li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--gb-r); background: var(--gb-panel); }
#current_connect .crt_num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--gb-head-bg); color: var(--gb-purple-ink); font-size: 12px; font-weight: 700; flex: none; }
#current_connect .crt_profile img, #current_connect .crt_profile { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none; }
#current_connect .crt_info { display: flex; flex-direction: column; min-width: 0; }
#current_connect .crt_name { color: var(--gb-ink); font-weight: 600; font-size: 14px; }
#current_connect .crt_lct { color: var(--gb-mute2); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==========================================================================
   전체검색 (search/basic)
   ========================================================================== */
#sch_res_detail { border: 0; margin: 0 0 20px; padding: 20px 20px; border-radius: var(--gb-r-lg); background: var(--gb-panel); }
#sch_res_detail legend { position: absolute; left: -9999px; }
#sch_res_detail select { margin: 0 8px 10px 0; }
.sch_wr { display: inline-flex; gap: 8px; width: 100%; max-width: 560px; margin-top: 6px; }
.sch_wr .frm_input { flex: 1; }
.switch_field { display: inline-flex; gap: 6px; margin-top: 10px; }
.switch_field input { position: absolute; opacity: 0; }
.switch_field label { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--gb-line2); color: var(--gb-mute); cursor: pointer; font-size: 13px; white-space: nowrap; }
.switch_field input:checked + label { background: var(--gb-grad); color: #fff; box-shadow: none; }
#sch_res_ov { margin: 0 0 14px; }
#sch_res_ov h2 { font-family: var(--gb-head); font-size: 18px; color: var(--gb-ink); margin: 0 0 8px; }
#sch_res_ov strong { color: var(--gb-purple-ink); }
#sch_res_ov ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
#sch_res_ov li { padding: 6px 12px; border-radius: 999px; background: var(--gb-panel2); color: var(--gb-mute); font-size: 13px; }
#sch_res_board { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
#sch_res_board li a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--gb-panel2); color: var(--gb-mute); font-size: 13px; text-decoration: none; }
#sch_res_board li a:hover { color: #fff; background: rgba(164, 107, 255, .22); }
#sch_result hr { border: 0; border-top: 1px solid var(--gb-line); margin: 18px 0; }
.search_board_result { margin-bottom: 22px; }
.search_board_result h2 { font-family: var(--gb-head); font-size: 16px; color: var(--gb-ink); margin: 0 0 10px; display: inline-block; }
.search_board_result .sch_more { margin-left: 10px; font-size: 13px; color: var(--gb-purple-ink); text-decoration: none; }
.search_board_result ul { margin: 0; padding: 0; list-style: none; }
.search_board_result > ul > li { padding: 14px 16px; margin-bottom: 10px; border-radius: var(--gb-r); background: var(--gb-panel); }
.sch_tit { display: flex; align-items: center; gap: 8px; }
.sch_res_title { color: var(--gb-ink) !important; font-weight: 600; text-decoration: none; }
.sch_res_title:hover { color: var(--gb-purple-ink) !important; }
.sch_tit .pop_a { color: var(--gb-mute2); }
.search_board_result p { margin: 6px 0; color: var(--gb-mute); font-size: 14px; line-height: 1.6; }
.sch_info { color: var(--gb-mute2); font-size: 12px; }
.sch_datetime { margin-left: 8px; }
.cmt_def { color: var(--gb-pink); }

/* ==========================================================================
   FAQ (faq/basic)
   ========================================================================== */
#faq_hhtml, #faq_thtml { color: var(--gb-mute); }
#faq_sch { border: 0; margin: 0 0 18px; padding: 18px 20px; border-radius: var(--gb-r-lg); background: var(--gb-panel); }
#faq_sch legend { position: absolute; left: -9999px; }
#faq_sch form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#faq_sch .sch_tit { display: inline-block; font-family: var(--gb-head); color: var(--gb-ink); margin-right: 6px; }
#faq_sch .frm_input { flex: 1; min-width: 160px; }
#faq_con ol { margin: 0; padding: 0; list-style: none; }
#faq_con > ol > li { margin-bottom: 10px; border: 1px solid var(--gb-line2); border-radius: var(--gb-r); overflow: hidden; background: var(--gb-panel); }
#faq_con h3 { display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px 18px; cursor: pointer; }
#faq_con h3 .tit_bg { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--gb-grad); color: #fff; font-family: var(--gb-head); font-weight: 800; flex: none; }
#faq_con h3 a { flex: 1; color: var(--gb-ink); text-decoration: none; font-weight: 600; }
#faq_con h3 .tit_btn { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--gb-panel2); color: var(--gb-mute); cursor: pointer; }
#faq_con h3.faq_li_open .tit_btn { background: var(--gb-purple); color: #fff; }
#faq_con .con_inner { display: none; padding: 0 18px 18px; color: #d7d6ef; font-size: 14.5px; line-height: 1.75; }
#faq_con .con_inner img { max-width: 100%; height: auto; }
.closer_btn { margin-top: 12px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--gb-panel2); color: var(--gb-mute); box-shadow: none; }
.faq_admin { margin-top: 16px; }
.faq_img img { max-width: 100%; height: auto; }

/* ==========================================================================
   최신글 (latest/basic) — 위젯 등에서 쓰일 때
   ========================================================================== */
.lat { padding: 4px 0; }
.lat_title { font-family: var(--gb-head); font-size: 16px; margin: 0 0 10px; }
.lat_title a { color: var(--gb-ink); text-decoration: none; }
.lat ul { margin: 0; padding: 0; list-style: none; }
.lat li.basic_li { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--gb-line); font-size: 14px; }
.lat li.basic_li:first-child { border-top: 0; }
.lat li.basic_li > a { flex: 1; min-width: 0; color: var(--gb-ink2); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lat li.basic_li > a:hover { color: var(--gb-purple-ink); }
.lat .lt_info { display: inline-flex; gap: 8px; flex: none; color: var(--gb-mute2); font-size: 12px; }
.lat .lt_cmt { color: var(--gb-pink); font-size: 12px; }
.lat .lt_more { display: inline-block; margin-top: 10px; color: var(--gb-mute); font-size: 13px; text-decoration: none; }
.lat .lt_more:hover { color: var(--gb-purple-ink); }
.lat .empty_li { padding: 24px 0; color: var(--gb-mute); text-align: center; }

/* ==========================================================================
   반응형
   ========================================================================== */
@media (max-width: 767px) {
    .half_input, .bo_w_info .half_input, .register_form_inner .half_input { width: 100%; display: block; margin-right: 0; }
    .register_form_inner .left_input { margin-right: 0; }
    .register { max-width: none; }
    #find_info.cert { grid-template-columns: 1fr; }

    /* 가입폼 표 → 세로로 쌓기 */
    .tbl_frm01 table, .tbl_frm01 tbody, .tbl_frm01 tr, .tbl_frm01 th, .tbl_frm01 td { display: block; width: 100% !important; }
    .tbl_frm01 th { border-bottom: 0; padding: 14px 2px 2px; }
    .tbl_frm01 td { padding: 2px 2px 14px; border-bottom: 1px solid var(--gb-line); }

    /* 프로필 표 → 세로로 쌓기 */
    .tbl_head02 table, .tbl_head02 tbody, .tbl_head02 tr, .tbl_head02 th, .tbl_head02 td,
    #profile table, #profile tbody, #profile tr, #profile th, #profile td { display: block; width: 100% !important; }
    .tbl_head02 th, #profile th { border-bottom: 0; padding-bottom: 2px; }

    /* 가입약관 표는 가로 스크롤 */
    .fregister_terms > div { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .fregister_terms table { min-width: 460px; }

    .bo_v_nb { grid-template-columns: 1fr; }
    #current_connect ul { grid-template-columns: 1fr; }
    .btn_confirm .btn, .btn_confirm .btn_submit, .win_btn .btn, .win_btn .btn_submit,
    .btn_confirm_reg .reg_btn_submit { flex: 1; }
    #bo_btn_top { align-items: flex-start; }
    .sch_wr { flex-direction: column; }
    .sch_wr .btn_submit { width: 100%; }
}

@media (max-width: 480px) {
    .frm_input, .gh-content input, .gh-content select { font-size: 14px; }
    .new_win .win_ul { width: 100%; }
    .mb_log_cate { flex-direction: column; gap: 6px; }
}

/* ── 단독 창(로그인·회원가입·비밀번호 찾기·본인확인)을 브랜드 카드로 ── */
/* 사이트 헤더(.gh-hd)가 없는 창에서만 적용 */
body:not(:has(.gh-hd)):has(.mbskin){
    min-height:100vh; margin:0; display:flex; align-items:center; justify-content:center; padding:28px 16px;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255,79,163,.28), transparent 55%),
        radial-gradient(ellipse at 90% 30%, rgba(54,212,255,.22), transparent 55%),
        #090a18;
}
body:not(:has(.gh-hd)):has(.mbskin) #wrapper,
body:not(:has(.gh-hd)):has(.mbskin) #container_wr,
body:not(:has(.gh-hd)):has(.mbskin) #container{ background:transparent; margin:0; padding:0; width:auto; min-width:0; }
body:not(:has(.gh-hd)) .mbskin{
    width:100%; max-width:430px; margin:0 auto;
    background:linear-gradient(180deg, rgba(27,30,66,.96), rgba(18,20,46,.98));
    border-radius:22px; padding:34px 30px 30px;
    box-shadow:0 30px 70px -22px rgba(0,0,0,.75), inset 0 0 0 1px var(--gb-line2);
}
body:not(:has(.gh-hd)) .mbskin .mbskin_box>h1{ display:none; }  /* 제목 중복 숨김 */
body:not(:has(.gh-hd)) .mbskin .mbskin_box::before,
body:not(:has(.gh-hd)) .mbskin::before{
    content:"MINIGAME HUB"; display:block; text-align:center; margin:0 0 18px;
    font-family:'GH Display','GH Head',-apple-system,'Malgun Gothic',sans-serif; font-size:23px; letter-spacing:.02em;
    background:linear-gradient(100deg,#ff4fa3 0%,#a46bff 48%,#36d4ff 100%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
}
/* .mbskin_box 가 있으면 그쪽 ::before 만, 없으면 .mbskin ::before 만 보이게 */
body:not(:has(.gh-hd)) .mbskin:has(.mbskin_box)::before{ content:none; }
body:not(:has(.gh-hd)) .mbskin a{ color:var(--gb-cyan); }
body:not(:has(.gh-hd)) .mbskin a:hover{ color:#7fe2ff; }

/* ==========================================================================
   회원 스킨 기본 style.css(skin/member/basic/style.css)의 밝은 면 덮기
   — board.css 가 뒤에 읽히므로 동일/상위 특이도(필요 시 !important)로 어둡게.
   ========================================================================== */
/* 가입 약관 (register.skin) */
#fregister section { border-color: var(--gb-line2); }
#fregister h2 { border-bottom-color: var(--gb-line2); color: var(--gb-ink); }
.fregister_terms div { background: transparent; }
.fregister_terms table th { background: var(--gb-panel2); color: var(--gb-ink2); border-color: var(--gb-line2); }
.fregister_terms table td { background: transparent; color: var(--gb-ink2); border-color: var(--gb-line2); }
#fregister textarea { background: var(--gb-input); color: var(--gb-ink); }
.fregister_agree input[type="checkbox"] + label { color: var(--gb-ink2); }
.fregister_agree input[type="checkbox"]:checked + label { color: #fff; }
.fregister_agree input[type="checkbox"] + label span { background: var(--gb-input); border-color: var(--gb-line2); }

/* 가입 입력폼 (register_form.skin) */
#register_form { background: transparent; }
#register_form h2 { border-bottom-color: var(--gb-line2); color: var(--gb-ink); }
.register_form_inner { background: var(--gb-panel); border-color: var(--gb-line2); }
.register_form_inner label { color: var(--gb-ink2); }
#fregisterform .cert_desc { color: var(--gb-cyan); }
#fregisterform #msg_certify { background: rgba(54, 212, 255, .12); border-color: rgba(54, 212, 255, .4); color: #bfeaff; }

/* 공통 커스텀 체크/라디오 라벨 글자 (어두운 배경 대비) */
.chk_box input[type="radio"] + label, .chk_box input[type="checkbox"] + label { color: var(--gb-ink2); }
.chk_box input[type="radio"]:checked + label { color: var(--gb-cyan); }
.chk_box input[type="checkbox"]:checked + label { color: #fff; }

/* 가입 완료 (register_result.skin) */
#reg_result { background: var(--gb-panel); border-color: var(--gb-line2); }
#reg_result #result_email { background: var(--gb-panel2); border-color: var(--gb-line2); }
#reg_result h2 strong, #reg_result #result_email strong { color: var(--gb-pink); }
#reg_result .reg_result_p { color: var(--gb-cyan); }

/* 본인확인 / 글 비밀번호 확인 — 흰 입력 강제(!important) 덮기 */
#mb_confirm fieldset .frm_input, #pw_confirm fieldset .frm_input { background-color: var(--gb-input) !important; color: var(--gb-ink); }
#mb_confirm p, #pw_confirm p { border-bottom-color: var(--gb-line2); color: var(--gb-mute); }
#mb_confirm p strong, #pw_confirm p strong { color: var(--gb-cyan); }

/* 아이디/비번 찾기 안내칸 (new_win) */
#find_info .new_win_con { background: var(--gb-panel); }

/* 비회원 구매 안내 (로그인 하단) */
#guest_privacy { background: var(--gb-panel); color: var(--gb-mute); border-color: var(--gb-line2); }

/* 폼메일 파일칸 */
#formmail .formmail_flie .file_wr, #formmail .lb_icon { background: var(--gb-input); color: var(--gb-mute); border-color: var(--gb-line2); }

/* 포인트 (point.skin, .new_win) */
#point .point_all { background: transparent; border-color: var(--gb-line2); color: var(--gb-ink2); }
#point .point_all li:last-child { border-left-color: var(--gb-line2); }
#point .point_all li span { color: var(--gb-ink); }
#point .point_all .full_li { background: var(--gb-grad); color: #fff; border-bottom-color: rgba(255, 255, 255, .2); }
#point .point_all .full_li span { color: #fff; }
#point .point_status { background: transparent; color: var(--gb-ink); }
.point_list li, .point_list li:first-child { background: transparent; border-color: var(--gb-line); }
.point_list .point_use { background: rgba(255, 255, 255, .04); }
.point_list .point_num { color: var(--gb-purple-ink); }
.point_list .point_use .point_num { color: var(--gb-hot); }
.point_list .point_date1, .point_list .point_date { color: var(--gb-mute2); }

/* 스크랩 (scrap.skin) */
#scrap .scrap_cate { background: var(--gb-head-bg); color: var(--gb-purple-ink); }
#scrap .scrap_datetime { color: var(--gb-mute2); }
#scrap_do .scrap_tit { background: var(--gb-panel2); color: var(--gb-ink); }

/* 쪽지 (memo*.skin, .new_win) */
.memo_list, #memo_view_contents { border-color: var(--gb-line); }
.memo_list li, .memo_from, #memo_view p, #memo_view_ul { background: transparent; }
.memo_list li { border-bottom-color: var(--gb-line); }
.memo_list li.read { background: rgba(255, 255, 255, .03); }
.memo_from { border-bottom-color: var(--gb-line); }
.memo_btn a { color: var(--gb-purple-ink); }

/* 자기소개 (profile.skin) */
#profile section { background: var(--gb-panel); border-color: var(--gb-line2); color: var(--gb-ink2); }

/* ==========================================================================
   표·입력의 흰 배경 제거(default.css / 게시판·회원 스킨 style.css 보다 우선)
   — 어두운 카드가 비치게. !important 는 스킨의 흰 배경(상위 특이도)을 덮기 위함.
   ========================================================================== */
/* 표 전체 흰 바탕 제거 */
.gh-content table, .tbl_head01 table, .tbl_frm01 table, .tbl_head02 table, .tbl_wrap table { background: transparent !important; }
/* 목록 머리/본문/바닥 칸 */
.tbl_head01 thead th { background: var(--gb-panel2) !important; color: var(--gb-mute); }
.tbl_head01 tbody td, .tbl_head01 tbody th, .tbl_head01 tfoot td, .tbl_head01 tfoot th,
#bo_list tbody .even td, #bo_list tbody .odd td { background: transparent !important; color: var(--gb-ink); border-color: var(--gb-line) !important; }
.tbl_head01 tbody tr:hover td, .tbl_head01 tbody tr.even:hover td { background: var(--gb-panel) !important; }
.tbl_head01 tbody tr.bo_notice td, .bo_notice td { background: rgba(255, 207, 63, .08) !important; border-bottom-color: var(--gb-line) !important; }
.btn_bo_user li { background: transparent; }
#bo_list .cnt_cmt { background: rgba(164, 107, 255, .22) !important; color: var(--gb-purple-ink) !important; }
/* 가입/프로필 표 */
.tbl_frm01 th, .tbl_frm01 td, .tbl_head02 td, #profile td { background: transparent !important; color: var(--gb-ink); border-color: var(--gb-line) !important; }
.tbl_frm01 thead th, .tbl_frm01 tbody th, .tbl_head02 th, #profile th { background: var(--gb-panel2) !important; color: var(--gb-ink2); }
/* 게시물 보기 바탕 */
#bo_v, #bo_v_top ul { background: transparent !important; }
/* 파일 입력·댓글 입력칸 흰색 방지 */
.bo_w_flie .file_wr, #bo_w .bo_w_flie .file_wr, #formmail .formmail_flie .file_wr { background: var(--gb-input) !important; color: var(--gb-ink); border-color: var(--gb-line2) !important; }
.bo_vc_w textarea, #bo_w textarea:not(.cke_source) { background: var(--gb-input) !important; color: var(--gb-ink); border-color: var(--gb-line2) !important; }

/* ==========================================================================
   v2 정리 (10-20) — 사이트 안 로그인 카드 · 목록 검색 툴바 · 체크박스/라디오 ·
   캡차 · 파일 · 취소 버튼 · 가입폼 카드 · 글보기 정리. 이 블록이 마지막이라 앞 규칙을 덮는다.
   ========================================================================== */

/* ── 공통: 흰 줄·흰 바탕 잔재 제거 ── */
.gh-content hr { border: 0; border-top: 1px solid var(--gb-line); }
.gh-content fieldset { border: 0; }
.gh-content .tbl_head01 table, .gh-content .tbl_head01 thead th { border-top: 0 !important; }
#bo_v_info, #bo_v_top, #bo_v_atc, #bo_vc, #bo_vc_w, #bo_v_title, #bo_v_con, .bo_vc_w, #bo_w .write_div,
.gh-content .tbl_wrap, .gh-content .btn_confirm { border-color: var(--gb-line) !important; }
#bo_v_info { border-bottom: 1px solid var(--gb-line) !important; padding-bottom: 16px; }
#bo_vc { border-bottom: 0 !important; }
.gh-content .new_icon, .gh-content .bo_tit .new_icon { background: var(--gb-grad) !important; color: #fff !important; border: 0 !important; }
.gh-content .win_total, .new_win .win_total { background: transparent !important; color: inherit !important; }
#new_sch, .gh-content #new_sch { background: var(--gb-panel) !important; border: 0 !important; border-radius: var(--gb-r-lg); padding: 18px !important; }
#new_sch legend { position: absolute; left: -9999px; }
#new_sch form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
#new_sch p { width: 100%; margin: 8px 0 0; color: var(--gb-mute); font-size: 13px; text-align: center; }

/* ── 버튼: 회색 취소·흰 보조 버튼도 고스트로 ── */
.btn_b03, .btn_cancel, a.btn_cancel, .gh-content .btn_b03, #bo_w .btn_cancel, .write_div .btn_cancel,
.btn_confirm .btn_cancel, .btn_frmline, #bo_v_share .btn {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
    height: 46px; padding: 0 22px !important; border: 0 !important; border-radius: 999px !important;
    background: rgba(255, 255, 255, .06) !important; color: var(--gb-ink2) !important;
    box-shadow: inset 0 0 0 1.5px var(--gb-line2) !important; font-size: 14px !important; font-weight: 600; line-height: 1;
    text-decoration: none !important; cursor: pointer; }
.btn_b03:hover, .btn_cancel:hover, .btn_frmline:hover, #bo_v_share .btn:hover {
    background: rgba(255, 255, 255, .12) !important; color: #fff !important; box-shadow: inset 0 0 0 1.5px var(--gb-purple) !important; }
#bo_v_share .btn { height: 38px; padding: 0 16px !important; font-size: 13px !important; }
.btn_frmline { height: 46px; }
.btn_confirm, .btn_confirm.write_div { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 26px; }
.btn_confirm .btn_submit, .btn_confirm .btn_cancel { min-width: 140px; }
#bo_w .btn_submit { min-width: 160px; }

/* ── 체크박스 · 라디오 ── */
/* 1) 그누보드 커스텀(.chk_box: 숨긴 input + label span) */
.chk_box input[type=checkbox] + label, .chk_box input[type=radio] + label {
    display: inline-flex !important; align-items: center; gap: 8px; padding-left: 0 !important;
    color: var(--gb-ink2) !important; cursor: pointer; line-height: 1.5; }
.chk_box input[type=checkbox] + label span, .chk_box input[type=radio] + label span {
    position: relative !important; top: auto !important; left: auto !important; float: none !important; flex: none;
    width: 18px !important; height: 18px !important; margin: 0 !important;
    border: 1.5px solid var(--gb-line2) !important; border-radius: 5px !important; background: var(--gb-input) !important; }
.chk_box input[type=radio] + label span { border-radius: 50% !important; }
.chk_box input[type=checkbox]:checked + label span, .chk_box input[type=radio]:checked + label span {
    border-color: transparent !important; background: var(--gb-grad) !important; }
.chk_box input[type=checkbox]:checked + label span::after {
    content: ''; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px;
    border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.chk_box input[type=radio]:checked + label span::before { display: none !important; }
.chk_box input[type=radio]:checked + label span::after {
    content: ''; position: absolute; left: 4px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.chk_box input:focus-visible + label span { box-shadow: var(--gb-ring); }
.chk_box input[type=checkbox]:checked + label, .chk_box input[type=radio]:checked + label { color: #fff !important; }
/* 2) 맨 input (숨기지 않은 것) */
.gh-content input[type=checkbox], .gh-content input[type=radio], .mbskin input[type=checkbox], .new_win input[type=checkbox] {
    -webkit-appearance: none; appearance: none; position: relative; display: inline-block; flex: none;
    width: 18px; height: 18px; margin: 0 6px 0 0; vertical-align: -4px; cursor: pointer;
    border: 1.5px solid var(--gb-line2); border-radius: 5px; background: var(--gb-input); }
.gh-content input[type=radio] { border-radius: 50%; }
.gh-content input[type=checkbox]:checked, .gh-content input[type=radio]:checked,
.mbskin input[type=checkbox]:checked, .new_win input[type=checkbox]:checked { border-color: transparent; background: var(--gb-grad); }
.gh-content input[type=checkbox]:checked::after, .mbskin input[type=checkbox]:checked::after, .new_win input[type=checkbox]:checked::after {
    content: ''; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gh-content input[type=radio]:checked::after { content: ''; position: absolute; left: 4px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.gh-content input[type=checkbox]:focus-visible, .gh-content input[type=radio]:focus-visible { outline: none; box-shadow: var(--gb-ring); }

/* ── 필수 표시(빨간 별) 위치 다듬기 ── */
.gh-content .required, .gh-content textarea.required, .mbskin .required { background-position: right 10px top 8px !important; }

/* ── 파일 선택 ── */
.gh-content input[type=file], .new_win input[type=file] { color: var(--gb-mute); font-size: 14px; }
.gh-content input[type=file]::file-selector-button, .new_win input[type=file]::file-selector-button {
    height: 36px; margin-right: 12px; padding: 0 16px; border: 0; border-radius: 999px;
    background: rgba(255, 255, 255, .08); color: var(--gb-ink2); box-shadow: inset 0 0 0 1.5px var(--gb-line2);
    font-family: var(--gb-font); font-size: 13px; font-weight: 600; cursor: pointer; }
.gh-content input[type=file]::file-selector-button:hover { background: rgba(255, 255, 255, .14); color: #fff; }
#bo_w .bo_w_flie .file_wr { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; height: auto; min-height: 50px;
    padding: 7px 14px; border: 1px solid var(--gb-line2) !important; border-radius: var(--gb-r); background: var(--gb-input) !important; }
#bo_w .bo_w_flie .file_wr .lb_icon { position: static; height: auto; border: 0; background: none; color: var(--gb-mute); }
#bo_w .bo_w_flie .frm_file { flex: 1; min-width: 0; padding: 0; border: 0; background: none; height: auto; }
#bo_w .bo_w_flie, #bo_w .bo_w_link { width: 100%; }
#bo_w .bo_w_link label { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gb-mute2); }
#bo_w .bo_w_link { position: relative; }
#bo_w .bo_w_link .frm_input { padding-left: 42px; }
#bo_w .bo_w_tit { position: relative; }
#bo_w .bo_w_tit .frm_input { padding-right: 150px; }
#bo_w .bo_w_tit #btn_autosave { position: absolute; right: 6px; top: 6px; height: 34px; border-radius: 999px; padding: 0 14px; }
#bo_w .bo_w_tit #autosave_wrapper { display: block; position: relative; }
#bo_w .bo_v_option { margin-bottom: 12px; }

/* ── 캡차 ── */
#captcha { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px; }
#captcha #captcha_img { height: 46px !important; border: 0 !important; border-radius: 10px; background: #fff; }
#captcha #captcha_key { width: 120px !important; height: 46px !important; margin: 0 !important; padding: 0 12px !important;
    border: 1px solid var(--gb-line2) !important; border-radius: var(--gb-r) !important; background: var(--gb-input) !important;
    color: var(--gb-ink) !important; font-size: 18px !important; letter-spacing: .1em; }
#captcha #captcha_key:focus { border-color: var(--gb-cyan) !important; box-shadow: var(--gb-ring); outline: none; }
#captcha #captcha_mp3, #captcha #captcha_reload {
    width: 46px !important; height: 46px !important; border-radius: 50% !important; text-indent: 0 !important;
    background: rgba(255, 255, 255, .08) !important; box-shadow: inset 0 0 0 1.5px var(--gb-line2); color: var(--gb-ink2); font-size: 0; position: relative; }
#captcha #captcha_mp3::after, #captcha #captcha_reload::after {
    font: normal normal normal 16px/1 FontAwesome; color: var(--gb-ink2); position: absolute; inset: 0; display: grid; place-items: center; }
#captcha #captcha_mp3::after { content: '\f028'; }
#captcha #captcha_reload::after { content: '\f021'; }
#captcha #captcha_mp3:hover, #captcha #captcha_reload:hover { box-shadow: inset 0 0 0 1.5px var(--gb-purple); }
#captcha #captcha_info { width: 100%; margin: 2px 0 0 !important; color: var(--gb-mute); font-size: 13px !important; letter-spacing: 0 !important; }

/* ── 목록 툴바 (총 건수 · 검색 · 버튼) ── */
#bo_btn_top { display: flex !important; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 18px !important; float: none !important; }
#bo_btn_top::after { content: none !important; }
#bo_list_total { float: none !important; margin-right: auto; line-height: 1.4; }
#bo_btn_top .btn_bo_user { float: none !important; display: flex; gap: 8px; margin: 0 !important; }
#bo_btn_top .btn_bo_user .btn { width: 44px; height: 44px; padding: 0 !important; }
.gh-sch { display: flex; align-items: center; gap: 0; height: 44px; padding: 3px; border-radius: 999px;
    background: var(--gb-input); box-shadow: inset 0 0 0 1px var(--gb-line2); transition: box-shadow .15s; }
.gh-sch:focus-within { box-shadow: inset 0 0 0 1px var(--gb-cyan), var(--gb-ring); }
.gh-sch select, .gh-content .gh-sch select {
    height: 38px !important; width: auto; max-width: 130px; padding: 0 28px 0 14px !important; border: 0 !important; border-radius: 999px !important;
    background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23a7a9cf'/%3E%3C/svg%3E") no-repeat right 12px center !important;
    color: var(--gb-ink2) !important; font-size: 13px !important; box-shadow: none !important; cursor: pointer; }
.gh-sch select option { background: #15183a; color: #f3f2ff; }
.gh-sch input[type=search], .gh-content .gh-sch input[type=search] {
    width: 220px; height: 38px !important; padding: 0 12px !important; border: 0 !important; background: transparent !important;
    color: var(--gb-ink) !important; font-size: 14px !important; box-shadow: none !important; }
.gh-sch input[type=search]::-webkit-search-cancel-button { filter: invert(1) opacity(.6); }
.gh-sch-btn { display: grid; place-items: center; flex: none; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
    background: var(--gb-grad); color: #fff; font-size: 14px; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(255, 79, 163, .6); }
.gh-sch-btn:hover { filter: brightness(1.08); }
.gh-sch-reset { margin: 0 8px 0 6px; color: var(--gb-mute) !important; font-size: 12px; white-space: nowrap; text-decoration: none; }
.gh-sch-reset:hover { color: #fff !important; }
#gh_fsearch { display: none; }
@media (max-width: 700px) {
    #bo_list_total { width: 100%; margin-right: 0; }
    .gh-sch { flex: 1; min-width: 0; }
    .gh-sch input[type=search] { flex: 1; width: auto; min-width: 0; }
    .gh-sch select { max-width: 96px; }
}

/* ── 로그인 · 회원 확인 · 글 비밀번호 (사이트 안 카드) ── */
.gh-content #mb_login, .gh-content #mb_confirm, .gh-content #pw_confirm {
    max-width: 460px; margin: 6px auto 10px; padding: 34px 32px 30px; border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
    box-shadow: inset 0 0 0 1px var(--gb-line2), 0 24px 50px -28px rgba(0, 0, 0, .8); text-align: left; }
.gh-content #mb_login .mbskin_box { padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.gh-content .mbskin::before, .gh-content .mbskin_box::before { content: none !important; display: none !important; }
.gh-auth-hd { text-align: center; margin-bottom: 24px; }
.gh-auth-hd .gh-logo-mark { margin: 0 auto 14px; transform: scale(1.25); }
.gh-auth-hd h2 { margin: 0 0 6px; font-family: var(--gh-head, var(--gb-head)); font-size: 24px; color: #fff; }
.gh-auth-hd p { margin: 0; color: var(--gb-mute); font-size: 14px; }
.gh-content #mb_login .frm_input { width: 100%; height: 50px; margin: 0 0 10px; font-size: 15px; }
.gh-content #mb_login .btn_submit { width: 100%; height: 52px; margin: 6px 0 0; font-size: 16px; }
.gh-content #login_info { margin: 18px 0 0; padding: 0; }
.gh-content #login_info .login_if_lpl a { color: var(--gb-mute) !important; font-size: 14px; }
.gh-content #login_info .login_if_lpl a:hover { color: #fff !important; }
.gh-auth-alt { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--gb-line); color: var(--gb-mute); font-size: 14px; text-align: center; }
.gh-auth-alt a { margin-left: 6px; color: var(--gb-cyan) !important; font-weight: 700; text-decoration: none; }
.gh-auth-alt a:hover { color: #fff !important; }
.gh-content #mb_confirm h1, .gh-content #pw_confirm h1 { margin: 0 0 8px; font-family: var(--gh-head, var(--gb-head)); font-size: 22px; color: #fff; text-align: center; }
.gh-content #mb_confirm p, .gh-content #pw_confirm p { text-align: center; }
.gh-content #mb_confirm .btn_submit, .gh-content #pw_confirm .btn_submit { width: 100%; height: 50px; }
.gh-content #mb_confirm .frm_input, .gh-content #pw_confirm .frm_input { width: 100% !important; height: 50px; }
@media (max-width: 600px) {
    .gh-content #mb_login, .gh-content #mb_confirm, .gh-content #pw_confirm { padding: 26px 18px 22px; border-radius: 18px; }
}

/* ── 회원가입 약관 · 입력폼 카드 ── */
.register, #register_form, .gh-content .register { max-width: 880px; margin: 0 auto; }
.register_form_inner, .gh-content .register_form_inner, #fregister_term, #fregister_private, .fregister_terms, #fregister section {
    border: 0 !important; border-radius: 18px !important; overflow: hidden;
    background: rgba(255, 255, 255, .03) !important; box-shadow: inset 0 0 0 1px var(--gb-line2); margin-bottom: 18px; }
.register_form_inner h2, #fregister section h2, #fregister_term h2, #fregister_private h2 {
    margin: 0 !important; padding: 18px 24px !important; border: 0 !important; border-bottom: 1px solid var(--gb-line) !important;
    background: rgba(255, 255, 255, .03) !important; color: #fff !important; font-size: 16px !important; }
.register_form_inner ul { padding: 22px 24px 8px !important; margin: 0 !important; }
.register_form_inner ul > li { margin-bottom: 18px !important; }
.register_form_inner label:not(.inline):not(.sound_only) { display: block; margin-bottom: 8px !important; color: var(--gb-ink2) !important; font-weight: 700; font-size: 14px; line-height: 1.5 !important; }
.register_form_inner .half_input { width: calc(50% - 6px) !important; }
.register_form_inner .left_input { margin-right: 12px !important; }
.register_form_inner .frm_input { height: 48px; }
.register_form_inner .tooltip_icon { width: 24px; height: 24px; vertical-align: -6px; margin-left: 4px; background: rgba(255, 255, 255, .08) !important; color: var(--gb-mute) !important; }
.register_form_inner .tooltip { padding: 10px 14px !important; border-radius: 10px !important; background: #0b0d22 !important; color: var(--gb-ink2) !important;
    box-shadow: inset 0 0 0 1px var(--gb-line2), 0 14px 30px -12px rgba(0, 0, 0, .7); }
.register_form_inner .tooltip::before, .register_form_inner .tooltip::after { display: none !important; }
.register_form_inner .chk_box, .register_form_inner .chk_li { color: var(--gb-ink2); }
#fregister section { position: relative; }
#fregister section .fregister_agree { position: absolute; top: 16px; right: 20px; margin: 0 !important; }
#fregister_term textarea, #fregister section textarea { width: 100%; height: 170px; margin: 0; border: 0 !important; border-radius: 0 !important;
    background: transparent !important; padding: 18px 24px !important; color: var(--gb-mute) !important; }
.fregister_terms { padding: 18px 24px; }
.fregister_terms .tbl_head01 { margin: 0; }
.fregister_terms table { border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--gb-line); }
.fregister_terms th, .fregister_terms td { border-color: var(--gb-line) !important; }
#fregister_chkall { padding: 18px 24px !important; border-radius: 18px !important; background: var(--gb-head-bg) !important; box-shadow: inset 0 0 0 1px rgba(164, 107, 255, .45); border: 0 !important; }
.register > p:first-child, #fregister > p { border-radius: 14px !important; border: 0 !important; background: rgba(255, 79, 163, .14) !important;
    color: #ffd2e7 !important; box-shadow: inset 0 0 0 1px rgba(255, 79, 163, .35); padding: 14px 18px !important; font-size: 14px !important; }
#fregisterform .btn_confirm, .register .btn_confirm { flex-direction: row-reverse; justify-content: center; }
#fregisterform .btn_confirm .btn_submit, .register .btn_confirm .btn_submit, .register .btn_confirm .btn_cancel,
#fregisterform .btn_confirm .btn_cancel { width: auto !important; min-width: 180px; margin: 0 !important; }
@media (max-width: 600px) {
    .register_form_inner .half_input { width: 100% !important; margin-right: 0 !important; margin-bottom: 10px; }
    .register_form_inner ul { padding: 18px 16px 4px !important; }
    .register_form_inner h2, #fregister section h2 { padding: 16px !important; }
    #fregister section .fregister_agree { top: 14px; right: 14px; }
    #fregisterform .btn_confirm .btn_submit, .register .btn_confirm .btn_submit, .register .btn_confirm .btn_cancel,
    #fregisterform .btn_confirm .btn_cancel { min-width: 0; flex: 1; }
}

/* ── 글보기 · 댓글 다듬기 ── */
#bo_v_share { margin: 0 0 6px; }
.cmt_btn { width: 100%; justify-content: flex-start; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .04) !important;
    box-shadow: inset 0 0 0 1px var(--gb-line); color: var(--gb-ink) !important; }
.cmt_btn span.total { font-weight: 700; }
.cmt_btn .cmt_more { display: none; }
.cmt_btn::after, .cmt_btn span::after { border-color: transparent !important; background: none !important; }
#bo_vc_w .bo_vc_w_wr { justify-content: flex-end; }
#bo_vc_w .btn_confirm { margin-top: 0; }

/* ── v2 보정: 좁은 폼은 카드 가운데 · 버튼 순서/폭 · 표 아래 줄 · 검색어 강조 ── */
.gh-main.is-sub .gh-content > .register { margin-left: max(40px, calc((100% - 880px) / 2)); margin-right: max(40px, calc((100% - 880px) / 2)); max-width: none; }
.gh-main.is-sub .gh-content > .dm-w { margin-left: max(40px, calc((100% - 920px) / 2)) !important; margin-right: max(40px, calc((100% - 920px) / 2)) !important; max-width: none; }
.gh-main.is-sub .gh-content > #find_info, .gh-main.is-sub .gh-content > #pw_reset { margin-left: max(40px, calc((100% - 640px) / 2)); margin-right: max(40px, calc((100% - 640px) / 2)); max-width: none; }
.gh-main.is-sub .gh-content > #reg_result { margin-left: max(40px, calc((100% - 600px) / 2)); margin-right: max(40px, calc((100% - 600px) / 2)); max-width: none; }
@media (max-width: 960px) {
    .gh-main.is-sub .gh-content > .register, .gh-main.is-sub .gh-content > .dm-w, .gh-main.is-sub .gh-content > #find_info,
    .gh-main.is-sub .gh-content > #pw_reset, .gh-main.is-sub .gh-content > #reg_result { margin-left: 18px !important; margin-right: 18px !important; }
}
@media (max-width: 600px) {
    .gh-main.is-sub .gh-content > .register, .gh-main.is-sub .gh-content > .dm-w, .gh-main.is-sub .gh-content > #find_info,
    .gh-main.is-sub .gh-content > #pw_reset, .gh-main.is-sub .gh-content > #reg_result { margin-left: 12px !important; margin-right: 12px !important; }
}
#fregisterform .btn_confirm, .register .btn_confirm { flex-direction: row !important; }
#fregisterform .btn_confirm > *, .register .btn_confirm > * { flex: 0 1 220px !important; width: auto !important; min-width: 0 !important; margin: 0 !important; height: 52px !important; }
.btn_confirm .btn_close, .btn_confirm .btn_cancel { order: -1; }
.gh-content .tbl_head01 table, .gh-content .tbl_head01 { border-bottom: 0 !important; }
.gh-content .sch_word { padding: 0 2px; border-radius: 4px; background: rgba(255, 79, 163, .28) !important; color: #fff !important; }

/* ── v2 보정 2: 댓글 줄 · 제목칸 별표 · 새글/접속자 칸 ── */
#bo_vc article, #bo_vc article[id^="c_"] { border-bottom: 0 !important; border-top: 1px solid var(--gb-line) !important; }
#bo_vc { border-bottom: 1px solid var(--gb-line) !important; padding-bottom: 6px; }
#bo_w #wr_subject { background-image: none !important; }
#new_sch select, #new_sch input, #new_sch .frm_input { height: 44px !important; border: 1px solid var(--gb-line2) !important; border-radius: var(--gb-r) !important;
    background-color: var(--gb-input) !important; color: var(--gb-ink) !important; }
#new_sch select option, .gh-content select option { background: #15183a; color: #f3f2ff; }
#new_sch .btn_submit, #new_sch button { height: 44px !important; }
#current_connect ul, #current_connect li, .gh-content #current_connect li { border-color: var(--gb-line) !important; background: transparent !important; }
#current_connect li { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--gb-line); }
#current_connect .crt_name, #current_connect .crt_lct a { color: var(--gb-ink) !important; }
#current_connect .crt_num { color: var(--gb-mute) !important; }

/* ── v2 보정 3: 모바일 목록 카드형 · 로그인 카드 평탄화 · 캡차 제목 숨김 ── */
#captcha legend { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0); margin: 0 !important; padding: 0 !important; }
@media (max-width: 700px) {
    #bo_list .tbl_head01.tbl_wrap { overflow: visible; }
    #bo_list .tbl_head01 table { min-width: 0 !important; }
    #bo_list .tbl_head01 thead { display: none; }
    #bo_list .tbl_head01 tbody tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 14px 4px; border-bottom: 1px solid var(--gb-line); }
    #bo_list .tbl_head01 tbody td { display: block; padding: 0 !important; border: 0 !important; text-align: left !important; height: auto !important; background: none !important; }
    #bo_list .tbl_head01 tbody td.td_subject { order: -1; width: 100%; font-size: 15px; }
    #bo_list .tbl_head01 tbody td.td_num2 { display: none; }
    #bo_list .tbl_head01 tbody td.td_name, #bo_list .tbl_head01 tbody td.td_num, #bo_list .tbl_head01 tbody td.td_datetime { font-size: 12.5px; color: var(--gb-mute2) !important; }
    #bo_list .tbl_head01 tbody td.td_num::before { content: '조회 '; }
    #bo_list .tbl_head01 tbody td.td_chk { order: -2; }
    #bo_list .tbl_head01 tbody td.empty_table { width: 100%; text-align: center !important; padding: 36px 0 !important; }
    #bo_list .tbl_head01 tbody tr:hover td { background: none !important; }
}
@media (max-width: 600px) {
    .gh-content #mb_login, .gh-content #mb_confirm, .gh-content #pw_confirm { padding: 10px 6px 4px; background: none; box-shadow: none; }
}

/* ── v2 보정 4: 갤러리 폭 · 통합검색 입력칸 ── */
.gh-content #bo_gall { width: auto !important; }
#sch_res_detail select, #sch_res_detail input, #sch_res_detail .frm_input, #sch_frm select, #sch_frm input, #sch_frm .frm_input, #sch_frm .select { height: 46px !important; border: 1px solid var(--gb-line2) !important; border-radius: var(--gb-r) !important;
    background-color: var(--gb-input) !important; color: var(--gb-ink) !important; }
#sch_res_detail, #sch_frm, .gh-content #sch_frm { background: var(--gb-panel) !important; border: 0 !important; border-radius: var(--gb-r-lg); }
#sch_res_detail .sch_wr, #sch_frm .sch_wr { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
#sch_frm .sch_wr .btn_submit, #sch_frm button { height: 46px !important; }
#sch_res_detail { padding: 18px !important; margin-bottom: 18px; }
#sch_res_detail legend { position: absolute; left: -9999px; }
#sch_res_detail .frm_input { width: min(300px, 100%) !important; }
#sch_res_detail .sch_rd { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 12px; color: var(--gb-mute); }
#bo_w .bo_v_option { padding-left: 0 !important; margin-left: 0 !important; }
#bo_w .bo_w_link label { left: 16px; }
#bo_w .bo_w_link .frm_input { padding-left: 48px !important; }

/* ── v2 보정 5: 약관 동의 화면 ── */
#fregister > p { height: auto !important; line-height: 1.6 !important; text-align: left !important; font-weight: 600 !important; display: flex; gap: 8px; align-items: flex-start; }
#fregister > p::before { content: none !important; }
#fregister > p i { margin-top: 3px; color: #ff73b1; }
#fregister section { margin: 0 0 18px !important; }
#fregister section h2 { padding-right: 64px !important; }
.fregister_terms { padding: 0 !important; }
.fregister_terms > div { padding: 18px 24px !important; background: transparent !important; overflow-x: auto; }
.fregister_terms table th { width: auto !important; color: var(--gb-mute) !important; background: rgba(255, 255, 255, .05) !important; }
.fregister_terms table td { color: var(--gb-ink2) !important; border-top: 1px solid var(--gb-line) !important; }
#fregister_chkall { position: relative !important; top: auto !important; right: auto !important; display: flex !important; justify-content: center; line-height: 1.5 !important; }
#fregister_chkall label { font-weight: 700; color: #fff !important; }
@media (max-width: 600px) {
    #fregisterform .btn_confirm > *, .register .btn_confirm > * { flex: 1 1 0 !important; }
    #fregister section h2 { padding: 16px 56px 16px 16px !important; font-size: 15px !important; }
    #fregister textarea { padding: 14px 16px !important; }
    .fregister_terms > div { padding: 14px 16px !important; }
    .fregister_terms table { font-size: 12.5px !important; }
    .fregister_terms table th, .fregister_terms table td { padding: 8px !important; }
}
#fregister section .fregister_agree { top: 0 !important; height: 57px; display: flex !important; align-items: center; }
#fregister section .fregister_agree label { margin: 0 !important; }
@media (max-width: 600px) { #fregister section .fregister_agree { height: 52px; } }

/* ==========================================================================
   내 포인트 (point.skin.php — 사이트 안, 10-22)
   ========================================================================== */
.gh-content .gh-pt { color: var(--gb-ink); }
.gh-main.is-sub .gh-content > .gh-pt { margin-left: max(40px, calc((100% - 1000px) / 2)); margin-right: max(40px, calc((100% - 1000px) / 2)); }
.gh-pt-sum { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr); gap: 14px; margin-bottom: 22px; }
.gh-pt-have { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 24px 26px; border-radius: 18px;
    background: radial-gradient(120% 140% at 0% 0%, rgba(255, 207, 63, .22), transparent 60%), linear-gradient(135deg, rgba(255, 79, 163, .16), rgba(54, 212, 255, .1));
    box-shadow: inset 0 0 0 1px rgba(255, 207, 63, .35); }
.gh-pt-lbl { display: inline-flex; align-items: center; gap: 8px; color: #ffe39a; font-size: 14px; font-weight: 700; }
.gh-pt-lbl .gh-coin { width: 18px; height: 18px; }
.gh-pt-have strong { font-family: var(--gh-disp, var(--gb-head)); font-size: clamp(32px, 4.4vw, 46px); line-height: 1.05; color: #fff; letter-spacing: -.01em; }
.gh-pt-have strong small { margin-left: 4px; font-size: .45em; color: #ffcf3f; }
.gh-pt-who { color: var(--gb-mute); font-size: 13px; }
.gh-pt-page { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.gh-pt-page > div { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--gb-line); }
.gh-pt-page dt { color: var(--gb-mute); font-size: 13px; }
.gh-pt-page dd { margin: 0; font-family: var(--gb-head); font-size: 22px; font-weight: 800; color: #fff; }
.gh-pt-page dd.is-plus, .gh-pt-list li.is-plus .gh-pt-num { color: #4fe0a0; }
.gh-pt-page dd.is-minus, .gh-pt-list li.is-minus .gh-pt-num { color: #ff7ab8; }
.gh-pt-list { border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--gb-line2); }
.gh-pt-list ul { margin: 0; padding: 0; list-style: none; }
.gh-pt-hd, .gh-pt-list li { display: grid; grid-template-columns: minmax(0, 1fr) 150px 140px 120px; align-items: center; gap: 12px; padding: 0 22px; }
.gh-pt-hd { height: 48px; background: rgba(255, 255, 255, .05); border-bottom: 1px solid var(--gb-line2); color: var(--gb-mute); font-size: 13px; font-weight: 700; }
.gh-pt-hd span:last-child, .gh-pt-num { text-align: right; }
.gh-pt-list li { min-height: 58px; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--gb-line); }
.gh-pt-list li:last-child { border-bottom: 0; }
.gh-pt-list li:hover { background: rgba(255, 255, 255, .03); }
.gh-pt-tit { color: var(--gb-ink); font-size: 14.5px; overflow-wrap: anywhere; }
.gh-pt-date, .gh-pt-exp { color: var(--gb-mute2); font-size: 13px; }
.gh-pt-num { font-family: var(--gb-head); font-size: 16px; font-weight: 800; white-space: nowrap; }
.gh-pt-list li.is-expired .gh-pt-num { color: var(--gb-mute2) !important; text-decoration: line-through; }
.gh-pt-list li.is-expired .gh-pt-exp { color: #ff9f9f; }
.gh-pt-empty { margin: 0; padding: 48px 20px; color: var(--gb-mute); text-align: center; }
.gh-pt .pg_wrap { margin-top: 22px; }
.gh-pt-note { margin: 18px 0 0; color: var(--gb-mute2); font-size: 12.5px; text-align: center; }
@media (max-width: 960px) {
    .gh-main.is-sub .gh-content > .gh-pt { margin-left: 18px; margin-right: 18px; }
    .gh-pt-sum { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .gh-main.is-sub .gh-content > .gh-pt { margin-left: 12px; margin-right: 12px; }
    .gh-pt-have { padding: 20px; }
    .gh-pt-page > div { padding: 14px 10px; text-align: center; }
    .gh-pt-page dd { font-size: 17px; }
    .gh-pt-hd { display: none; }
    .gh-pt-list li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tit num" "meta meta"; gap: 4px 10px; padding: 14px 16px; }
    .gh-pt-tit { grid-area: tit; }
    .gh-pt-num { grid-area: num; }
    .gh-pt-date { grid-area: meta; }
    .gh-pt-exp { grid-area: meta; justify-self: end; }
    .gh-pt-exp::before { content: '유효 '; }
}
.gh-nav-me { text-decoration: none; }
@media (max-width: 600px) { .gh-pt-pg { display: none; } .gh-pt-list li.is-minus .gh-pt-exp { display: none; } }
