/* 사용자 내부 화면 공통 (2026-11-26): 색은 각 사이트 css의 --c, --soft 등을 씀 */
.gp-my { max-width: 860px !important; }
.gp-h3 { font-size: 16px; font-weight: 800; margin: 22px 0 10px; color: var(--ink); }
.gp-help { color: var(--sub); font-size: 13px; margin: -4px 0 10px; }

/* 내 정보 카드 + 탭 */
.gp-mycard { display: flex; align-items: center; gap: 14px; border-radius: 20px; padding: 18px 20px; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2, var(--c))); margin-bottom: 14px; }
.gp-mycard small { display: block; font-size: 12px; opacity: .85; font-weight: 600; }
.gp-mycard b { display: block; font-size: 18px; font-weight: 800; }
.gp-mywho { flex: 1; min-width: 0; }
.gp-mybal { text-align: right; }
.gp-mybal b { font-size: 20px; }
.gp-mycharge { flex: none; background: #fff; color: var(--c) !important; border-radius: 12px; padding: 10px 14px; font-weight: 800; font-size: 14px; text-decoration: none !important; }
.gp-mytabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg); border-radius: 14px; padding: 4px; margin-bottom: 16px; }
.gp-mytabs a { text-align: center; padding: 10px 0; border-radius: 11px; font-weight: 700; font-size: 14.5px; color: #6b7280 !important; text-decoration: none !important; }
.gp-mytabs a.on { background: #fff; color: var(--ink) !important; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
body.gp-sub .gp-my ~ .container .nav-pills, body.gp-sub .gp-my .nav-pills { display: none; }

/* 검색 */
.gp-search { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.gp-search .form-control { flex: 1; min-width: 0; border-radius: 12px !important; }
.gp-search button { flex: none; height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; }
.gp-search-clear { font-size: 13px; color: var(--sub) !important; width: 100%; }

/* 주문 목록 카드 */
.gp-olist { display: flex; flex-direction: column; gap: 10px; }
.gp-ocard { display: block; border: 1px solid var(--line); border-radius: 18px; padding: 15px 16px; background: #fff; color: var(--ink) !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.gp-ocard:hover { border-color: var(--c); box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.gp-otop { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--sub); }
.gp-ono { font-weight: 700; color: #374151; }
.gp-odate { margin-left: auto; }
.gp-oname { font-size: 15.5px; font-weight: 700; line-height: 1.45; margin: 8px 0 4px; word-break: keep-all; overflow-wrap: anywhere; }
.gp-otarget { font-size: 13px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-obottom { display: flex; align-items: center; gap: 16px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--sub); }
.gp-obottom b { color: var(--ink); font-size: 14.5px; margin-left: 5px; }
.gp-omore { margin-left: auto; color: var(--c); font-weight: 700; }

/* 상태 표시 */
.gp-st, body.gp .label { display: inline-block; border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 800; line-height: 1.4; }
.gp-st-wait, body.gp .label-default { background: #f1f2f4; color: #6b7280; }
.gp-st-progress, body.gp .label-primary { background: #e7efff; color: #2457d6; }
.gp-st-partial, body.gp .label-warning { background: #fff4e0; color: #b25e00; }
.gp-st-done, body.gp .label-success { background: #e6f6ec; color: #11803f; }
.gp-st-cancle, body.gp .label-danger { background: #fdecec; color: #c0262d; }

/* 결제내역 */
.gp-blist { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.gp-bcard { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
.gp-bcard:first-child { border-top: 0; }
.gp-btype { flex: none; width: 44px; text-align: center; border-radius: 10px; padding: 6px 0; font-size: 12.5px; font-weight: 800; }
.gp-btype-order { background: var(--soft); color: var(--c); }
.gp-btype-charge { background: #e6f6ec; color: #11803f; }
.gp-btype-refund { background: #fff4e0; color: #b25e00; }
.gp-btype-etc { background: #f1f2f4; color: #6b7280; }
.gp-bmid { flex: 1; min-width: 0; }
.gp-bmid a, .gp-bmid b { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink) !important; text-decoration: none !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-bmid small, .gp-bright small { display: block; font-size: 12px; color: var(--sub); margin-top: 2px; }
.gp-bright { text-align: right; flex: none; }
.gp-bright b { font-size: 15px; font-weight: 800; }
.gp-minus { color: var(--ink); }
.gp-plus { color: #11803f; }

/* 정보 카드 (입금대기, 회원정보) */
.gp-vlist { display: flex; flex-direction: column; gap: 10px; }
.gp-vcard { border: 1px solid var(--line); border-radius: 18px; padding: 6px 18px; background: #fff; }
.gp-vrow { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.gp-vrow:first-child { border-top: 0; }
.gp-vrow span { color: var(--sub); flex: none; }
.gp-vrow b { text-align: right; word-break: break-all; }
.gp-strong { color: var(--c); font-size: 17px; }
.gp-pwform { display: flex; gap: 8px; padding: 14px 0; }
.gp-pwform .form-control { flex: 1; border-radius: 12px !important; }
.gp-btn { flex: none; border: 0; border-radius: 12px; background: var(--c); color: #fff; font-weight: 800; padding: 0 18px; min-height: 48px; }
.gp-btn-big { display: block; width: 100%; height: 56px; font-size: 17px; border-radius: 14px; margin: 16px 0 12px; }
.gp-logout { display: block; text-align: center; margin: 22px 0 6px; color: var(--sub) !important; font-size: 14px; text-decoration: underline !important; }
.gp-empty { text-align: center; border: 1px dashed #d8dce2; border-radius: 18px; padding: 34px 16px; color: var(--sub); }
.gp-empty b { display: block; font-size: 15px; color: #374151; margin-bottom: 12px; }
.gp-empty-btn { display: inline-block; background: var(--c); color: #fff !important; border-radius: 12px; padding: 10px 18px; font-weight: 800; text-decoration: none !important; }
.gp-pages { margin-top: 16px; text-align: center; }

/* 충전 */
.gp-charge .gp-vcard { padding: 4px 18px 6px; }
.gp-light { background: rgba(255,255,255,.2) !important; color: #fff !important; }
.gp-hide-select { display: none !important; }
.gp-pays, .gp-amts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 6px; }
.gp-amts { grid-template-columns: repeat(4, 1fr); margin-bottom: 10px; }
.gp-pays button, .gp-amts button { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 0; font-weight: 700; font-size: 14px; color: #374151; }
.gp-pays button.on, .gp-amts button.on { border-color: var(--c); background: var(--soft); color: var(--c); box-shadow: 0 0 0 1px var(--c) inset; }
.gp-charge #amount { border-radius: 12px !important; }
.gp-my.gp-charge { max-width: 640px !important; }

/* 주문 상세 */
body.gp-detail .jumbotron, body.gp-detail .container { max-width: 860px !important; }
body.gp-detail .panel { border-radius: 18px; margin-bottom: 12px; }
body.gp-detail .panel-heading { font-size: 14px; color: var(--sub); font-weight: 700; border-bottom: 0 !important; padding-bottom: 4px; }
.gp-dhead { padding: 0 18px 4px; }
.gp-dhead b { font-size: 18px; font-weight: 800; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
.gp-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; padding: 10px 18px 18px; }
.gp-kv-item { background: var(--bg); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.gp-kv-item span { display: block; font-size: 12px; color: var(--sub); font-weight: 600; }
.gp-kv-item b { display: block; font-size: 15px; font-weight: 800; margin-top: 2px; word-break: keep-all; overflow-wrap: anywhere; }
.gp-progress { padding: 6px 18px 2px; }
.gp-progress-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--sub); font-weight: 600; }
.gp-progress-top b { color: var(--c); }
.gp-progress-bar { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.gp-progress-bar i { display: block; height: 100%; background: var(--c); border-radius: 99px; }
.gp-rows { padding: 6px 18px 14px; display: flex; flex-direction: column; gap: 8px; }
.gp-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 4px 12px; background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.gp-row .gp-kv-item { background: none; padding: 2px 0; }
.gp-row .gp-kv-item b { font-size: 14px; font-weight: 700; }
.gp-rows-empty { color: var(--sub); font-size: 14px; padding: 6px 0; }
body.gp-detail .panel-body { padding: 8px 18px 18px; word-break: break-all; }
body.gp-detail .panel-body pre { background: var(--bg); border: 0; border-radius: 12px; font-family: inherit; white-space: pre-wrap; }
body.gp-detail .panel-body a { color: var(--c) !important; font-weight: 600; }

@media (max-width: 767px) {
	.gp-mycard { padding: 16px; gap: 10px; }
	.gp-mycard b { font-size: 16px; }
	.gp-mybal b { font-size: 17px; }
	.gp-mycharge { padding: 9px 11px; font-size: 13px; }
	.gp-obottom { gap: 12px; }
	.gp-kv { grid-template-columns: repeat(2, 1fr); }
	.gp-row { grid-template-columns: repeat(2, 1fr); }
}

body.gp-sub:has(.gp-my) .jumbotron { max-width: 860px; }
body.gp-sub:has(.gp-charge) .jumbotron { max-width: 640px; }

/* 공지·FAQ (2026-11-26 최종): 줄 전체를 눌러 열고, 열림 표시 */
body.gp-sub .h4 { margin: 0; }
body.gp-sub .h4 a[data-toggle="collapse"] { display: block; position: relative; padding: 6px 34px 6px 0; font-size: 16px; line-height: 1.5; color: var(--ink) !important; text-decoration: none !important; }
body.gp-sub .h4 a[data-toggle="collapse"]::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid #9aa1ad; border-bottom: 2px solid #9aa1ad; transform: rotate(45deg); transition: transform .15s; }
body.gp-sub .h4 a[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
body.gp-sub .ql-editor { padding: 12px 0 0; font-size: 14.5px; line-height: 1.7; }
body.gp-sub:has(.ql-editor) .jumbotron, body.gp-sub:has(.ql-editor) .container { max-width: 860px; }
.gp-logout { padding: 10px; }