/* 계정 허브 /my/ (account-hub.php). 본문 최소 15px, 터치 목표 44px, 대비 4.5:1 이상. */
.wux-my{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;max-width:1120px;margin:24px auto;padding:0 16px;color:var(--wux-ink,#1f2933);font-size:16px;line-height:1.6;text-align:left}
.wux-my-guest{display:block;max-width:560px}
.wux-my-nav ul{list-style:none;margin:0;padding:0;position:sticky;top:90px}
body .wux-my .wux-my-nav a{display:flex;gap:10px;align-items:center;min-height:44px;padding:8px 12px;border-radius:10px;color:var(--wux-ink,#1f2933);text-decoration:none;font-weight:500}
body .wux-my .wux-my-nav a:hover{background:#eef4fa}
body .wux-my .wux-my-nav a.is-on{background:#1f6fa8;color:#fff;font-weight:700}
.wux-my-nav a:focus-visible{outline:3px solid var(--wux-focus,#b45309);outline-offset:2px}
.wux-my-main{min-width:0}
.wux-my-main:focus{outline:none}
.wux-h1{text-transform:none!important;letter-spacing:normal;font-size:26px;line-height:1.3;margin:0 0 16px}
.wux-my h2{font-size:19px;margin:0 0 10px}
.wux-sec{margin:28px 0}
.wux-card{padding:20px;border:1px solid #d9e2ec;border-radius:14px;background:#fff}
.wux-vf{margin:18px 0;padding:18px 20px;border:1px solid #f0b429;border-radius:14px;background:#fffbea;color:#1f2933}
.wux-vf h2{font-size:18px;margin:0 0 6px}
.wux-vf p{margin:6px 0}
.wux-vf .wux-btn{margin-top:6px}
.wux-vf-amt{color:#8d2b0b;font-size:18px}
.wux-vf-ok{border-color:#3ebd93;background:#effcf6}
.wux-login{text-align:center;padding:32px 20px}
.wux-btns{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.wux-login .wux-btns{justify-content:center}
.wux-login .wux-btn{min-width:140px;font-size:17px}
.wux-hello{display:flex;gap:16px;align-items:center;margin-bottom:20px}
.wux-hello img,.wux-av-fallback{width:56px;height:56px;border-radius:50%;object-fit:cover}
.wux-av-fallback{display:inline-grid;place-items:center;background:#1f6fa8;color:#fff;font-size:24px;font-weight:700}
.wux-hello .wux-h1{margin:0}
.wux-hello p{margin:0}
.wux-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}
.wux-stats a{display:flex;flex-direction:column;gap:2px;padding:16px;border:1px solid #d9e2ec;border-radius:12px;color:#52606d;text-decoration:none;font-size:14px}
.wux-stats strong{font-size:22px;color:#1f2933}
.wux-stats a:hover{border-color:#1f6fa8}
.wux-list{list-style:none;margin:0;padding:0}
.wux-list li{padding:10px 0;border-bottom:1px solid #eef2f6}
.wux-empty{padding:20px;border:1px dashed #bcccdc;border-radius:12px;color:#52606d}
.wux-books{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:16px}
.wux-book{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;padding:14px;border:1px solid #d9e2ec;border-radius:12px}
.wux-book img{width:96px;height:144px;object-fit:cover;border-radius:6px;background:#eef2f6}
.wux-cover-ph{display:grid;place-items:center;width:96px;height:144px;border-radius:6px;background:#eef2f6;font-size:32px}
.wux-book-t{font-size:17px!important;margin:0 0 6px!important}
.wux-book-t a{color:#1f2933;text-decoration:none}
.wux-badge{display:inline-block;padding:2px 8px;border-radius:999px;background:#eef4fa;color:#185a89;font-size:13px;font-weight:700}
.wux-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.wux-fmt{font-weight:500}
.wux-bar{height:12px;border-radius:999px;background:#e4e7eb;overflow:hidden;margin:10px 0}
.wux-bar span{display:block;height:100%;background:#4d7c0f}
.wux-table{width:100%;border-collapse:collapse;font-size:15px}
.wux-table th,.wux-table td{padding:10px 8px;border-bottom:1px solid #e4e7eb;text-align:left}
.wux-form{display:grid;gap:16px;max-width:640px}
.wux-field label,.wux-label{display:block;font-weight:600;margin-bottom:6px}
.wux-field input:not([type=checkbox]):not([type=file]),.wux-field select,.wux-field textarea{width:100%;min-height:44px;padding:8px 12px;border:1px solid #9aa5b1;border-radius:10px;font-size:16px;background:#fff;color:#1f2933}
.wux-field input:focus,.wux-field select:focus,.wux-field textarea:focus{outline:3px solid var(--wux-focus,#b45309);outline-offset:1px;border-color:#1f6fa8}
.wux-help{margin:4px 0 0;color:#52606d;font-size:14px}
.wux-avatar-row{display:flex;gap:16px;align-items:center}
.wux-avatar-row img{width:72px;height:72px;border-radius:50%;object-fit:cover}
.wux-file{position:absolute;width:1px;height:1px;opacity:0}
.wux-avatar-row label.wux-btn{position:relative}
.wux-avatar-row label.wux-btn:focus-within{outline:3px solid var(--wux-focus,#b45309);outline-offset:2px}
.wux-check{display:inline-flex;gap:6px;align-items:center;min-height:44px;margin-left:8px}
.wux-dl{display:grid;grid-template-columns:max-content 1fr;gap:8px 16px;margin:0}
.wux-dl dt{font-weight:600}
.wux-dl dd{margin:0}
.wux-toast p{margin:0 0 16px;padding:12px 16px;border-radius:10px;font-weight:600}
.wux-ok{background:#ecfdf3;color:#14532d;border:1px solid #86efac}
.wux-err{background:#fef2f2;color:#7f1d1d;border:1px solid #fca5a5}
.wux-feed{list-style:none;margin:0;padding:0}
.wux-feed li{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #eef2f6}
.wux-feed li div{display:flex;flex-direction:column}
.wux-feed a{color:#1f2933}
/* 원래 [wia_my_account] 탭을 빌려 쓸 때 머리·탭 줄은 허브가 대신한다 */
.wux-legacy .wia-ma-header,.wux-legacy .wia-ma-tabs{display:none!important}
.wux-legacy .wia-myaccount{max-width:none;margin:0;padding:0}
@media (max-width:860px){
  .wux-my{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:12px;padding:0}
  .wux-my-nav{min-width:0}
  .wux-my-nav ul{position:static;display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}
  .wux-my-nav li{flex:none}
  .wux-my-nav a{white-space:nowrap;border:1px solid #d9e2ec}
  .wux-stats{grid-template-columns:1fr}
  .wux-book{grid-template-columns:72px minmax(0,1fr)}
  .wux-book img,.wux-cover-ph{width:72px;height:108px}
}
/* 테마 링크색(.entry-content a 등)이 버튼 글자색을 덮어 대비가 깨졌다(실측) — 범위를 올려 다시 정한다 */
body .wux-my a.wux-btn,body .wux-my .wux-btn{color:#185a89;text-decoration:none}
body .wux-my a.wux-btn-primary,body .wux-my .wux-btn-primary{color:#fff;background:#1f6fa8}
body .wux-my a.wux-btn-primary:visited{color:#fff}
.wux-fmt{font-size:13px}
.wux-my,.wux-my *{box-sizing:border-box}

/* ── 2026-10-19 추가 O: 빌려 쓰는 옛 탭 7개(구매 내역·크레딧·찜·인세·지급 정보·인세 안내·내 신고)를 사이트 밝은 화면으로.
   원본(WIA_My_Account 렌더러·get_css·탭 안 인라인 스타일)은 그대로 두고 .wux-legacy 안에서만 덮는다(#63 약관과 같은 방식). 기능·링크·폼은 손대지 않음. ── */
.wux-legacy{color:var(--wux-ink,#1f2933)}
.wux-legacy .wia-myaccount{background:transparent!important;color:var(--wux-ink,#1f2933)!important;border-radius:0!important;min-height:0!important;font-family:inherit!important}
.wux-legacy h2,.wux-legacy h3,.wux-legacy h4,.wux-legacy .wia-ma-section h3,.wux-legacy .wia-ma-section-title,.wux-legacy .wia-payout-section h3,.wux-legacy legend{color:var(--wux-ink,#1f2933)!important}
.wux-legacy p,.wux-legacy li,.wux-legacy label,.wux-legacy td,.wux-legacy dd,.wux-legacy span:not([class*="status"]){color:inherit}
/* 표 */
.wux-legacy .wia-ma-table{background:#fff;border:1px solid var(--wux-line,#d9e2ec);border-radius:12px;overflow:hidden}
.wux-legacy .wia-ma-table th,.wux-legacy table th{background:var(--wux-g-50,#f7fafc)!important;color:var(--wux-ink,#1f2933)!important;border-bottom:1px solid var(--wux-line,#d9e2ec)!important}
.wux-legacy .wia-ma-table td,.wux-legacy table td{color:var(--wux-ink,#1f2933)!important;border-bottom:1px solid var(--wux-g-100,#eef2f6)!important;background:#fff}
.wux-legacy .wia-ma-profile-table th{color:var(--wux-mut,#52606d)!important}
/* 상자·카드 */
.wux-legacy .wia-ma-card,.wux-legacy .wia-ma-wishlist-item,.wux-legacy .wia-ma-section,.wux-legacy .wia-payout-section,.wux-legacy .wia-ma-credit-summary{background:#fff!important;border:1px solid var(--wux-line,#d9e2ec)!important;color:var(--wux-ink,#1f2933)!important}
.wux-legacy .wia-ma-section,.wux-legacy .wia-payout-section{border-radius:12px;padding:16px}
.wux-legacy .wia-ma-card-label,.wux-legacy .wia-ma-credit-sub,.wux-legacy .wia-ma-credit-note,.wux-legacy .wia-ma-empty,.wux-legacy .wia-payout-note,.wux-legacy .wia-ma-field label,.wux-legacy .wia-payout-group label{color:var(--wux-mut,#52606d)!important}
.wux-legacy .wia-ma-card-num,.wux-legacy .wia-ma-credit-big,.wux-legacy .wia-ma-plus,.wux-legacy .wia-ma-wish-price,.wux-legacy .wia-ma-credit-amount{color:#0f766e!important}
.wux-legacy .wia-ma-minus,.wux-legacy .wia-ma-table td.wia-ma-minus{color:var(--wux-err,#b42318)!important}
.wux-legacy .wia-ma-table td.wia-ma-plus{color:#0f766e!important}
.wux-legacy .wia-ma-wish-title{color:var(--wux-ink,#1f2933)!important}
.wux-legacy .wia-ma-wish-title:hover,.wux-legacy .wia-ma-link,.wux-legacy a:not([class*="btn"]):not([style*="gradient"]){color:var(--wux-p,#1f6fa8)!important}
.wux-legacy .wia-ma-wish-remove{color:var(--wux-mut,#52606d)!important;min-width:44px;min-height:44px}
.wux-legacy .wia-ma-wish-no-thumb{background:var(--wux-g-100,#eef2f6)!important}
.wux-legacy .wia-payout-rules{background:var(--wux-s-50,#f0f7e6)!important;border-color:#cfe3b5!important;color:var(--wux-ink,#1f2933)!important}
.wux-legacy .wia-payout-info-box{background:var(--wux-info-50,#eef4fa)!important;border-color:#c9dcee!important;color:var(--wux-ink,#1f2933)!important}
.wux-legacy .wia-payout-warning{color:var(--wux-warn,#8a5a00)!important}
.wux-legacy .wia-payout-divider{border-color:var(--wux-line,#d9e2ec)!important;background:var(--wux-line,#d9e2ec)!important}
/* 입력 */
.wux-legacy .wia-ma-input,.wux-legacy .wia-ma-textarea,.wux-legacy .wia-payout-input,.wux-legacy input[type=text],.wux-legacy input[type=email],.wux-legacy input[type=tel],.wux-legacy input[type=number],.wux-legacy input[type=search],.wux-legacy select,.wux-legacy textarea{background:#fff!important;border:1px solid var(--wux-g-300,#c5d0db)!important;color:var(--wux-ink,#1f2933)!important}
.wux-legacy .wia-payout-input::placeholder,.wux-legacy input::placeholder,.wux-legacy textarea::placeholder{color:var(--wux-g-500,#6b7785)!important}
.wux-legacy .wia-ma-input:focus,.wux-legacy .wia-payout-input:focus{border-color:var(--wux-p,#1f6fa8)!important}
.wux-legacy .wia-country-dropdown{background:#fff!important;border-color:var(--wux-line,#d9e2ec)!important;color:var(--wux-ink,#1f2933)!important}
.wux-legacy .wia-country-opt{border-bottom-color:var(--wux-g-100,#eef2f6)!important;color:var(--wux-ink,#1f2933)!important}
.wux-legacy .wia-country-opt:hover{background:var(--wux-p-50,#eef4fa)!important}
/* 버튼(사이트 주 버튼 색) */
.wux-legacy .wia-ma-btn,.wux-legacy .wia-ma-btn-primary,.wux-legacy .wia-payout-btn:not(.wia-payout-btn-withdraw){background:var(--wux-p,#1f6fa8)!important;color:#fff!important}
.wux-legacy .wia-ma-btn:hover,.wux-legacy .wia-ma-btn-primary:hover,.wux-legacy .wia-payout-btn:not(.wia-payout-btn-withdraw):hover{background:var(--wux-p-d,#185a89)!important}
/* 상태 표 */
.wux-legacy .wia-ma-status-complete,.wux-legacy .wia-payout-status-complete{background:var(--wux-ok-50,#ecf7e6)!important;color:var(--wux-ok,#2f6b1f)!important}
.wux-legacy .wia-ma-status-pending,.wux-legacy .wia-payout-status-pending{background:var(--wux-warn-50,#fff6e0)!important;color:var(--wux-warn,#8a5a00)!important}
.wux-legacy .wia-ma-status-refunded,.wux-legacy .wia-payout-status-rejected{background:var(--wux-err-50,#fdecea)!important;color:var(--wux-err,#b42318)!important}
.wux-legacy .wia-ma-notice.success{background:var(--wux-ok-50,#ecf7e6)!important;border-color:#bfe0b0!important;color:var(--wux-ok,#2f6b1f)!important}
/* 탭 안 인라인 스타일(어두운 바탕용 흰 글자·반투명 흰 칸) — 그라디언트 카드(파란 총 크레딧 등)는 그대로 둔다 */
.wux-legacy [style*="color:#fff"]:not([style*="gradient"]):not([class*="btn"]),.wux-legacy [style*="color: #fff"]:not([style*="gradient"]):not([class*="btn"]),.wux-legacy [style*="color:#e0e8f0"],.wux-legacy [style*="color:#0f172a"]{color:var(--wux-ink,#1f2933)!important}
.wux-legacy [style*="color:rgba(255,255,255"],.wux-legacy [style*="color: rgba(255,255,255"],.wux-legacy [style*="color:#94a3b8"]{color:var(--wux-mut,#52606d)!important}
.wux-legacy [style*="background:linear-gradient"] [style*="color:rgba(255,255,255"]{color:rgba(255,255,255,.9)!important}
.wux-legacy [style*="background:rgba(255,255,255"],.wux-legacy [style*="background: rgba(255,255,255"],.wux-legacy [style*="background:#1e293b"],.wux-legacy [style*="background:#1a1a2e"]{background:var(--wux-g-50,#f7fafc)!important;color:var(--wux-ink,#1f2933)}
.wux-legacy [style*="border:1px solid rgba(255,255,255"],.wux-legacy [style*="border:2px solid rgba(255,255,255"],.wux-legacy [style*="border-bottom:1px solid rgba(255,255,255"],.wux-legacy [style*="border-bottom:2px solid rgba(255,255,255"]{border-color:var(--wux-line,#d9e2ec)!important}
.wux-legacy [style*="color:#00d4aa"]{color:#0f766e!important}
.wux-legacy [style*="color:#ffd700"],.wux-legacy [style*="color:#f59e0b"]{color:#8a5a00!important}
.wux-legacy [style*="color:#60a5fa"],.wux-legacy [style*="color:#667eea"],.wux-legacy [style*="color:#0ea5e9"]{color:var(--wux-p,#1f6fa8)!important}
.wux-legacy [style*="color:#fed7aa"],.wux-legacy [style*="color:#fdba74"]{color:#9a3412!important}
.wux-legacy [style*="color:#ef4444"]{color:var(--wux-err,#b42318)!important}
.wux-legacy [style*="color:#16a34a"]{color:var(--wux-ok,#2f6b1f)!important}
@media (max-width:860px){.wux-legacy table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}}
/* 2026-10-19: 선택된 메뉴(진한 파랑 바탕)에서 아이콘 이모지가 안 보였다(WP 이모지 이미지 👤 는 짙은 회색 실루엣 — color:#fff 가 안 먹는다).
   색 이모지는 그대로 두고 아이콘 뒤에 작은 흰 원을 깐다(filter invert 금지 — 흰 실루엣이 된다). 음수 여백으로 칩 높이는 그대로. */
body .wux-my .wux-my-nav a>span[aria-hidden="true"]:first-child{display:inline-grid;place-items:center;flex:none;width:1.4em;height:1.4em;margin:-.2em 0;border-radius:50%;line-height:1}
body .wux-my .wux-my-nav a>span[aria-hidden="true"]:first-child img.emoji{margin:0!important;vertical-align:0!important}
body .wux-my .wux-my-nav a.is-on>span[aria-hidden="true"]:first-child{background:#fff}
