/* 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}
