/* MONEY(2026-10-29) · 충전/환전 = 기존 사이트(cs-105) 「충전신청 / 환전신청」 모양 — app-skin.css S7 표 스타일 위에 덮어쓰기.
   동작(신청·쿠폰·PIN·P2P·USDT·롤링·원화 지급)은 마크업 그대로 — 모양만. 하단 「나의 충전/환전내역」 = History 임베드(embed_history).
   색 = 원본 축: 바탕 #121212 · 칸 #1a1a1a · 금 테두리 #9c8555 · 금 글자 #cfa968 · 안내 주황 #f3b33d · 버튼 남색 #1f2a6b(모바일 신청 = 금 #d9b46b). */

/* ── 충환전 머리(MoneySurfaceTabs — sk_sp_* 관용구) · 구 충전/환전/내역 탭 줄 대체 ── */
.sk_app .money_head { margin-bottom: 14px; }
.sk_app .hist_filter_lbl { margin: 0 0 8px; padding: 0 4px; font-size: 14px; font-weight: 700; color: #b2985f; }

/* ── 계좌(방식) 탭 = 원본 「가상문의 / 상품권문의 / USDT 테더 충전」 넓은 탭 ── */
.sk_app .charge_form_container .method_tabs { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 0; margin: 0 0 14px; }
.sk_app .charge_form_container .method_tab { height: 40px; padding: 0 6px; border: 1px solid #333; border-right-width: 0; background: #242424; font-size: 13px; font-weight: 500; color: #cfcfcf; cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sk_app .charge_form_container .method_tab:last-child { border-right-width: 1px; }
.sk_app .charge_form_container .method_tab.active { position: relative; z-index: 1; background: #121212; border: 1px solid #f8c853; color: #f8c853; font-weight: 700; }

/* ── 표 행 — 라벨 = 원본 금/주황 글자 ── */
.sk_app .charge_form_container .form_label { color: #f3b33d; }
.sk_app .charge_form_container .form_label.required::after { content: ""; }

/* 충전 = 원본 ①②③ 단계 번호(보이는 행만 — hidden/display:none 행은 번호를 건너뛴다). 환전(wd_grid)은 번호 없음.
   2026-11-02 시안 · 번호 = 모바일 시안에만 있다(PC 시안 = 번호 없는 평면 표) → 모바일 한정. */
@media (max-width: 1023.98px) {
.sk_app .charge_section_wrapper:not(.wd_grid) .charge_form_container form { counter-reset: step; }
.sk_app .charge_section_wrapper:not(.wd_grid) .charge_form_container .form_row .form_label::before {
    counter-increment: step; content: counter(step);
    display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%;
    background: #f8c853; font-size: 12px; font-weight: 700; color: #121212; vertical-align: 1px; }
}

/* 라벨 = 한 줄 고정(지시 — 줄바꿈 금지). 모바일 라벨 기둥 84px → 116px(「빠른계좌문의」+번호 원이 한 줄에 들어가는 폭). */
.sk_app .charge_form_container .form_label { white-space: nowrap !important; }
@media (max-width: 1023.98px) {
    .sk_app .charge_form_container .form_row { grid-template-columns: 116px minmax(0, 1fr); }
    .sk_app .charge_section_wrapper.wd_grid .charge_form_container .form_row { grid-template-columns: 104px minmax(0, 1fr); }
    .sk_app .charge_form_container .form_label_area { padding: 10px 8px; }
}

/* ── 충전유형 = ceo 관용구 세로 카드 2줄(ct_lines) — 1줄 유형명 + 보너스 n%(금) / 2줄 롤링·조건(회색) · 선택 = 금 테두리 ── */
.sk_app .ct_lines .charge_type_list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sk_app .ct_lines .charge_type_list > li { padding: 0; border: 0; }
/* ⚠️ 선택 칸 = 어두운 금빛 바탕 + 밝은 글자 고정(!important) — 구 규칙(layout.css 보라 #84438f · app-skin 금 바탕+검정 글자)이 섞이면 글씨가 묻혔다(지시 2026-10-29). */
.sk_app .ct_lines .charge_type_item { border: 1px solid #2f2f2f !important; border-radius: 0 !important; background: #1a1a1a !important; }
.sk_app .ct_lines .charge_type_item.selected { border-color: #f8c853 !important; background: linear-gradient(180deg, #2b2618 0%, #211d13 100%) !important; box-shadow: inset 0 0 0 1px rgba(248,200,83,.12); }
.sk_app .ct_lines .charge_type_item.selected .type_line1 { color: #e6e2d8 !important; }
.sk_app .ct_lines .charge_type_item.selected .type_line2 { color: #bdb6a4 !important; }
.sk_app .ct_lines .radio_container { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 12px; min-height: 0; }
.sk_app .ct_lines .radio_container .checkmark { flex: none; width: 16px; height: 16px; margin: 0; background: #101010; border: 1px solid #9c8555; }
.sk_app .ct_lines .radio_container input:checked ~ .checkmark { background: #101010; border-color: #f8c853; }
.sk_app .ct_lines .radio_container .checkmark:after { width: 8px; height: 8px; background: #f8c853; }
.sk_app .ct_lines .type_lines { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sk_app .ct_lines .type_line1 { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 13px; color: #cfcfcf; }
.sk_app .ct_lines .type_line1 b { color: #fff; font-weight: 700; }
.sk_app .ct_lines .charge_type_item.selected .type_line1 b { color: #f8c853 !important; }
.sk_app .ct_lines .tl_pct { color: #f8c853; font-weight: 800; }
.sk_app .ct_lines .tl_muted { color: #8a8a8a; }
.sk_app .ct_lines .type_line2 { font-size: 12px; color: #9a9a9a; }
.sk_app .ct_lines .tl_range { color: #f3b33d; }
@media (max-width: 1023.98px) {
    .sk_app .ct_lines .radio_container { padding: 8px 10px; }
    .sk_app .ct_lines .type_line1 { font-size: 12px; }
    .sk_app .ct_lines .type_line2 { font-size: 11px; }
}

/* 입력 = 원본 금 테두리 */
.sk_app .charge_form_container .form_control:not(.readonly_text) { background: #1a1a1a; border: 1px solid #9c8555; color: #fff; }
.sk_app .charge_form_container .form_control:not(.readonly_text):focus { border-color: #f8c853; outline: none; }

/* 안내 문구 = 원본 주황 */
.sk_app .charge_form_container .amount_notice { color: #f3b33d; }

/* 계좌 확인 결과(구 밝은 파랑 상자) → 어두운 금 테두리 */
.sk_app .charge_form_container .acct-reveal { background: #1a1a1a; border: 1px solid #9c8555; color: #fff; }

/* ── 금액 버튼 = 원본 테두리형(금 테두리 · 금 글자) / 정정하기 = 남색 ── */
.sk_app .charge_form_container .btn_amt { background: transparent; border: 1px solid #9c8555; border-radius: 0; color: #cfa968; font-weight: 500; }
.sk_app .charge_form_container .btn_amt:hover { filter: none; background: rgba(156,133,85,.15); }
.sk_app .charge_form_container .btn_amt.reset { background: #1f2a6b; border-color: #1f2a6b; color: #fff; font-weight: 700; }
.sk_app .charge_form_container .btn_amt.pin_del { color: #fff; }

/* ── 신청 버튼 = 원본 남색(입금신청 · 환전요청) / 모바일 = 금색 전폭 ── */
.sk_app .charge_form_container .submit_area .btn_submit_charge,
.sk_app .charge_form_container .submit_area .btn_submit_charge.btn_submit_exchange {
    min-width: 100px; max-width: none; width: auto; padding: 9px 28px; border: 1px solid #1f2a6b !important; border-radius: 0;
    background: #1f2a6b !important; font-size: 14px; font-weight: 700; color: #fff !important; }
.sk_app .charge_form_container .submit_area .btn_submit_charge:disabled { opacity: .55; }

@media (max-width: 1023.98px) {
    .sk_app .charge_form_container .submit_area { margin-top: 14px; }
    .sk_app .charge_form_container .submit_area .btn_submit_charge,
    .sk_app .charge_form_container .submit_area .btn_submit_charge.btn_submit_exchange {
        width: 100%; height: 44px; padding: 0; border-color: #d9b46b !important; background: linear-gradient(to bottom, #e2c27c 0%, #c9a159 100%) !important;
        font-size: 15px; color: #1a1306 !important; }
    /* 원본 모바일 = 금액 버튼 3열 · 정정하기 한 줄 전폭 */
    .sk_app .charge_form_container .money_btn_grid .btn_amt.reset { grid-column: 1 / -1; }
}

/* ── 환전 = 원본처럼 주의사항(안내)을 PC 에서도 폼 위 한 열로 ── */
@media (min-width: 1024px) {
    .sk_app .charge_section_wrapper.wd_grid { display: flex !important; flex-direction: column; gap: 14px; }
    .sk_app .charge_section_wrapper.wd_grid { align-items: stretch !important; }
    .sk_app .charge_section_wrapper.wd_grid > * { box-sizing: border-box; width: 100% !important; max-width: none !important; }
    .sk_app .charge_section_wrapper.wd_grid > .wd_aside { order: -1; }
}

/* ── 하단 「나의 충전/환전내역」(History 임베드) = 원본 표(머리줄 #252525 · 위 금선) ── */
.sk_app .embed_history .history_table { width: 100%; border-collapse: collapse; border-top: 2px solid #9c8555; background: transparent; }
.sk_app .embed_history .history_table th { height: 34px; background: #252525; font-size: 13px; font-weight: 700; color: #fff; border: 0; }
.sk_app .embed_history .history_table td { height: 34px; border: 0; border-bottom: 1px solid #2a2a2a; background: transparent; font-size: 12px; color: #ddd; }
.sk_app .embed_history .history_table tbody tr:hover td { background: #1a1a1a; }

/* =====================================================================
   MONEY-SAMPLE(2026-11-02 지시) · 충전/환전 = 고객 시안(PC·모바일) 재정합 — 모양만(동작·마크업 분기 무접촉).
   · 판(패널) 배경 제거 = 사이트 바탕(#191919) 그대로 — 구 #171717/#1c1c1c/남색 판은 우측 열·바깥과 색이 달랐다.
   · 머리 = 화면 제목(h2) + 평탄 탭(마이페이지 탭 관용구 · 선택 = 금 테두리 · 금 글자).
   · 표 = 위·행 구분선 #292828 · 라벨 금 글자 · 라벨 기둥 바탕 없음.
   · PC = 금 테두리 금액 버튼 · 남색 신청 버튼 / 모바일 = 라벨 위·내용 아래(단계 번호) · 금액 3열 · 금색 전폭 신청 버튼.
   ===================================================================== */

/* ── 머리(MoneySurfaceTabs) ── */
.sk_app .sk_sp_head.money_head { margin: 0 0 20px; }
.sk_app .money_head .money_tit { position: relative; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 20px; }
.sk_app .money_head .money_tit h2 { margin: 0; color: #fff; font-size: 25px; font-weight: 700; line-height: 25px; }
.sk_app .money_head .money_tit .vm-dd-wrap { position: relative; }
.sk_app .money_head .sk_sp_tabs { gap: 1px !important; padding-top: 0 !important; }
.sk_app .money_head .sk_sp_tab {
    min-height: 34px; padding: 0 4px !important; border: 1px solid transparent !important; border-radius: 0 !important;
    background: #292828 !important; box-shadow: none !important; }
.sk_app .money_head .sk_sp_tab::after { content: none !important; }
.sk_app .money_head .sk_sp_tab b { color: #fff !important; font-size: 13px; font-weight: 400 !important; }
.sk_app .money_head .sk_sp_tab.on,
.sk_app .money_head .sk_sp_tab:hover { background: #121212 !important; }
.sk_app .money_head .sk_sp_tab.on b,
.sk_app .money_head .sk_sp_tab:hover b { color: #f8c853 !important; }

/* ── 판 배경 제거 + 영역 전폭 ── */
.sk_app .charge_section_wrapper { padding: 0; border: 0; background: transparent; box-shadow: none; }
.sk_app .charge_section_wrapper .charge_form_container { max-width: none; padding: 0; border: 0; border-top: 1px solid #292828; background: transparent; }
.sk_app .charge_form_container .form_row { border-bottom: 1px solid #292828; }
.sk_app .charge_form_container .form_row:last-child { border-bottom: 1px solid #292828; }
.sk_app .charge_form_container .form_label_area { background: transparent; border-right: 0; }
.sk_app .charge_form_container .form_label { color: #f8c853; font-weight: 400; }
.sk_app .charge_type_section { border-bottom-color: #292828; }
.sk_app .charge_section_wrapper .spacer_v { border: 0; background: transparent; padding: 0; }
.sk_app .charge_section_wrapper .fee_notice_box { background: transparent; }
.sk_app .history_table_container { background: transparent; }

/* 방식 탭 = 머리 탭과 같은 평탄 칸(표 위 · 표 테두리 안쪽 아님) */
/* 2026-11-02 지시 · 4개까지 한 줄에 다 보이고(칸 = 1/4 이상) 5개부터 좌우 스크롤 · 모서리 둥글림 없음 */
.sk_app .charge_form_container .method_tabs { padding: 0; margin: 0 0 14px; border: 0; background: transparent; gap: 1px;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(calc((100% - 3px) / 4), 1fr);
    overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.sk_app .charge_form_container .method_tab { min-width: 0; height: 34px; border: 1px solid transparent !important; border-radius: 0; background: #292828; color: #fff; font-weight: 400; }
.sk_app .charge_form_container .method_tab.active { background: #121212; border-color: #f8c853 !important; color: #f8c853; font-weight: 400; }

/* 신청 버튼 줄 = 표 아래 가운데 */
.sk_app .charge_form_container .submit_area { margin-top: 20px; text-align: center; }

/* 정정하기(입력 옆) = 모바일 시안 전용 — PC 는 금액 버튼 줄 끝의 정정하기 그대로 */
.sk_app .charge_form_container .input_group .btn_amt.reset_inline { display: none; }

@media (min-width: 1024px) {
    .sk_app .charge_form_container .form_row { grid-template-columns: 150px minmax(0, 1fr); }
    .sk_app .charge_form_container .form_label_area { padding: 12px 20px 12px 4px; text-align: right; align-items: flex-end; }
    .sk_app .charge_form_container .form_input_area { padding: 10px 0; }
    .sk_app .charge_form_container .money_btn_grid { display: flex; flex-wrap: wrap; gap: 4px; }
    .sk_app .charge_form_container .money_btn_grid .btn_amt { flex: 0 0 auto; min-width: 100px; padding: 6px 10px; font-size: 13px; }
    .sk_app .charge_form_container .submit_area .btn_submit_charge,
    .sk_app .charge_form_container .submit_area .btn_submit_charge.btn_submit_exchange {
        min-width: 150px; padding: 8px 30px; background: #1b2253 !important; border-color: #1b2253 !important; font-weight: 400; }
}

@media (max-width: 1023.98px) {
    .sk_app .money_head .money_tit h2 { font-size: 23px; }
    .sk_app .sk_sp_head.money_head { margin-bottom: 14px; }
    /* 모바일 시안 = 라벨(단계 번호) 위 · 내용 아래 한 칸씩 */
    .sk_app .charge_form_container .form_row,
    .sk_app .charge_section_wrapper.wd_grid .charge_form_container .form_row { display: block; }
    .sk_app .charge_form_container .form_label_area { padding: 14px 0 8px; }
    .sk_app .charge_form_container .form_label { font-size: 14px; }
    .sk_app .charge_form_container .form_input_area { padding: 0 0 14px; }
    /* 금액 = 입력 + 정정하기 한 줄 / 아래 금액 버튼 3열 2줄 */
    .sk_app .charge_form_container .input_group .btn_amt.reset_inline { display: block; flex: 0 0 auto; align-self: stretch; padding: 0 14px; font-size: 13px; white-space: nowrap; }
    .sk_app .charge_form_container .input_group:has(.reset_inline) ~ .money_btn_grid .btn_amt.reset { display: none; }
    .sk_app .charge_form_container .money_btn_grid .btn_amt { padding: 11px 2px; font-size: 13px; }
    .sk_app .charge_form_container .submit_area .btn_submit_charge,
    .sk_app .charge_form_container .submit_area .btn_submit_charge.btn_submit_exchange { height: 46px; font-size: 16px; }
}

/* ── 하단 내역(History 임베드) = 마이페이지 표 관용구(머리줄 #292828 · 위 금선 1px) · 날짜 줄바꿈 금지 ── */
.sk_app .embed_history .history_table { border-top: 1px solid #9c8555; }
.sk_app .embed_history .history_table th { background: #292828; font-weight: 500; white-space: nowrap; }
.sk_app .embed_history .history_table td { border-bottom-color: #292828; }
.sk_app .history_table td.text_date { white-space: nowrap; }
.sk_app .history_table td.col_type { width: 52px; white-space: nowrap; }
.sk_app .history_table .type_txt.charge { color: #4d9fff; }
.sk_app .history_table .type_txt.exchange { color: #ff6b6b; }
@media (max-width: 1023.98px) {
    .sk_app .history_table th, .sk_app .history_table td { padding-left: 4px !important; padding-right: 4px !important; font-size: 12px; }
}
