/* One profile/balance entry and one funding entry; withdrawal stays in its dialog. */
html body .mp-top-actions.wg-wallet-combined :is(.mp-account-link,.wgt-account){display:none!important}
html body .mp-top-actions .mp-wallet-chip.wg-account-combined:not([hidden]){display:inline-flex!important;align-items:center;gap:9px;min-width:0;max-width:100%;padding:8px 12px;border-radius:11px;border:1px solid #ac3b59;background:linear-gradient(135deg,#3a1b28,#21161f);color:#ffe1a1;line-height:1.15;white-space:nowrap;text-decoration:none}
html body .mp-wallet-chip.wg-account-combined::before{content:"";display:block;flex:none;width:17px;height:17px;background:#ffc9dc;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm0 2c-5 0-8 2.5-8 5v2h16v-2c0-2.5-3-5-8-5Z'/%3E%3C/svg%3E") center/contain no-repeat}
html body .mp-wallet-chip.wg-account-combined::after{content:attr(data-account-label);font-size:12px;font-weight:700;color:#fff0f6;border-left:1px solid #ffffff24;padding-left:9px}
html body .mp-wallet-chip.wg-account-combined:focus-visible{outline:2px solid #ffd67b;outline-offset:3px}
html body .mp-top-actions .dp-top-out{display:none!important}
@media(max-width:600px){html body .mp-wallet-chip.wg-account-combined::after{display:none}html body .mp-top-actions .mp-wallet-chip.wg-account-combined:not([hidden]){padding:8px;gap:6px;font-size:12px}}

@layer wg-wallet-polish {
/* Compact global account controls. Values still come from the existing APIs. */
html body #wg-header-controls.mp-top-actions{justify-content:flex-end}
html body #wg-header-controls.mp-top-actions.wg-wallet-combined>.wg-lvl-chip{display:none!important}
html body #wg-header-controls.mp-top-actions .mp-wallet-chip.wg-account-combined:not([hidden]){order:100!important;flex:0 0 auto!important;gap:9px!important;min-height:40px!important;padding:5px 10px 5px 5px!important;margin-left:4px!important;font-size:13px!important;font-variant-numeric:tabular-nums;line-height:1.2!important}
html body #wg-header-controls.mp-top-actions .mp-wallet-chip.wg-account-combined::before{content:''!important;display:block!important;width:28px!important;height:28px!important;flex:none!important;mask:none!important;-webkit-mask:none!important;background:var(--wg-header-avatar,url('/assets/brand-emblem.svg')) center/cover no-repeat!important;border-radius:50%!important;border:1px solid #e9bd7555!important}
html body #wg-header-controls.mp-top-actions .mp-wallet-chip.wg-account-combined::after{content:attr(data-level-label)!important;display:inline-flex!important;font-size:10px!important;font-weight:700!important;letter-spacing:0!important;border:1px solid #cfac6945!important;border-radius:6px!important;padding:4px 5px!important;margin-left:0!important;color:#f4cf73!important;background:#e8b7490a!important}
html body #wg-header-controls.mp-top-actions .mp-wallet-chip.wg-account-combined:not([data-level-label])::after,html body #wg-header-controls.mp-top-actions .mp-wallet-chip.wg-account-combined[data-level-label='']::after{display:none!important}
html body #wg-header-controls.mp-top-actions :is(.mp-lang,.mp-theme-toggle,.wgt-theme){display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;border-radius:11px!important;font-size:0!important;line-height:1!important;color:#f3d093!important}
html body #wg-header-controls.mp-top-actions :is(.mp-theme-label,.mp-theme-icon){display:none!important}
html body #wg-header-controls.mp-top-actions .mp-lang::before,html body #wg-header-controls.mp-top-actions :is(.mp-theme-toggle,.wgt-theme)::before{content:''!important;display:block!important;position:static!important;width:20px!important;height:20px!important;background:currentColor!important;mask:var(--wg-header-icon) center/contain no-repeat!important;-webkit-mask:var(--wg-header-icon) center/contain no-repeat!important}
html body #wg-header-controls.mp-top-actions .mp-lang{--wg-header-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18M5 7h14M5 17h14'/%3E%3C/g%3E%3C/svg%3E")}
html body #wg-header-controls.mp-top-actions :is(.mp-theme-toggle,.wgt-theme){--wg-header-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 1v2M12 21v2M1 12h2M21 12h2M4.2 4.2l1.4 1.4M18.4 18.4l1.4 1.4M4.2 19.8l1.4-1.4M18.4 5.6l1.4-1.4'/%3E%3C/g%3E%3C/svg%3E")}
html[data-theme=light] body #wg-header-controls.mp-top-actions :is(.mp-theme-toggle,.wgt-theme){--wg-header-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 15.7A8.5 8.5 0 0 1 8.3 3.5 8.6 8.6 0 1 0 20.5 15.7Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme=light] body #wg-header-controls.mp-top-actions :is(.mp-lang,.mp-theme-toggle,.wgt-theme){color:#765119!important}
@media(max-width:600px){html body #wg-header-controls.mp-top-actions{gap:5px!important}html body #wg-header-controls.mp-top-actions .mp-wallet-chip.wg-account-combined:not([hidden]){font-size:12px!important;gap:6px!important;min-height:36px!important;padding-right:6px!important;margin-left:0!important}html body #wg-header-controls.mp-top-actions .mp-wallet-chip.wg-account-combined::before{width:24px!important;height:24px!important}html body #wg-header-controls.mp-top-actions .mp-wallet-chip.wg-account-combined::after{font-size:9px!important;padding:3px 4px!important}html body #wg-header-controls.mp-top-actions :is(.mp-lang,.mp-theme-toggle,.wgt-theme){flex-basis:32px!important;min-width:32px!important;width:32px!important;height:34px!important;min-height:34px!important}}

}
