/* XCROLL App Kit — wallet 그룹 스타일 (모든 선택자 .xk-screen 하위로 스코프) */
.xk-s-wallet, .xk-s-points-balance, .xk-s-my-page, .xk-s-gift-exchange { background: #F5F6F9; }
.xk-s-wp-history, .xk-s-shop, .xk-s-shop-search { background: #fff; }
.xk-s-shop, .xk-s-shop-search { --xk-net: #2F6BFF; --xk-net-soft: #EAF0FF; }
.xk-s-shop[data-market="coral"], .xk-s-shop-search[data-market="coral"] { --xk-net: #FF6B57; --xk-net-soft: #FFEFEC; }

.xk-screen .xk-w-ic { flex: none; fill: none; }

/* 공통 헤더 (h52, 상단 안전영역 62) */
.xk-screen .xk-w-header { position: absolute; top: 62px; left: 0; right: 0; height: 52px; display: flex; align-items: center; justify-content: center; }
.xk-screen .xk-w-header.xkw-is-white { background: #fff; }
.xk-screen .xk-w-htitle { font-size: 17px; font-weight: 700; color: #2C303F; letter-spacing: 0; }
.xk-screen .xk-w-hicons { position: absolute; right: 16px; top: 0; bottom: 0; display: flex; align-items: center; gap: 14px; }
.xk-s-shop .xk-w-hicons { right: 20px; }
.xk-screen .xk-w-hback { position: absolute; left: 12px; top: 14px; }
.xk-screen .xk-w-hbell { position: absolute; left: 20px; top: 15px; }

.xk-screen .xk-w-body { position: absolute; top: 114px; left: 20px; right: 20px; }
.xk-screen .xk-w-card { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.xk-screen .xk-w-ct { display: block; font-size: 15px; font-weight: 700; color: #2C303F; line-height: 18px; margin-bottom: 4px; }
.xk-screen .xk-w-crow { display: flex; align-items: center; justify-content: space-between; height: 41px; font-size: 14px; color: #2C303F; }

/* 코인 마크 */
.xk-screen .xk-w-coin { width: var(--s); height: var(--s); border-radius: 50%; border: calc(var(--s) * .08) solid; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: calc(var(--s) * .56); line-height: 1; color: #2C303F; flex: none; }
.xk-screen .xk-w-coin-w { background: #F2D850; border-color: #E0B92E; }
.xk-screen .xk-w-coin-g { background: #55DC8B; border-color: #2FC471; }
.xk-screen .xk-w-coin-s { background: #798DF1; border-color: #5B6FE0; }

/* ---- 1. wallet ---- */
.xk-s-wallet .xk-w-body { top: 130px; }
.xk-s-wallet .xk-w-tier { display: flex; align-items: center; background: #fff; border-radius: 12px; height: 63.5px; padding: 0 16px; }
.xk-s-wallet .xk-w-tierimg { width: 36px; height: 36px; object-fit: contain; }
.xk-s-wallet .xk-w-lv { margin-left: 8px; font-size: 15px; color: #8089A5; }
.xk-s-wallet .xk-w-nick { margin-left: 6px; font-size: 16px; font-weight: 700; color: #2C303F; }
.xk-s-wallet .xk-w-copy { margin-left: 6px; }
.xk-s-wallet .xk-w-lvbtn { margin-left: auto; display: flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 10px; background: #4B47D6; color: #fff; font-size: 13px; font-weight: 600; gap: 4px; }
.xk-s-wallet .xk-w-seg { margin-top: 12px; background: #fff; border-radius: 12px; padding: 6px; display: flex; }
.xk-s-wallet .xk-w-seg span { flex: 1; text-align: center; line-height: 37px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #8089A5; }
.xk-s-wallet .xk-w-seg span.xkw-on { background: #2C303F; color: #fff; }
.xk-s-wallet .xk-w-kp { margin-top: 12px; padding-top: 16px; }
.xk-s-wallet .xk-w-kph { display: flex; align-items: center; justify-content: space-between; height: 36px; margin-bottom: 4px; padding: 4px 0; }
.xk-s-wallet .xk-w-kph b { font-size: 15px; font-weight: 700; color: #2C303F; }
.xk-s-wallet .xk-w-wbtn { height: 28px; line-height: 28px; padding: 0 14px; border-radius: 8px; background: #4B47D6; color: #fff; font-size: 12px; font-weight: 700; }
.xk-s-wallet .xk-w-bal { display: flex; align-items: center; height: 35.4px; }
.xk-s-wallet .xk-w-bl { margin-left: 8px; font-size: 14px; color: #2C303F; display: flex; align-items: center; }
.xk-s-wallet .xk-w-dot { width: 5px; height: 5px; border-radius: 50%; background: #D6322B; margin-left: 6px; }
.xk-s-wallet .xk-w-bv { margin-left: auto; margin-right: 6px; font-size: 16px; font-weight: 700; color: #2C303F; }

/* ---- 2. gift-exchange ---- */
.xk-screen .xk-w-exh { position: absolute; top: 0; left: 0; right: 0; height: 118px; background: #fff; }
.xk-screen .xk-w-exh span { position: absolute; left: 0; right: 0; top: 78px; text-align: center; font-size: 20px; font-weight: 600; color: #2C303F; line-height: 24px; }
.xk-screen .xk-w-exbody { position: absolute; top: 118px; left: 20px; right: 20px; }
.xk-screen .xk-w-round { display: flex; align-items: baseline; white-space: nowrap; margin: 20px 0 0 8px; height: 20px; }
.xk-screen .xk-w-round b { font-size: 16px; font-weight: 600; color: #2C303F; }
.xk-screen .xk-w-rd { margin-left: 6px; font-size: 14px; font-weight: 600; color: #2C303F; letter-spacing: -.35px; }
.xk-screen .xk-w-rf { margin-left: 2px; font-size: 12px; font-weight: 600; color: #98A1BE; letter-spacing: -.3px; }
.xk-screen .xk-w-avail { margin: 9px 0 0 8px; font-size: 12px; font-weight: 600; color: #5765FF; line-height: 15px; letter-spacing: -.3px; }
.xk-screen .xk-w-pick { margin: 25.5px 0 0 8px; font-size: 16px; font-weight: 600; line-height: 22px; letter-spacing: -.4px; color: #2C303F; }
.xk-screen .xk-w-grid { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7.4px; }
.xk-screen .xk-w-gcard { width: calc(50% - 3.7px); height: 172.6px; background: #fff; border: 2px solid #fff; border-radius: 10px; padding: 12px; overflow: hidden; }
.xk-screen .xk-w-gimg { width: 100%; aspect-ratio: 137/87; border-radius: 7px; overflow: hidden; }
.xk-screen .xk-w-gimg img { width: 100%; height: 100%; object-fit: cover; }
.xk-screen .xk-w-gnr { margin-top: 15.5px; display: flex; justify-content: space-between; align-items: center; height: 14px; font-size: 10.4px; font-weight: 500; color: #98A1BE; white-space: nowrap; }
.xk-screen .xk-w-gn { overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.xk-screen .xk-w-gw { flex: none; margin-left: 8px; }
.xk-screen .xk-w-gp { margin-top: 2px; display: flex; justify-content: flex-end; align-items: center; gap: 6px; height: 18px; font-size: 16px; font-weight: 600; letter-spacing: -.4px; color: #2C303F; }

/* ---- 3. points-balance ---- */
.xk-s-points-balance .xk-w-body { top: 130px; }
.xk-s-points-balance .xk-w-seg3 { background: #fff; border-radius: 12px; padding: 6px; display: flex; height: 48.5px; }
.xk-s-points-balance .xk-w-seg3 span { flex: 1; text-align: center; line-height: 36.5px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #8089A5; }
.xk-s-points-balance .xk-w-seg3 span.xkw-on { background: #2C303F; color: #fff; }
.xk-s-points-balance .xk-w-tot { margin: 16.5px 0 0; padding: 15px 16px 15px; height: 162px; }
.xk-s-points-balance .xk-w-tr { display: flex; justify-content: space-between; align-items: center; height: 18px; }
.xk-s-points-balance .xk-w-tr b { font-size: 14.2px; font-weight: 700; color: #2C303F; }
.xk-s-points-balance .xk-w-hl { display: flex; align-items: center; font-size: 13.4px; font-weight: 600; color: #4B47D6; gap: 2px; }
.xk-s-points-balance .xk-w-big { display: flex; align-items: center; height: 28px; margin-top: 8px; font-size: 24px; font-weight: 700; color: #2C303F; gap: 8px; }
.xk-s-points-balance .xk-w-hr { height: 1px; background: #EEF0F4; margin-top: 14.5px; }
.xk-s-points-balance .xk-w-sr { display: flex; justify-content: space-between; align-items: center; height: 25.7px; font-size: 13.1px; color: #98A1BE; }
.xk-s-points-balance .xk-w-sr.xkw-is-first { margin-top: 10px; }
.xk-s-points-balance .xk-w-sr b { font-size: 13.1px; font-weight: 600; color: #2C303F; }
.xk-s-points-balance .xk-w-sec { margin: 19px 0 11px 0; font-size: 15px; font-weight: 700; line-height: 20px; color: #2C303F; }
.xk-s-points-balance .xk-w-earn { background: #fff; border-radius: 12px; margin-top: 10.5px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.xk-s-points-balance .xk-w-sec + .xk-w-earn { margin-top: 0; }
.xk-s-points-balance .xk-w-et b { display: block; white-space: nowrap; font-size: 14.4px; font-weight: 500; line-height: 17px; color: #2C303F; }
.xk-s-points-balance .xk-w-et p { white-space: nowrap; margin-top: 6px; font-size: 13px; line-height: 14.4px; color: #98A1BE; }
.xk-s-points-balance .xk-w-ebtn { flex: none; height: 30px; line-height: 30px; padding: 0 12px; border-radius: 8px; background: #EBE9FE; color: #4B47D6; font-size: 12.2px; font-weight: 600; }

/* ---- 4. wp-history ---- */
.xk-s-wp-history .xk-w-htop { position: absolute; top: 137.6px; left: 20px; }
.xk-s-wp-history .xk-w-htop b { display: block; font-size: 14px; font-weight: 700; line-height: 18px; color: #2C303F; }
.xk-s-wp-history .xk-w-htop div { display: flex; align-items: center; gap: 8px; margin-top: 5.5px; height: 24px; font-size: 20px; font-weight: 700; color: #2C303F; }
.xk-s-wp-history .xk-w-hsep { position: absolute; top: 205px; left: 0; right: 0; height: 8px; background: #F5F6F9; }
.xk-s-wp-history .xk-w-hlist { position: absolute; top: 213px; left: 20px; right: 20px; }
.xk-s-wp-history .xk-w-hrow { height: 63.3px; display: flex; align-items: center; justify-content: space-between; }
.xk-s-wp-history .xk-w-hrow p { font-size: 14px; line-height: 19px; color: #2C303F; }
.xk-s-wp-history .xk-w-hrow i { display: block; margin-top: 1.5px; font-style: normal; font-size: 12px; line-height: 17px; color: #98A1BE; }
.xk-s-wp-history .xk-w-hrow b { font-size: 14px; font-weight: 700; color: #2C303F; }

/* ---- 5/6. shop ---- */
.xk-screen .xk-w-shopb { position: absolute; top: 114px; left: 0; right: 0; height: 651px; overflow: hidden; background: #fff; }
.xk-screen .xk-w-ssb { top: 62px; height: 703px; }
.xk-screen .xk-w-ntabs { margin: 0 20px; height: 37px; padding: 3px; border-radius: 10px; background: #EDEFF3; display: flex; margin-top: .5px; }
.xk-screen .xk-w-ntabs span { flex: 1; text-align: center; line-height: 31px; border-radius: 8px; font-size: 13px; font-weight: 700; color: #9AA0AC; }
.xk-screen .xk-w-ntabs span.xkw-on { background: var(--xk-net); color: #fff; }
.xk-screen .xk-w-nban { margin: 8px 20px 0; min-height: 30px; padding: 6px 12px; border-radius: 10px; background: var(--xk-net-soft); display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--xk-net); }
.xk-screen .xk-w-nban i { width: 8px; height: 8px; border-radius: 50%; background: var(--xk-net); flex: none; }
.xk-s-shop .xk-w-sbox { margin: 12px 20px 0; height: 46px; border: 1px solid #E7E9EF; border-radius: 12px; display: flex; align-items: center; padding: 0 14px; gap: 8px; font-size: 14px; color: #9AA0AC; }
.xk-s-shop .xk-w-sum { margin: 32px 20px 0; height: 44.5px; display: flex; justify-content: space-between; }
.xk-s-shop .xk-w-sum small { display: block; font-size: 12px; line-height: 16px; color: #9AA0AC; }
.xk-s-shop .xk-w-sum b { display: block; margin-top: 2px; font-size: 22px; font-weight: 700; line-height: 26px; color: #2C303F; }
.xk-s-shop .xk-w-sum .xkw-r { text-align: right; }
.xk-s-shop .xk-w-sum b.xkw-pp { color: #4B47D6; }
.xk-screen .xk-w-sh { height: 48px; padding: 24px 20px 4px; font-size: 16px; font-weight: 700; line-height: 20px; color: #2C303F; white-space: nowrap; }
.xk-screen .xk-w-mrow { display: flex; align-items: center; height: 72px; padding: 0 20px; }
.xk-screen .xk-w-mlogo { width: 44px; height: 44px; border-radius: 11.88px; background: #F1F2F6; object-fit: cover; flex: none; }
.xk-screen .xk-w-mmid { flex: 1; min-width: 0; margin-left: 12px; }
.xk-screen .xk-w-mn { font-size: 15px; font-weight: 700; line-height: 18px; color: #2C303F; }
.xk-screen .xk-w-ms { margin-top: 1px; display: flex; align-items: center; font-size: 12px; line-height: 15px; color: #9AA0AC; white-space: nowrap; }
.xk-screen .xk-w-ms i { margin-left: 6px; border-radius: 4px; padding: 2px 5px; background: #FFF7F7; color: #D9534F; font-style: normal; font-size: 10px; line-height: 12px; }
.xk-screen .xk-w-mrt { width: auto; max-width: 118px; flex: none; text-align: right; margin-left: 8px; } /* [사이트 사본] 영어 문구 말줄임 방지 */
.xk-screen .xk-w-mx { font-size: 15px; font-weight: 700; line-height: 18px; color: var(--xk-net); white-space: nowrap; }
.xk-screen .xk-w-mc { margin-top: 3px; font-size: 11px; line-height: 14px; color: #9AA0AC; }

.xk-s-shop-search .xk-w-sirow { margin: 14.4px 20px 0; height: 45px; display: flex; align-items: center; }
.xk-s-shop-search .xk-w-sin { flex: none; width: 305px; height: 45px; border: 2px solid #4B47D6; border-radius: 12px; display: flex; align-items: center; padding: 0 0 0 14px; gap: 8px; font-size: 14px; color: #9AA0AC; position: relative; }
.xk-s-shop-search .xk-w-caret { position: absolute; left: 36px; top: 11px; width: 2px; height: 20px; background: #4B47D6; }
.xk-s-shop-search .xk-w-cancel { margin-left: auto; font-size: 14px; color: #2C303F; }
.xk-s-shop-search .xk-w-chips { height: 49.2px; display: flex; align-items: center; white-space: nowrap; padding-left: 28px; font-size: 13.1px; color: #4A4F5E; gap: 14px; }
.xk-s-shop-search .xk-w-chips span { display: flex; align-items: center; gap: 4px; flex: none; }
.xk-s-shop-search .xk-w-rs { height: 20px; margin-top: 6.4px; padding: 0 20px; }
.xk-s-shop-search .xk-w-pm { height: 20px; margin-top: 25px; padding: 0 20px; margin-bottom: 2.2px; }

/* ---- 7. my-page ---- */
.xk-s-my-page .xk-w-body { top: 134px; }
.xk-s-my-page .xk-w-lm { display: flex; align-items: center; height: 49.5px; padding: 0 16px; }
.xk-s-my-page .xk-w-lm b { margin-left: 8.5px; font-size: 15px; font-weight: 700; color: #2C303F; }
.xk-s-my-page .xk-w-lmr { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.xk-s-my-page .xk-w-lmr .xk-w-ic:nth-child(-n+2) { opacity: .3; }
.xk-s-my-page .xk-w-lmr .xk-w-ic:last-child { margin-left: 2px; }
.xk-s-my-page .xk-w-wc { padding-bottom: 15px; }
.xk-s-my-page .xk-w-wh { display: flex; align-items: center; justify-content: space-between; height: 28px; }
.xk-s-my-page .xk-w-wh b { font-size: 15px; font-weight: 700; color: #2C303F; }
.xk-s-my-page .xk-w-swap { height: 28px; line-height: 28px; padding: 0 13px; border-radius: 8px; background: #4B47D6; color: #fff; font-size: 13px; font-weight: 700; }
.xk-s-my-page .xk-w-addr { margin-top: 11px; height: 48px; border-radius: 12px; background: #F5F6F9; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-size: 13.2px; color: #2C303F; white-space: nowrap; }
.xk-s-my-page .xk-w-reg { margin-top: 5px; font-size: 13px; line-height: 16px; color: #98A1BE; }
.xk-s-my-page .xk-w-ad { height: 49.5px; background: #fff; border-radius: 12px; margin-bottom: 12px; }
.xk-s-my-page .xk-w-fu { display: flex; align-items: center; justify-content: space-between; height: 53.7px; padding: 0 16px; }
.xk-s-my-page .xk-w-fu b { font-size: 15px; font-weight: 700; color: #2C303F; }
.xk-s-my-page .xk-w-fu span { display: flex; align-items: center; gap: 10px; }

.xk-s-shop-search .xk-w-sin > span { margin-left: -4px; }
