/* RDXPay v22 source-preserving CSS bundle. Order retained to preserve the existing UI. */

/* ORIGINAL SOURCE: assets/css/rdx-polish-v9.css */
/* RDXPay v9 – restrained flat, readable UI. Loaded after legacy sheets. */
:root{--rdx9-text:#202641;--rdx9-muted:#737d91;--rdx9-paper:#fff;--rdx9-border:#e5e8ef;--rdx9-accent:#6736bf;--rdx9-green:#078c60}
body{background:#f5f6f9!important}.app-shell{background:#f5f6f9!important;box-shadow:none!important;border-inline:1px solid #e8eaf0}
.app-shell .home160-balance,.app-shell .home160-stat,.app-shell .rdx8-ref-invite,.app-shell .rdx8-ref-qr-section,.app-shell .rdx8-ref-share,.app-shell .rdx8-ref-nav{box-shadow:none!important;border:1px solid var(--rdx9-border)!important}
.app-shell a,.app-shell button{text-decoration:none!important}.app-shell button:focus-visible,.app-shell a:focus-visible{outline:2px solid #7855c9;outline-offset:2px}
.app-shell .home160-action{padding:5px 0!important;min-height:64px!important;background:none!important;border:0!important;box-shadow:none!important}
.app-shell .home160-action>i{width:42px!important;height:42px!important;line-height:42px!important;border-radius:11px!important;margin-bottom:5px!important;transition:background-color .14s ease,transform .14s ease}
.app-shell .home160-action:nth-child(1)>i{color:#087f60!important;background:#e7f6ee!important}.app-shell .home160-action:nth-child(2)>i{color:#5b36ad!important;background:#f0ebf9!important}.app-shell .home160-action:nth-child(3)>i{color:#175fba!important;background:#eaf2fc!important}.app-shell .home160-action:nth-child(4)>i{color:#ae6a13!important;background:#fff1dd!important}
.app-shell .home160-action:active>i{transform:scale(.96)}
.app-shell .home160-stat{border-radius:12px!important;background:#fff!important}.app-shell .home160-stat::before{display:none!important}.app-shell .home160-stat:nth-child(1) strong,.app-shell .home160-stat:nth-child(2) strong{color:#06895e!important}.app-shell .home160-stat:nth-child(1) strong{color:#06895e!important}.app-shell .home160-stat:nth-child(3) strong{color:#2368be!important}.app-shell .home160-stat:nth-child(4) strong{color:#ad7420!important}
.app-shell .account155-hero{background:linear-gradient(112deg,#262452,#49318c)!important;box-shadow:none!important;border:1px solid #3c316a!important}.app-shell .account155-balances{background:transparent!important;border:0!important;padding:2px 0!important;gap:12px!important}.app-shell .account155-balance{border:0!important;border-left:1px solid rgba(255,255,255,.2)!important;padding:6px 11px!important;background:transparent!important}.app-shell .account155-balance:first-child{border-left:0!important;padding-left:0!important}.app-shell .account155-shortcut{height:53px!important;min-height:53px!important;gap:5px!important;background:rgba(255,255,255,.07)!important;border:0!important}.app-shell .account155-shortcut:active{background:rgba(255,255,255,.16)!important}.app-shell .account155-avatar{display:grid!important;place-items:center!important;overflow:hidden!important;background:#fff!important;border-radius:14px!important;padding:3px!important;box-sizing:border-box!important}.app-shell .account155-avatar img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;border-radius:10px!important}.app-shell .account155-menu{box-shadow:none!important;border:1px solid var(--rdx9-border)!important}.app-shell .account155-icon{background:#f4f1fa!important;color:#5c3cb3!important}
.app-shell .app-header .header-logo img{object-fit:contain!important;object-position:center left!important}.app-shell .app-header-back .header-logo img{object-position:center center!important}
/* Support: custom popup does not depend on styling the OS-native option menu. Native select remains fallback. */
.support-category-shell.rdx9-enhanced{position:relative!important;display:block!important;height:auto!important;min-height:46px!important;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
.support-category-shell.rdx9-enhanced>select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%);padding:0!important}
.support-category-shell.rdx9-enhanced>.support-category-icon,.support-category-shell.rdx9-enhanced>.support-category-arrow{display:none!important}
.rdx9-select-trigger{display:flex;align-items:center;gap:10px;text-align:left;width:100%;height:46px;border:1px solid #dfe3ef;border-radius:11px;background:#fff;color:#24243d;padding:0 13px;font-size:12px;font-weight:750;cursor:pointer}
.rdx9-select-trigger .rdx9-select-icon{font-size:14px;color:#6843bb;flex:none}.rdx9-select-trigger .rdx9-select-label{flex:1}.rdx9-select-trigger .rdx9-select-chevron{font-size:11px;color:#8b8fa2}
.rdx9-select-trigger[aria-expanded="true"]{border-color:#805ac6}.rdx9-select-trigger:focus-visible{outline:2px solid #987be2;outline-offset:2px}
.rdx9-select-menu{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:60;background:#fff;border:1px solid #ded9ed;border-radius:12px;box-shadow:0 11px 28px rgba(25,22,53,.12);padding:5px;max-height:240px;overflow:auto}
.rdx9-select-menu[hidden]{display:none!important}.rdx9-select-option{display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;background:#fff;color:#273047;text-align:left;padding:11px 12px;width:100%;min-height:40px;border-radius:8px;font-size:12px;cursor:pointer}.rdx9-select-option:hover,.rdx9-select-option:focus-visible{background:#f4f0ff}.rdx9-select-option[aria-selected="true"]{background:#f2eefe;color:#5d35b0;font-weight:750}.rdx9-select-option i{font-size:11px}
/* Referral – compact informational design, no layered 3D surfaces. */
.app-shell .rdx8-ref{gap:10px!important;padding:17px 13px 105px!important;color:var(--rdx9-text)!important}
.app-shell .rdx8-ref-head{margin:0 0 4px!important}.app-shell .rdx8-ref-head h1{font-size:21px!important;font-weight:800!important;letter-spacing:-.035em!important;margin:4px 0!important}.app-shell .rdx8-ref-head p{font-size:11.5px!important;color:var(--rdx9-muted)!important}.app-shell .rdx8-ref-head-icon{width:38px;height:38px;flex:0 0 38px;border-radius:11px;font-size:16px!important;background:#eee8fa!important;box-shadow:none!important}
.app-shell .rdx8-ref-hero{box-shadow:none!important;border-radius:13px!important;padding:14px 15px!important;background:#332663!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)!important;gap:12px!important}
.app-shell .rdx8-ref-hero strong{font-size:22px!important;font-weight:800!important;margin-top:5px}.app-shell .rdx8-ref-hero small{font-size:10px!important;color:#ddd5f0!important;opacity:1!important}
.app-shell .rdx8-ref-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important}.app-shell .rdx8-ref-stats>div{min-width:0!important}.app-shell .rdx8-ref-stats span{font-size:10px!important;color:#dcd6f5!important}.app-shell .rdx8-ref-stats b{font-size:13px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-shell .rdx8-ref-invite,.app-shell .rdx8-ref-qr-section,.app-shell .rdx8-ref-share{padding:14px!important;border-radius:13px!important}.app-shell .rdx8-ref-title h2,.app-shell .rdx8-ref-qr-section h2,.app-shell .rdx8-ref-share h2{font-size:13px!important;font-weight:800!important}
.app-shell .rdx8-ref-link{background:#f5f6f9!important;border:1px solid #eef0f5;border-radius:9px!important}.app-shell .rdx8-ref-link button{background:#5f3ab6!important;border-radius:8px!important;box-shadow:none!important}.app-shell .rdx8-ref-code{margin-top:9px!important}.app-shell .rdx8-ref-code strong{letter-spacing:.03em!important}
.app-shell .rdx8-ref-qr-section{grid-template-columns:minmax(0,1fr) 146px!important;gap:10px!important}.app-shell .rdx8-ref-qr{width:146px!important;height:146px!important;border-radius:10px!important}.app-shell .rdx8-ref-qr canvas{max-width:100%;max-height:100%;width:100%!important;height:100%!important;object-fit:contain}.app-shell .rdx8-ref-qr-section button{border-radius:8px!important}
.app-shell .rdx8-ref-share>div{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}.app-shell .rdx8-ref-share a,.app-shell .rdx8-ref-share button{display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-width:0;padding:10px 0!important;background:#f7f8fa!important;border:0!important;border-radius:9px!important;color:#3a4253!important;font-weight:700;font-size:9px!important;cursor:pointer}.app-shell .rdx8-ref-share i{font-size:17px!important}.app-shell .rdx8-ref-share a:nth-child(4) i,.app-shell .rdx8-ref-share button i{color:#0e74d7!important}
.app-shell .rdx8-ref-nav{border-radius:13px!important}.app-shell .rdx8-ref-nav>a{padding:11px 13px!important;font-size:11px!important}.app-shell .rdx8-ref-nav>a>i:first-child{border-radius:9px!important}
/* Referral detail routes were rendering as bare text because legacy empty-state is non-layout. */
.app-shell .detail-page .withdraw-balance-v8{display:flex!important;flex-direction:column!important;gap:9px!important;width:100%!important;background:#fff!important;border:1px solid var(--rdx9-border)!important;border-radius:13px!important;padding:20px 17px!important;box-shadow:none!important;color:var(--rdx9-text)!important}
.app-shell .detail-page .withdraw-balance-v8>span{display:block!important;color:var(--rdx9-muted)!important;letter-spacing:.05em!important;font-size:10px!important;font-weight:700!important}.app-shell .detail-page .withdraw-balance-v8>strong{display:block!important;font-size:27px!important;line-height:1.15!important;color:#078b61!important}.app-shell .detail-page .withdraw-balance-v8>p{font-size:11px!important;line-height:1.55!important;color:var(--rdx9-muted)!important;margin:0!important}
.app-shell .detail-page .history-list{display:grid!important;gap:8px!important;width:100%!important;min-width:0!important}
.app-shell .detail-page .empty-state{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;text-align:center!important;width:100%!important;min-height:170px!important;margin:0!important;padding:24px 18px!important;background:#fff!important;border:1px dashed #dce0e9!important;border-radius:13px!important;box-shadow:none!important}
.app-shell .detail-page .empty-state>i{display:grid!important;place-items:center!important;width:45px!important;height:45px!important;min-height:45px!important;border-radius:12px!important;background:#f0edf9!important;color:#6641b7!important;font-size:18px!important;margin:0 auto!important}
.app-shell .detail-page .empty-state>strong{display:block!important;color:var(--rdx9-text)!important;font-size:13px!important;font-weight:800!important;line-height:1.4!important}.app-shell .detail-page .empty-state>span{display:block!important;color:var(--rdx9-muted)!important;font-size:11px!important;line-height:1.55!important;max-width:290px}
.app-shell .detail-page .team-list-v8{display:grid!important;gap:9px!important;min-width:0!important;width:100%!important}
.app-shell .detail-page .team-list-v8>article{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;padding:13px!important;border:1px solid var(--rdx9-border)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
.app-shell .detail-page .team-list-v8 .team-avatar-v8{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;flex:none!important;border-radius:11px!important;background:#efeafa!important;color:#5b3bb3!important;overflow:hidden!important}.app-shell .detail-page .team-avatar-v8 img{width:100%;height:100%;object-fit:cover}.app-shell .detail-page .team-list-v8 article>div:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}.app-shell .detail-page .team-list-v8 article strong{font-size:12px!important;color:var(--rdx9-text)!important}.app-shell .detail-page .team-list-v8 article span,.app-shell .detail-page .team-list-v8 article small{color:var(--rdx9-muted)!important;font-size:10px!important;overflow-wrap:anywhere}.app-shell .detail-page .team-list-v8 article>b{font-size:9px!important;font-weight:750;color:#6241ad;background:#f2eefa;padding:6px 8px;border-radius:7px}
.app-shell .detail-page .history-row{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;align-items:center!important;gap:11px!important;padding:13px!important;min-width:0!important;background:#fff!important;border:1px solid var(--rdx9-border)!important;border-radius:12px!important;box-shadow:none!important}.app-shell .detail-page .history-row>div:nth-child(2){min-width:0;display:grid;gap:4px}.app-shell .detail-page .history-row strong{font-size:11px!important}.app-shell .detail-page .history-row span{font-size:10px!important;overflow-wrap:anywhere}
.rdx9-flash{position:fixed;left:50%;bottom:94px;transform:translateX(-50%) translateY(7px);background:#27253d;color:white;border-radius:9px;padding:10px 14px;z-index:10090;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;font-size:12px;box-shadow:0 6px 16px rgba(25,25,50,.15)}.rdx9-flash.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:380px){.app-shell .rdx8-ref{padding-inline:10px!important}.app-shell .rdx8-ref-hero{gap:8px!important;padding:13px!important}.app-shell .rdx8-ref-qr-section{grid-template-columns:1fr 118px!important}.app-shell .rdx8-ref-qr{width:118px!important;height:118px!important}.app-shell .rdx8-ref-share a,.app-shell .rdx8-ref-share button{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){.rdx9-flash,.home160-action>i{transition:none!important}}

/* ORIGINAL SOURCE: assets/css/rdx-compact-v10.css */
/* RDXPay v10: 15% visual-density reduction without viewport zoom or squashed accessibility. */
:root{--rdx10-border:#e5e7ee;--rdx10-accent:#5f32b7;--rdx10-text:#20233c}
html{scroll-behavior:auto}
body{background:#f6f7fa!important}
.app-shell{max-width:510px!important;background:#f6f7fa!important}
.app-shell .home160,.app-shell .account155,.app-shell .rdx8-ref,.app-shell .detail-page{max-width:510px!important}
.app-shell .home160{padding:8px 10px calc(77px + env(safe-area-inset-bottom))!important}
.app-shell .home160-balance{padding:12px!important;border-radius:12px!important;box-shadow:none!important}
.app-shell .home160-main strong{font-size:25px!important}
.app-shell .home160-commission{min-width:109px!important;padding:8px!important}
.app-shell .home160-commission b{font-size:14px!important}
.app-shell .home160-actions{margin-top:9px!important;padding-top:9px!important;gap:4px!important}
.app-shell .home160-action{font-size:9px!important;gap:3px!important;min-height:60px!important}
.app-shell .home160-action>i{width:39px!important;height:39px!important;font-size:14px!important;margin-bottom:2px!important}
.app-shell .home160-stat{padding:10px 11px!important;border-radius:10px!important}
.app-shell .home160-stat strong{font-size:17px!important}
.app-shell .home160-title,.app-shell .account155 h1{font-size:18px!important}
.app-shell .account155-hero{padding:13px!important;border-radius:13px!important}
.app-shell .account155-shortcut{height:47px!important;min-height:47px!important;font-size:10px!important}
.app-shell .account155-balance strong{font-size:16px!important}
.app-shell .account155-menu a{min-height:46px!important;padding-block:8px!important;font-size:11px!important}
.app-shell .account155-icon{width:34px!important;height:34px!important;border-radius:9px!important}
.app-shell .rdx8-ref{padding:11px 10px 86px!important;gap:8px!important}
.app-shell .rdx8-ref-head h1{font-size:19px!important}
.app-shell .rdx8-ref-hero{padding:12px!important}
.app-shell .rdx8-ref-invite,.app-shell .rdx8-ref-qr-section,.app-shell .rdx8-ref-share{padding:12px!important}
.app-shell .rdx8-ref-hero,.app-shell .rdx8-ref-invite,.app-shell .rdx8-ref-share,.app-shell .rdx8-ref-nav,.app-shell .rdx8-ref-qr-section{box-shadow:none!important;border-radius:12px!important}
.app-shell .detail-page .withdraw-balance-v8{padding:14px!important}
.app-shell input,.app-shell select,.app-shell textarea,.app-shell button,.app-shell .btn{font-family:Inter,"Segoe UI",system-ui,sans-serif}
.app-shell input,.app-shell textarea,.app-shell select{font-size:12px!important}
.app-shell .app-header{min-height:54px!important;padding-block:8px!important}
.app-shell .app-header .header-logo img{max-height:38px!important;object-fit:contain!important}
.app-shell .home160-stat:nth-child(1) strong,.app-shell .home160-stat:nth-child(2) strong{color:#008a60!important}
.app-shell .home160-title,.app-shell .rdx8-ref-title{letter-spacing:-.015em}
/* One deliberately consistent auth action and tab style. Flat rather than glossy. */
body.auth163-page{background:#f8f8fb!important}
.auth163{max-width:470px!important;padding:12px 13px 22px!important}
.auth163-brand{margin:12px auto 15px!important}
.auth163-brand img{width:min(220px,81%)!important;max-height:66px!important}
.auth163-top{margin-bottom:8px!important}
.auth163-lang{min-height:38px!important}
.auth163-switch{padding:4px!important;gap:4px!important;border-radius:12px!important;background:#f2effa!important;border:1px solid #e3deef!important;box-shadow:none!important;margin-bottom:9px!important}
.auth163-switch a,.auth163-switch a:visited{height:41px!important;min-height:41px!important;font-size:12px!important;font-weight:800!important;color:#3e3653!important;text-decoration:none!important;border-radius:9px!important;background:transparent!important;opacity:1!important;visibility:visible!important}
.auth163-switch a:not(.active):hover{background:#e8e0f6!important;color:#362456!important}
.auth163-switch a.active,.auth163-switch a.active:visited{background:#5d32b4!important;color:#fff!important;box-shadow:none!important}
.auth163-card{padding:16px!important;border:1px solid #e4e2ed!important;border-radius:14px!important;box-shadow:none!important}
.auth163-card h2{font-size:17px!important;margin-bottom:12px!important}
.auth163-form{gap:9px!important}
.auth163-field label{font-size:10.5px!important;margin-bottom:5px!important}
.auth163-input input{height:43px!important;font-size:12px!important;background:#fff!important;border-radius:9px!important}
.auth163-input input:focus{box-shadow:0 0 0 2px rgba(95,50,183,.11)!important}
.auth163-submit,.auth163-pane button[type="submit"],.ev-actions .btn{height:43px!important;min-height:43px!important;background:#5d32b4!important;background-image:none!important;color:#fff!important;border:0!important;border-radius:9px!important;box-shadow:none!important;font-size:12px!important;font-weight:800!important}
.auth163-options,.auth163-foot{font-size:10.5px!important}
.auth163-eye{min-width:40px!important;min-height:40px!important}
@media(max-width:360px){.auth163{padding:10px!important}.app-shell .home160-stat{padding:9px!important}}
@media(prefers-reduced-motion:reduce){.app-shell *,body.auth163-page *{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.auth163-page a,.auth163-page a:visited,.reset160-page a,.reset160-page a:visited{text-decoration:none!important}
.auth163-page .auth163-switch a:not(.active){color:#2c2542!important;opacity:1!important}
.auth163-page .auth163-switch a.active{color:#fff!important}
/* No oversized forced buttons; mobile touch targets stay >=40px. */
.auth163-page .auth163-switch a:focus-visible,.auth163-page a:focus-visible{outline:2px solid #5d32b4!important;outline-offset:2px!important}

/* ORIGINAL SOURCE: assets/css/rdx-balance-v11.css */
/* RDXPay V11 – focused 5% size restoration & gentle depth.
   Base: V10. No additional overlay, transform scaling or costly blur animation. */
:root{--rdx11-bg:#f5f6fa;--rdx11-border:#e4e8f0;--rdx11-shadow:0 3px 11px rgba(31,43,81,.065),0 1px 2px rgba(31,43,81,.025)}
body{background:var(--rdx11-bg)!important}
body .app-shell{width:100%!important;max-width:535px!important;background:var(--rdx11-bg)!important}
body .app-shell .home160,body .app-shell .account155,body .app-shell .rdx8-ref,body .app-shell .detail-page{max-width:535px!important}
/* No parent zoom: this keeps fixed navigation, modals and touch positions aligned. */
body .app-shell .app-header{min-height:57px!important;padding:8px 12px!important}
body .app-shell .app-header .header-logo img{max-height:40px!important;width:auto!important;max-width:149px!important;object-fit:contain!important}
body .app-shell .header-icon-btn{min-height:35px!important;min-width:35px!important}
body .app-shell .header-language{min-height:35px!important}
/* Banner is edge-to-edge within the content gutters; uploaded images preserve proportion. */
body .app-shell .home160{padding:9px 9px calc(86px + env(safe-area-inset-bottom))!important;width:100%!important}
body .app-shell .home160-banner{width:100%!important;margin:0 0 13px!important;border-radius:15px!important;box-shadow:0 4px 13px rgba(43,38,105,.11)!important}
body .app-shell .home160-banner .banner-track{width:100%!important;display:flex!important;gap:0!important;border-radius:15px!important}
body .app-shell .home160-banner .banner-card-v7{flex:0 0 100%!important;min-width:100%!important;max-width:100%!important;width:100%!important;aspect-ratio:16/5.25!important;border-radius:15px!important}
body .app-shell .home160-banner .banner-card-v7>img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;object-position:center!important}
body .app-shell .home160-banner .rdx-slide{padding:16px 20px!important}
body .app-shell .home160-banner .rdx-slide-copy strong{font-size:20px!important;line-height:1.2!important}
body .app-shell .home160-banner .rdx-slide-copy small{font-size:9px!important;letter-spacing:.09em!important}
body .app-shell .home160-banner .rdx-slide-copy em{font-size:9px!important}
body .app-shell .home160-banner .rdx-slide-art{width:110px!important;height:105px!important;right:24px!important;top:16px!important}
/* Quiet premium cards: only two shallow shadow layers. */
body .app-shell .home160-balance{padding:14px!important;border:1px solid var(--rdx11-border)!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--rdx11-shadow)!important;overflow:visible!important}
body .app-shell .home160-balance-top{align-items:center!important;gap:8px!important}
body .app-shell .home160-main strong{font-size:26.25px!important;line-height:1.16!important}
body .app-shell .home160-commission{min-width:115px!important;padding:9px!important;border-radius:11px!important}
body .app-shell .home160-commission b{font-size:14.7px!important}
body .app-shell .home160-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-top:11px!important;padding-top:12px!important;gap:4px!important;border-top:1px solid #edf0f5!important}
body .app-shell .home160-actions .home160-action{padding:5px 1px!important;min-height:68px!important;gap:5px!important;font-size:10px!important;border:0!important;border-radius:11px!important;background:transparent!important;box-shadow:none!important;transition:transform .16s ease!important}
body .app-shell .home160-action>i{height:43px!important;width:43px!important;font-size:16px!important;border-radius:12px!important;margin-bottom:2px!important;box-shadow:0 4px 10px rgba(37,45,93,.10)!important;transition:transform .16s ease,box-shadow .16s ease!important}
body .app-shell .home160-action:hover>i{transform:translateY(-2px)!important;box-shadow:0 6px 13px rgba(37,45,93,.14)!important}
body .app-shell .home160-actions .home160-action:active{transform:scale(.97)!important}
body .app-shell .home160-stats{gap:9px!important;margin-top:12px!important}
body .app-shell .home160-stat{padding:11px 12px!important;border:1px solid var(--rdx11-border)!important;border-radius:12px!important;box-shadow:var(--rdx11-shadow)!important}
body .app-shell .home160-stat span{font-size:10px!important}
body .app-shell .home160-stat strong{font-size:18px!important;margin-top:6px!important}
body .app-shell .home160-stat:nth-child(1) strong,body .app-shell .home160-stat:nth-child(2) strong{color:#04845a!important}
body .app-shell .home160-title,body .app-shell .home160-section-head h2,body .app-shell .account155-title{font-size:19px!important}
body .app-shell .home160-section{margin-top:17px!important}
body .app-shell .home160-tx,body .app-shell .home160-tutorial,body .app-shell .home160-empty{border:1px solid var(--rdx11-border)!important;box-shadow:var(--rdx11-shadow)!important;border-radius:12px!important}
/* Account: avoid extra outer tiles; distinguish shortcuts with inset borders and depth. */
body .app-shell .account155{padding:14px 11px calc(89px + env(safe-area-inset-bottom))!important}
body .app-shell .account155-hero{padding:15px!important;border-radius:14px!important;box-shadow:0 5px 16px rgba(35,30,101,.13)!important}
body .app-shell .account155-balance strong{font-size:17px!important}
body .app-shell .account155-shortcut{height:50px!important;min-height:50px!important;font-size:10.5px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:10px!important;background:rgba(255,255,255,.08)!important;box-shadow:0 2px 5px rgba(13,8,60,.08)!important}
body .app-shell .account155-shortcut:focus-visible,body .app-shell .home160-action:focus-visible{outline:2px solid #7359dc!important;outline-offset:2px!important}
body .app-shell .account155-menu{box-shadow:var(--rdx11-shadow)!important}
body .app-shell .account155-menu a{min-height:48px!important;font-size:11.5px!important}
body .app-shell .account155-icon{width:36px!important;height:36px!important}
/* Slightly improve readability and touch targets of secondary forms without layout zoom. */
body .app-shell .btn{font-size:12px!important}
body .app-shell input,body .app-shell select,body .app-shell textarea{font-size:12.6px!important}
body .app-shell .detail-page .v8-intro-card h1{font-size:19px!important}
@media(max-width:390px){body .app-shell .home160{padding-inline:8px!important}body .app-shell .app-header{padding-inline:9px!important}body .app-shell .home160-banner .rdx-slide{padding:12px 15px!important}body .app-shell .home160-banner .rdx-slide-copy strong{font-size:17px!important}body .app-shell .home160-banner .rdx-slide-art{width:79px!important;height:79px!important;right:20px!important;top:13px!important}body .app-shell .home160-main strong{font-size:25px!important}body .app-shell .home160-commission{min-width:109px!important}}
@media(prefers-reduced-motion:reduce){body .app-shell .home160-action,body .app-shell .home160-action>i{transition:none!important}}

/* ORIGINAL SOURCE: assets/css/rdx-actions-v12.css */
/* RDXPay V12: focused action colours and reduced gutters. No extra tile wrapper. */
body .app-shell .home160-balance{padding-left:12px!important;padding-right:12px!important}
body .app-shell .home160-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px!important;max-width:326px!important;margin-left:auto!important;margin-right:auto!important;margin-top:9px!important;padding:9px 0 0!important;border-top:1px solid #edf0f5!important;justify-items:stretch!important}
body .app-shell .home160-actions .home160-action{width:100%!important;min-width:0!important;min-height:62px!important;padding:2px 0!important;gap:5px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#202a45!important;font-size:10px!important;font-weight:800!important;background:transparent!important;border:0!important;box-shadow:none!important;text-decoration:none!important}
body .app-shell .home160-actions .home160-action>i{display:grid!important;place-items:center!important;width:43px!important;height:43px!important;min-width:43px!important;line-height:1!important;margin:0!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:12px!important;color:#fff!important;font-size:17px!important;transition:transform .15s ease,box-shadow .15s ease!important}
body .app-shell .home160-actions .home160-action:nth-child(1)>i{background:#05ad6b!important;color:#fff!important;box-shadow:0 4px 9px rgba(5,173,107,.20)!important}
body .app-shell .home160-actions .home160-action:nth-child(2)>i{background:#7050ee!important;color:#fff!important;box-shadow:0 4px 9px rgba(112,80,238,.20)!important}
body .app-shell .home160-actions .home160-action:nth-child(3)>i{background:#06b8b2!important;color:#fff!important;box-shadow:0 4px 9px rgba(6,184,178,.20)!important}
body .app-shell .home160-actions .home160-action:nth-child(4)>i{background:#f4a019!important;color:#fff!important;box-shadow:0 4px 9px rgba(244,160,25,.20)!important}
body .app-shell .home160-actions .home160-action:hover{transform:none!important;background:transparent!important}
body .app-shell .home160-actions .home160-action:hover>i{transform:translateY(-1px)!important;filter:brightness(1.03)!important}
body .app-shell .home160-actions .home160-action:focus-visible{outline:2px solid #7050ee!important;outline-offset:2px!important}
body .app-shell .home160-actions .home160-action>span{display:block!important;white-space:nowrap!important;font-size:10px!important;color:#27324a!important;line-height:1.2!important}
@media(max-width:360px){body .app-shell .home160-actions{gap:0!important}body .app-shell .home160-actions .home160-action>i{width:41px!important;height:41px!important;min-width:41px!important}}
@media(prefers-reduced-motion:reduce){body .app-shell .home160-actions .home160-action>i{transition:none!important}}

body .app-shell .wallet163-privacy-note{margin:0 0 6px;color:#66738d;font-size:10px;line-height:1.45}
body .app-shell .wallet163-privacy-note[hidden]{display:none!important}

/* ORIGINAL SOURCE: assets/css/rdx-consistency-v13.css */
/* RDXPay v13: shared page reliability + action layout. Only presentation changes. */
:root{--rdx13-ink:#202947;--rdx13-purple:#663be8;--rdx13-line:#e3e7ef;--rdx13-surface:#fff;--rdx13-muted:#68758a}
/* One aligned four-column row; V12's max-width:326px created the empty gutters. */
body .app-shell .home160-balance{padding-inline:13px!important}
body .app-shell .home160-actions{
  width:100%!important;max-width:none!important;box-sizing:border-box!important;
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  justify-items:stretch!important;align-items:start!important;
  gap:clamp(4px,1.8vw,12px)!important;margin:11px 0 0!important;
  padding:12px 0 0!important;border-top:1px solid #e9edf4!important;
}
body .app-shell .home160-actions .home160-action{
  min-width:0!important;width:100%!important;min-height:79px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:flex-start!important;gap:6px!important;
  text-decoration:none!important;background:transparent!important;border:none!important;
  border-radius:11px!important;box-shadow:none!important;padding:2px 0 4px!important;
  font-size:11px!important;line-height:1.25!important;transition:none!important;
}
body .app-shell .home160-actions .home160-action > i{
  display:grid!important;place-items:center!important;
  width:48px!important;height:48px!important;min-width:48px!important;
  margin:0!important;border:none!important;border-radius:13px!important;
  color:#fff!important;font-size:19px!important;line-height:1!important;
  transition:transform .17s ease,box-shadow .17s ease!important;
}
body .app-shell .home160-actions .home160-action:nth-child(1)>i{background:linear-gradient(145deg,#12c98a,#02996b)!important;box-shadow:0 5px 10px rgba(0,146,94,.19)!important}
body .app-shell .home160-actions .home160-action:nth-child(2)>i{background:linear-gradient(145deg,#8664fa,#643fe0)!important;box-shadow:0 5px 10px rgba(100,63,224,.19)!important}
body .app-shell .home160-actions .home160-action:nth-child(3)>i{background:linear-gradient(145deg,#16c9ca,#009da8)!important;box-shadow:0 5px 10px rgba(0,157,168,.18)!important}
body .app-shell .home160-actions .home160-action:nth-child(4)>i{background:linear-gradient(145deg,#ffb434,#f0900c)!important;box-shadow:0 5px 10px rgba(240,144,12,.20)!important}
body .app-shell .home160-actions .home160-action>span{
  display:block!important;max-width:100%!important;white-space:normal!important;
  font-size:10.5px!important;font-weight:850!important;line-height:1.3!important;
  color:#202943!important;text-decoration:none!important;text-align:center!important
}
body .app-shell .home160-actions .home160-action:is(:hover,:focus-visible)>i{transform:translateY(-2px)!important;filter:brightness(1.035)!important}
body .app-shell .home160-actions .home160-action:focus-visible{outline:2px solid #714bea!important;outline-offset:2px!important}
@media(max-width:360px){body .app-shell .home160-balance{padding-inline:10px!important}body .app-shell .home160-actions{gap:3px!important}body .app-shell .home160-actions .home160-action>i{width:44px!important;height:44px!important;min-width:44px!important;font-size:17px!important}body .app-shell .home160-actions .home160-action>span{font-size:9.7px!important}}
/* Stable common layout for pages previously looking unstyled when older CSS partially fails. */
body .app-shell,body .app-shell *{box-sizing:border-box}
body .app-shell{min-width:0}
body .app-shell .detail-page{width:100%;min-width:0;max-width:535px;margin:0 auto;display:flex;flex-direction:column;gap:12px;padding:12px 11px calc(92px + env(safe-area-inset-bottom))}
body .app-shell .detail-page > *{min-width:0;max-width:100%}
body .app-shell .detail-page .v8-intro-card{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--rdx13-line);border-radius:14px;background:#fff;padding:15px;box-shadow:0 3px 12px rgba(30,44,74,.045)}
body .app-shell .v8-intro-card>i{flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#f0ecff;color:var(--rdx13-purple);font-size:17px}
body .app-shell .v8-intro-card>div{min-width:0;flex:1}
body .app-shell .v8-intro-card h1{margin:3px 0 5px;color:var(--rdx13-ink);font-size:19px;line-height:1.22}
body .app-shell .v8-intro-card p{margin:0;color:var(--rdx13-muted);line-height:1.55;font-size:11px}
body .app-shell .v8-intro-card span{color:#6f50c1;font-weight:850;font-size:9px;letter-spacing:.065em}
body .app-shell .detail-page .form-card,body .app-shell .detail-page .support-ticket-card,body .app-shell .detail-page .security-card-v8,
body .app-shell .detail-page .v7-section{max-width:100%;min-width:0;border:1px solid var(--rdx13-line);border-radius:14px;background:#fff;padding:13px;box-shadow:0 3px 12px rgba(30,44,74,.04)}
body .app-shell .detail-page .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body .app-shell .detail-page .field{min-width:0;display:flex;flex-direction:column;gap:6px}
body .app-shell .detail-page .field.full{grid-column:1/-1}
body .app-shell .detail-page .field>label{font-size:11px;font-weight:750;color:var(--rdx13-ink)}
body .app-shell .detail-page :is(.input,.select,.textarea){max-width:100%;width:100%;border:1px solid #dbe2ed;border-radius:11px;min-height:43px;padding:10px 12px;background:#fff;color:var(--rdx13-ink);font-size:12px}
body .app-shell .detail-page .textarea{min-height:100px;resize:vertical}
body .app-shell .detail-page :is(.input,.select,.textarea):focus-visible{outline:2px solid rgba(104,68,220,.28);outline-offset:1px;border-color:#8968ed}
body .app-shell .detail-page .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:41px;padding:9px 13px;border-radius:11px;text-decoration:none;font-size:11px;font-weight:850;cursor:pointer}
body .app-shell .detail-page .btn-block{width:100%}
body .app-shell .detail-page .btn-primary{background:#663be8;color:white;border:0}
body .app-shell .detail-page :is(.history-list,.reward-page-list,.team-list-v8){min-width:0;display:flex;flex-direction:column;gap:9px}
body .app-shell .detail-page .history-row{min-width:0;display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--rdx13-line);border-radius:12px;background:#fff;text-decoration:none;color:var(--rdx13-ink)}
body .app-shell .detail-page .history-row>div{min-width:0}
body .app-shell .detail-page .history-row>div:nth-child(2){flex:1}
body .app-shell .detail-page .history-row strong{display:block;overflow-wrap:anywhere}
body .app-shell .detail-page .history-row span{display:block;color:var(--rdx13-muted);font-size:10px;line-height:1.55}
body .app-shell .detail-page .empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:25px 15px;border:1px dashed #d8deea;border-radius:13px;background:#fff;text-align:center}
body .app-shell .detail-page .empty-state>i{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#f1ecff;color:var(--rdx13-purple)}
body .app-shell .detail-page .empty-state strong{display:block;color:var(--rdx13-ink);font-size:12px}
body .app-shell .detail-page .empty-state span{display:block;color:var(--rdx13-muted);font-size:10px;line-height:1.55}
body .app-shell .detail-page .team-list-v8 article{display:flex;align-items:center;gap:10px;min-width:0;border:1px solid var(--rdx13-line);border-radius:12px;background:#fff;padding:12px}
body .app-shell .detail-page .team-list-v8 article>div:nth-child(2){min-width:0;flex:1}
body .app-shell .detail-page .team-list-v8 article strong,body .app-shell .detail-page .team-list-v8 article span,body .app-shell .detail-page .team-list-v8 article small{display:block;overflow-wrap:anywhere}
body .app-shell .detail-page .security-email-v8{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;border-bottom:1px solid var(--rdx13-line)}
body .app-shell .detail-page .security-email-v8>div{min-width:0}
body .app-shell .detail-page .security-email-v8 strong{display:block;overflow-wrap:anywhere}
body .app-shell .detail-page .security-card-v8>a{display:flex;align-items:center;gap:12px;min-height:60px;padding:11px 3px;border-bottom:1px solid var(--rdx13-line);color:var(--rdx13-ink);text-decoration:none}
body .app-shell .detail-page .security-card-v8>a:last-child{border-bottom:0}
body .app-shell .detail-page .security-card-v8>a>div{min-width:0;flex:1}
body .app-shell .detail-page .security-card-v8>a strong,body .app-shell .detail-page .security-card-v8>a small{display:block}
body .app-shell .detail-page .security-card-v8>a small{color:var(--rdx13-muted);margin-top:3px}
body .app-shell .detail-page .security-card-v8>a>span{width:37px;height:37px;display:grid;place-items:center;background:#f0ebff;color:#6336df;border-radius:10px}
body .app-shell .detail-page .info-note-v8{display:flex;align-items:flex-start;gap:8px;line-height:1.5;font-size:11px;color:#6e778a;padding:0 4px}
body .app-shell .detail-page .support-methods-v8{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body .app-shell .detail-page .support-methods-v8 a{display:flex;align-items:center;gap:8px;min-width:0;padding:12px;border:1px solid var(--rdx13-line);border-radius:11px;background:#fff;text-decoration:none;color:var(--rdx13-ink)}
body .app-shell .detail-page .support-methods-v8 a>div{min-width:0;flex:1}
body .app-shell .detail-page .support-methods-v8 strong,body .app-shell .detail-page .support-methods-v8 span{display:block}
body .app-shell .detail-page :is(.status,.optional-pill){white-space:nowrap}
body .app-shell :is(a,button){-webkit-tap-highlight-color:transparent}
@media(max-width:360px){body .app-shell .detail-page{padding-inline:9px!important}body .app-shell .detail-page .support-methods-v8{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body .app-shell .home160-actions .home160-action>i{transition:none!important}}
/* Shared navigation/header fallback: these classes are used by all authenticated user pages. */
body .app-shell .app-header{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0;min-height:56px;padding:8px 12px;background:#fff;border-bottom:1px solid #e6eaf1}
body .app-shell .app-header .header-logo{display:inline-flex;align-items:center;min-width:0;text-decoration:none;flex:0 1 auto}
body .app-shell .app-header .header-logo img{display:block;width:auto;height:auto;max-height:43px;max-width:min(150px,38vw);object-fit:contain}
body .app-shell .app-header .header-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}
body .app-shell .app-header .header-lang-form{display:inline-flex;align-items:center;margin:0}
body .app-shell .app-header :is(.header-icon-btn,.header-language){display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:34px;min-height:34px;border-radius:10px;border:1px solid #e6e2f7;background:#fff;color:#5935ca;text-decoration:none;white-space:nowrap}
body .app-shell .app-header .header-language{padding:0 9px;font-size:10px;font-weight:800}
body .app-shell .app-header.app-header-back .header-logo{margin-inline:auto}
@media(max-width:360px){body .app-shell .app-header{padding-inline:8px;gap:5px}body .app-shell .app-header .header-logo img{max-width:125px}body .app-shell .app-header .header-actions{gap:4px}}

/* ORIGINAL SOURCE: assets/css/rdx-avatar-sizing-v14.css */
/* RDXPay v14: maintain initial website's proportions outside the four home shortcuts. */
body .app-shell .home160-balance{padding:15px!important;border-radius:13px!important}
body .app-shell .home160-balance-top{gap:12px!important}
body .app-shell .home160-main strong{font-size:30px!important;line-height:1.08!important}
body .app-shell .home160-commission{min-width:130px!important;padding:9px 10px!important;border-radius:10px!important}
body .app-shell .home160-stats{gap:8px!important;margin-top:9px!important}
body .app-shell .home160-stat{padding:12px!important;border-radius:12px!important}
body .app-shell .account155{max-width:520px!important;padding:13px 12px calc(88px + env(safe-area-inset-bottom))!important}
body .app-shell .account155-hero{padding:13px!important;border-radius:14px!important}
body .app-shell .account155-title{font-size:22px!important;margin:2px 1px 12px!important}
body .app-shell .account155-user{grid-template-columns:56px minmax(0,1fr) 34px!important;gap:10px!important}
body .app-shell .account155-avatar{width:56px!important;height:56px!important;border-radius:12px!important;flex:0 0 56px!important}
body .app-shell .account155-avatar img,body .app-shell .account-avatar-v8 img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 34%!important}
body .app-shell .account155-balances{gap:8px!important;margin-top:11px!important}
body .app-shell .account155-balance{padding:10px!important;border-radius:10px!important}
body .app-shell .account155-balances strong{font-size:15px!important;margin-top:4px!important}
body .app-shell .account155-shortcuts{gap:7px!important;margin-top:10px!important}
body .app-shell .account155-shortcuts .account155-shortcut{height:67px!important;min-height:67px!important;border-radius:10px!important}
body .app-shell .account155-menu a{min-height:57px!important;padding:8px 4px!important}
body .app-shell .account155-menu .account155-icon{width:38px!important;height:38px!important}
body .app-shell .rdx8-ref-head-icon{display:grid!important;place-items:center!important;overflow:visible!important}
body .app-shell .rdx8-ref-head-icon img{width:52px!important;height:52px!important;display:block!important;object-fit:contain!important;filter:drop-shadow(0 3px 5px rgba(0,90,55,.12))}
body .app-shell .detail-page .rdx-avatar-choice{padding:0!important;margin:0!important;border:0!important;min-width:0}
body .app-shell .rdx-avatar-choice legend{padding:0;margin:0 0 5px;font-size:11px;font-weight:800;color:#25294c}
body .app-shell .rdx-avatar-choice p{margin:0 0 10px;color:#758095;font-size:10px;line-height:1.5}
body .app-shell .rdx-avatar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body .app-shell .rdx-avatar-option{display:block;position:relative;cursor:pointer;min-width:0}
body .app-shell .rdx-avatar-option input{position:absolute;opacity:0;width:1px;height:1px}
body .app-shell .rdx-avatar-option>span{display:block;padding:5px;border:2px solid #e2e5f1;border-radius:12px;background:#fff;text-align:center;transition:border-color .15s,background-color .15s}
body .app-shell .rdx-avatar-option img{width:100%;max-height:76px;aspect-ratio:1/1;object-fit:cover;object-position:center 32%;display:block;border-radius:8px}
body .app-shell .rdx-avatar-option small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;margin-top:5px;color:#536077}
body .app-shell .rdx-avatar-option input:checked+span{border-color:#6745e8;background:#f6f2ff}
body .app-shell .rdx-avatar-option input:focus-visible+span{outline:2px solid #6745e8;outline-offset:2px}
@media(max-width:390px){body .app-shell .account155{padding-inline:10px!important}body .app-shell .account155-user{grid-template-columns:52px minmax(0,1fr) 32px!important}body .app-shell .account155-avatar{width:52px!important;height:52px!important}body .app-shell .rdx-avatar-grid{gap:6px}body .app-shell .home160-commission{min-width:116px!important}}

body .app-shell .app-header .rdx-header-profile-link{padding:3px!important;overflow:hidden!important;border-radius:12px!important}
body .app-shell .app-header .rdx-header-avatar{width:28px!important;height:28px!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center 32%!important;border-radius:9px!important;display:block!important}

/* ORIGINAL SOURCE: assets/css/rdx-fixes-v15.css */
/* RDXPay v15 targeted layout and feature fixes: keep earlier V14 features intact */
body .app-shell .home160-main strong{font-size:34px!important;line-height:1.1!important}
body .app-shell .home160-commission{min-width:136px!important;padding:11px 12px!important}
body .app-shell .home160-commission b{font-size:17px!important}
body .app-shell .account155-balances strong{font-size:19px!important;line-height:1.2!important}
body .app-shell .account155-balance{padding:12px 11px!important}
body .app-shell .account155-avatar{background:transparent!important;border:0!important;box-shadow:none!important;overflow:hidden!important}
body .app-shell .account155-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 32%!important;display:block!important;border-radius:inherit!important}
/* A tidy, native picker; no large full-size portrait on the edit form */
body .app-shell .rdx15-profile-page{padding:14px 13px 104px!important;width:100%;max-width:540px;margin:0 auto;box-sizing:border-box}
body .app-shell .rdx15-profile-card{display:block!important;padding:17px!important;border:1px solid #e5e6ed!important;border-radius:15px!important;background:#fff!important;box-shadow:0 4px 18px rgba(30,34,68,.045)!important}
.rdx15-profile-head h1{margin:0;font-size:19px;font-weight:850;color:#20233c}.rdx15-profile-head p{margin:4px 0 16px;font-size:11px;color:#778092}
body .app-shell .rdx15-profile-form{display:grid!important;gap:13px!important;grid-template-columns:minmax(0,1fr)!important}
body .app-shell .rdx15-profile-form>.field{display:grid!important;gap:7px!important;min-width:0}
body .app-shell .rdx15-profile-form .input-shell{display:flex!important;align-items:center;position:relative;width:100%!important}
body .app-shell .rdx15-profile-form .input{width:100%!important;min-width:0!important;min-height:42px!important}
.rdx15-avatar-picker{min-width:0;width:100%}.rdx15-avatar-picker summary{list-style:none;display:flex;gap:12px;align-items:center;padding:9px 10px;border-radius:12px;border:1px solid #e3e5ef;background:#fafaff;cursor:pointer}.rdx15-avatar-picker summary::-webkit-details-marker{display:none}.rdx15-current-avatar{width:58px;height:58px;flex:0 0 58px;overflow:hidden;border-radius:12px;background:#f3f4f8}.rdx15-current-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 33%}.rdx15-picture-copy{flex:1;display:grid;gap:5px}.rdx15-picture-copy strong{font-size:12px;color:#22294b}.rdx15-picture-copy small{font-size:10px;color:#70788c}.rdx15-avatar-picker summary>i{color:#6240c2}.rdx15-avatar-panel{margin-top:10px;padding:12px;border:1px solid #e5e4f0;border-radius:12px}.rdx15-avatar-panel p{margin:0 0 10px;font-size:11px;color:#70788c}.rdx15-avatar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.rdx15-avatar-tile{width:100%;min-width:0;padding:4px;border:1px solid #e4e6f1;border-radius:11px;background:white;cursor:pointer}.rdx15-avatar-tile img{display:block;width:100%;aspect-ratio:1;object-fit:cover;object-position:center 33%;border-radius:8px}.rdx15-avatar-tile span{display:block;margin-top:5px;text-align:center;font-size:9px;color:#6e5db2}.rdx15-avatar-tile:hover,.rdx15-avatar-tile:focus-visible{border-color:#704ae1;background:#f8f5ff}.rdx15-upload{display:flex;gap:9px;align-items:center;padding:11px;margin-top:11px;border:1px dashed #bfc3dc;border-radius:10px;font-weight:750;font-size:11px;color:#5943b5;cursor:pointer}.rdx15-upload input{width:1px;height:1px;opacity:0;position:absolute}.rdx15-avatar-panel>small{font-size:9px;color:#7a8394;display:block;margin-top:5px}
/* Three independent referral metrics, less dead space */
.app-shell .rdx15-ref-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important}
.app-shell .rdx15-ref-metric{min-width:0;padding:13px 10px!important;background:#fff;border:1px solid #e4e6f0;border-radius:12px;box-shadow:0 3px 10px rgba(40,35,75,.04)}
.rdx15-ref-metric span{display:block;font-size:10px;line-height:1.45;color:#777a94}.rdx15-ref-metric span i{margin-right:3px;color:#6844c3}.rdx15-ref-metric strong{display:block;margin-top:7px;font-size:20px;font-weight:900;line-height:1.2;color:#2c245b;overflow-wrap:anywhere}
/* Support category icons in dropdown rows */
.app-shell .rdx9-select-option{display:flex!important;align-items:center!important;gap:10px!important;text-align:left!important}
.rdx9-option-icon{width:19px;text-align:center;color:#6441bb;font-size:13px}.rdx9-select-option>span{flex:1;font-size:12px}
/* Live chat: inline media previews and send action at same row */
body.pn-live-chat-page .pn-live-chat-composer{display:grid!important;grid-template-columns:34px 34px minmax(0,1fr) 38px!important;gap:7px!important;align-items:center!important;padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important}
body.pn-live-chat-page .pn-live-chat-composer>.rdx8-attach-btn{grid-area:1/1!important;width:34px!important;height:34px!important}
body.pn-live-chat-page .pn-live-chat-composer>.rdx8-mic-btn{grid-area:1/2!important;width:34px!important;height:34px!important}
body.pn-live-chat-page .pn-live-chat-composer>.pn-live-chat-input{grid-area:1/3!important;min-width:0!important;width:100%!important}
body.pn-live-chat-page .pn-live-chat-composer>.pn-live-chat-send{grid-area:1/4!important;width:38px!important;height:38px!important}
body.pn-live-chat-page .pn-live-chat-composer>.rdx8-upload-label{grid-area:2/1/3/5!important;display:flex!important;flex-wrap:wrap!important;gap:7px!important;min-width:0!important;background:transparent!important;padding:3px 0!important}
body.pn-live-chat-page .pn-live-chat-composer>.rdx8-upload-label.rdx8-hide{display:none!important}
.rdx15-media-chip{display:flex;align-items:center;gap:7px;max-width:100%;min-width:0;background:#f1edfe;border:1px solid #e6dfff;border-radius:9px;padding:5px 7px}.rdx15-media-chip img{width:39px;height:39px;flex:0 0 39px;object-fit:cover;border-radius:6px}.rdx15-media-chip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:195px;color:#514092;font-size:10px}.rdx15-media-chip button{border:0;background:#fff;color:#6943a9;border-radius:6px;min-width:25px;height:25px;cursor:pointer}
@media(max-width:375px){body .app-shell .home160-main strong{font-size:29px!important}body .app-shell .home160-commission{min-width:118px!important}body .app-shell .rdx15-ref-metrics{gap:5px!important}.app-shell .rdx15-ref-metric{padding:10px 7px!important}.rdx15-ref-metric strong{font-size:16px!important}.rdx15-avatar-grid{gap:5px}}

/* ORIGINAL SOURCE: assets/css/rdx-fixes-v16.css */
/* RDXPay V16: no global overrides; fix only visible screenshot defects. */
/* Account: keep the card compact, eliminate accidental white framing in photo. */
body .app-shell .account155-avatar{display:block!important;overflow:hidden!important;border:0!important;background:transparent!important;padding:0!important;border-radius:10px!important;box-shadow:none!important}
body .app-shell .account155-avatar img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 28%!important;border:0!important;outline:0!important;border-radius:10px!important}
body .app-shell .account155-user{align-items:center!important}
body .app-shell .account155-balances{gap:11px!important;margin-top:14px!important}
body .app-shell .account155-balance{padding:14px 12px!important;min-height:71px!important;background:rgba(255,255,255,.11)!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:11px!important;box-sizing:border-box}
body .app-shell .account155-balance span{display:block!important;font-size:11px!important;line-height:1.35!important}
body .app-shell .account155-balance strong{display:block!important;margin-top:7px!important;font-size:21px!important;line-height:1.1!important;letter-spacing:-.3px!important;color:#fff!important}
/* Header picture should be centered within the button without double padding. */
body .app-shell .app-header .rdx-header-profile-link{display:grid!important;place-items:center!important;overflow:hidden!important;padding:0!important;border:1px solid #e8e4f5!important;background:#fff!important;border-radius:10px!important}
body .app-shell .app-header .rdx-header-avatar{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 25%!important;border:0!important;border-radius:9px!important}
/* Profile Editor: no external form reset, stable click-to-change avatar. */
body .app-shell .rdx15-profile-card{max-width:100%;overflow:visible}
body .app-shell .rdx15-avatar-picker summary{min-height:66px;gap:10px}
body .app-shell .rdx15-current-avatar{display:block!important;overflow:hidden!important;width:51px!important;height:51px!important;flex:0 0 51px!important;border-radius:10px!important;background:transparent!important}
body .app-shell .rdx15-current-avatar img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 25%!important;border-radius:10px!important}
body .app-shell .rdx15-avatar-panel{background:#fff}
body .app-shell .rdx15-avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}
body .app-shell .rdx15-avatar-tile img{height:auto!important;aspect-ratio:1/1;object-fit:cover!important}
/* Referral QR is now a protected, server-rendered SVG. The link downloads it directly. */
body .app-shell .rdx8-ref-qr{padding:6px!important;overflow:hidden!important;background:#fff!important}
body .app-shell .rdx8-ref-qr .rdx16-qr-image{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:1/1;object-fit:contain;image-rendering:auto}
body .app-shell .rdx8-ref-qr-section .rdx16-save-qr{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:35px;padding:8px 13px;border:1px solid #ded7f1;background:#f5f1ff;color:#5736b3;font-size:11px;font-weight:800;border-radius:9px;text-decoration:none!important}
body .app-shell .rdx8-ref-qr-section .rdx16-save-qr i{margin:0}
@media(max-width:390px){body .app-shell .account155-balance{padding:11px 9px!important;min-height:68px!important}body .app-shell .account155-balance strong{font-size:18px!important}body .app-shell .rdx15-avatar-grid{gap:6px!important}}

body .app-shell .rdx15-avatar-tile.rdx16-avatar-selected{border:2px solid #6942e6!important;background:#f5f0ff!important}
body .app-shell .rdx15-avatar-tile.rdx16-avatar-selected span{color:#4a27ab!important;font-weight:850}
body .app-shell .app-header .rdx-header-profile-link{background:transparent!important;border:0!important}

/* V16 final: compact balance cards and a clear trading-profit commission treatment. */
body .app-shell .home160-balance{
  padding:12px 14px!important;
  border-radius:13px!important;
}
body .app-shell .home160-balance-top{align-items:center!important;gap:10px!important}
body .app-shell .home160-balance .home160-main strong{
  font-size:27px!important;
  line-height:1.06!important;
}
body .app-shell .home160-commission{
  min-width:122px!important;
  padding:9px 11px!important;
  border-radius:11px!important;
  background:#11191b!important;
  border:1px solid #244537!important;
  box-shadow:0 3px 10px rgba(9,25,21,.12)!important;
  backdrop-filter:none!important;
}
body .app-shell .home160-commission span{color:#c0decf!important;font-size:10px!important}
body .app-shell .home160-commission b{color:#32e18c!important;font-size:17px!important;font-variant-numeric:tabular-nums}
body .app-shell .home160-actions{
  margin-top:10px!important;
  padding-top:10px!important;
}
body .app-shell .account155-hero{padding:12px!important}
body .app-shell .account155-balances{gap:9px!important;margin-top:10px!important}
body .app-shell .account155-balance{
  min-height:62px!important;
  padding:10px 11px!important;
  border-radius:10px!important;
}
body .app-shell .account155-balance span{font-size:10px!important}
body .app-shell .account155-balance strong{font-size:19px!important;margin-top:5px!important;line-height:1.12!important}
body .app-shell .account155-balance:last-child{
  background:#11191b!important;
  border:1px solid #24533b!important;
  box-shadow:0 3px 10px rgba(5,16,14,.14)!important;
}
body .app-shell .account155-balance:last-child span{color:#bfdfcd!important}
body .app-shell .account155-balance:last-child strong{color:#32e18c!important}
@media(max-width:390px){
  body .app-shell .home160-balance{padding:11px 12px!important}
  body .app-shell .home160-commission{min-width:111px!important;padding:8px 9px!important}
  body .app-shell .home160-balance .home160-main strong{font-size:25px!important}
  body .app-shell .account155-balance{min-height:59px!important;padding:9px!important}
  body .app-shell .account155-balance strong{font-size:17px!important}
}

/* ORIGINAL SOURCE: assets/css/rdx-fixes-v17.css */
/* RDXPay V17 | scoped repairs above V16, never alters transaction data. */
:root{--rdx17-profit:#37e69a;--rdx17-dark:#142c25}
/* Commission: dark green-charcoal instead of visually harsh neutral black on white. */
body .app-shell .home160-commission{
  background:#142c25!important;border:1px solid #3b6c58!important;
  box-shadow:0 0 0 2px rgba(34,163,111,.09),0 3px 9px rgba(18,63,45,.10)!important;
  color:#f1fff7!important
}
body .app-shell .home160-commission span{color:#c9e5d6!important}
body .app-shell .home160-commission b{color:var(--rdx17-profit)!important}
body .app-shell .account155-balance:last-child{
  background:#142c25!important;border:1px solid #40745d!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important
}
body .app-shell .account155-balance:last-child span{color:#c9e5d6!important}
body .app-shell .account155-balance:last-child strong{color:var(--rdx17-profit)!important}
/* Balance cards: main balance must never be squeezed by the commission block. */
body .app-shell .account155-balances{display:grid!important;grid-template-columns:minmax(0,1.22fr) minmax(0,1fr)!important;gap:9px!important;width:100%!important;min-width:0!important}
body .app-shell .account155-balance{min-width:0!important;max-width:100%!important;overflow:hidden!important;box-sizing:border-box!important}
body .app-shell .account155-balance:first-child strong{white-space:nowrap!important;font-size:clamp(18px,5vw,22px)!important;letter-spacing:-.03em!important}
body .app-shell .account155-balance:last-child strong{font-size:clamp(16px,4.4vw,20px)!important;white-space:nowrap!important}
body .app-shell .account155-balance span{font-size:10px!important;line-height:1.3!important;white-space:normal!important}
@media(max-width:350px){body .app-shell .account155-balances{gap:6px!important}body .app-shell .account155-balance{padding:9px 7px!important}body .app-shell .account155-balance:first-child strong{font-size:18px!important}body .app-shell .account155-balance:last-child strong{font-size:16px!important}}
/* Header icon = site favicon, independent of personal profile picture. */
body .app-shell .app-header .rdx-header-profile-link{border:1px solid #e8e5f3!important;background:#f8f7fc!important;padding:4px!important;overflow:hidden!important;border-radius:10px!important;display:grid!important;place-items:center!important}
body .app-shell .app-header .rdx-header-avatar{object-fit:contain!important;object-position:center!important;display:block!important;width:100%!important;height:100%!important;border:0!important;border-radius:4px!important}
/* Live chat: visual thumbnail only, no raw upload names or full file paths. */
body .app-shell .rdx15-media-chip{display:flex!important;align-items:center!important;padding:4px!important;gap:7px!important;max-width:96px!important;width:auto!important;border:1px solid #e9e4f5!important;border-radius:11px!important;background:#fff!important;overflow:hidden!important}
body .app-shell .rdx15-media-chip img{display:block!important;width:52px!important;height:52px!important;object-fit:cover!important;border-radius:7px!important;flex:none!important}
body .app-shell .rdx15-media-chip small{display:none!important}
body .app-shell .rdx15-media-chip.rdx17-voice small{display:inline!important;font-size:11px!important;white-space:nowrap!important}
body .app-shell .pn-live-chat-composer>.rdx8-upload-label{display:flex!important;align-items:center!important;flex-wrap:wrap!important}
body .app-shell .pn-live-chat-composer>.rdx8-upload-label.rdx8-hide{display:none!important}

/* ORIGINAL SOURCE: assets/css/rdx-fixes-v18.css */
/* RDXPay V18: corrections scoped to existing live components, no database migration. */
/* Profit readout: soft mint and legible green, not a black slab on white. */
body .app-shell .home160-commission,
body .app-shell .account155-hero .account155-balances>.account155-balance:last-child{
 background:#eaf9f0!important;border:1px solid #b5e7cb!important;
 box-shadow:0 2px 7px rgba(11,112,67,.065)!important;color:#115f39!important;
 border-radius:11px!important;
}
body .app-shell .home160-commission span,
body .app-shell .account155-balances>.account155-balance:last-child span{color:#386c50!important;font-weight:750!important}
body .app-shell .home160-commission b,
body .app-shell .account155-balances>.account155-balance:last-child strong{color:#079653!important}
/* Always give both balance amounts a clear aligned interior margin and real grid space. */
body .app-shell .account155-hero .account155-balances{
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
 align-items:stretch!important;gap:10px!important;width:100%!important;min-width:0!important;
 margin:13px 0 0!important;padding:0!important;
}
body .app-shell .account155-hero .account155-balances>.account155-balance{
 min-width:0!important;width:auto!important;max-width:none!important;min-height:72px!important;
 box-sizing:border-box!important;margin:0!important;padding:12px 13px!important;
 border-radius:11px!important;display:flex!important;flex-direction:column!important;
 align-items:flex-start!important;justify-content:center!important;overflow:hidden!important;
}
body .app-shell .account155-hero .account155-balances>.account155-balance:first-child{
 background:rgba(255,255,255,.11)!important;border:1px solid rgba(255,255,255,.17)!important;
 box-shadow:none!important;
}
body .app-shell .account155-hero .account155-balance span{
 display:block!important;position:static!important;margin:0 0 5px!important;
 font-size:10px!important;line-height:1.35!important;white-space:normal!important;
}
body .app-shell .account155-hero .account155-balance:first-child span{color:#e9e5f9!important}
body .app-shell .account155-hero .account155-balance strong{
 position:static!important;display:block!important;margin:0!important;max-width:100%!important;
 font-size:clamp(17px,4.6vw,23px)!important;line-height:1.17!important;
 letter-spacing:-.025em!important;white-space:nowrap!important;
 font-weight:850!important;font-variant-numeric:tabular-nums!important;
}
@media(max-width:360px){body .app-shell .account155-hero .account155-balances{gap:7px!important}
body .app-shell .account155-hero .account155-balances>.account155-balance{padding:10px 8px!important;min-height:66px!important}
body .app-shell .account155-hero .account155-balance strong{font-size:17px!important}}
/* Profile fields: icons remain outside, spaced away from the editable input boundaries. */
body .app-shell .rdx15-profile-form{grid-template-columns:minmax(0,1fr)!important;gap:17px!important}
body .app-shell .rdx15-profile-form>.field{width:100%!important;min-width:0!important;gap:8px!important}
body .app-shell .rdx15-profile-form>.field>label{margin:0!important;font-size:11px!important;line-height:1.4!important}
body .app-shell .rdx15-profile-form .input-shell{display:grid!important;grid-template-columns:16px minmax(0,1fr)!important;align-items:center!important;gap:11px!important;min-height:43px!important}
body .app-shell .rdx15-profile-form .input-shell>i{position:static!important;transform:none!important;width:16px!important;text-align:center!important;margin:0!important;flex:none!important;color:#534698!important}
body .app-shell .rdx15-profile-form .input-shell>.input{display:block!important;margin:0!important;min-width:0!important;width:100%!important;padding:10px 12px!important;min-height:43px!important;line-height:1.4!important}
body .app-shell .rdx15-profile-card .rdx15-avatar-panel{overflow:hidden!important}
body .app-shell .rdx15-avatar-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
body .app-shell .rdx15-avatar-tile{padding:5px!important;min-width:0!important;overflow:hidden!important}
body .app-shell .rdx15-avatar-tile img{aspect-ratio:1!important;object-fit:contain!important;background:#f5f1ff!important}
/* Selected chat photo: tiny removable x in top corner; no raw filename. */
body.pn-live-chat-page .rdx15-media-chip,
body .app-shell .rdx15-media-chip{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none!important;width:65px!important;height:65px!important;max-width:65px!important;min-width:0!important;padding:4px!important;gap:0!important;border-radius:11px!important;overflow:hidden!important;background:#fff!important;border:1px solid #dfe1ec!important;box-shadow:0 1px 5px rgba(29,30,52,.05)!important}
body.pn-live-chat-page .rdx15-media-chip img,
body .app-shell .rdx15-media-chip img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:7px!important;flex:1!important}
body.pn-live-chat-page .rdx15-media-chip:not(.rdx17-voice) small,
body .app-shell .rdx15-media-chip:not(.rdx17-voice) small{display:none!important}
body.pn-live-chat-page .rdx15-media-chip>button,
body .app-shell .rdx15-media-chip>button{position:absolute!important;top:3px!important;right:3px!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;line-height:16px!important;padding:0!important;border-radius:50%!important;background:rgba(29,33,46,.8)!important;color:#fff!important;border:1px solid rgba(255,255,255,.9)!important;box-shadow:0 1px 3px rgba(0,0,0,.15)!important;font-size:12px!important;text-align:center!important;z-index:2!important;cursor:pointer!important}
body.pn-live-chat-page .rdx15-media-chip.rdx17-voice{width:auto!important;max-width:160px!important;padding:5px 25px 5px 10px!important;gap:6px!important}
body.pn-live-chat-page .rdx15-media-chip.rdx17-voice small{display:inline!important;font-size:10px!important}
@media(prefers-reduced-motion:reduce){.rdx15-avatar-tile{transition:none!important}}

/* Semantic result colors across user pages. */
.status.success,.status.approved,.status.completed,.status.active,.status.paid,.status.answered,.alert.success{background:#e6f8ed!important;color:#087542!important;border-color:#a8e5c1!important}
.status.danger,.status.rejected,.status.cancelled,.status.failed{background:#fff0f0!important;color:#b42336!important;border-color:#ffcbd2!important}
