/* RDXPay 2026 brand refresh. Intentionally loaded after the legacy page-local CSS. */
:root{--rdx-primary:#6745e8;--rdx-primary-strong:#4e2bce;--rdx-accent:#9d4edc;--rdx-blue:#3260ea;--rdx-ink:#1b2145;--rdx-subtle:#65708b;--rdx-surface:#fff;--rdx-line:#e4e5f5;--rdx-soft:#f5f2ff;--rdx-shadow:0 16px 42px rgba(46,34,113,.09);--rdx-gradient:linear-gradient(123deg,#6745e8 0%,#8f49e7 50%,#3260ea 100%);--brand:#6745e8;--brand-dark:#4e2bce;--brand-soft:#f0edff}
html{color-scheme:light;scroll-behavior:smooth}body{background:radial-gradient(ellipse 125% 310px at 50% -160px,#dcd8ff 0,transparent 80%),#f8f9fe;color:var(--rdx-ink);-webkit-font-smoothing:antialiased}body,button,input,select,textarea{font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif}
a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--rdx-primary);outline-offset:3px}
.app-shell{background:transparent!important}.app-header{background:rgba(255,255,255,.91)!important;backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px);border-bottom:1px solid #ebe9fa!important;box-shadow:0 10px 30px rgba(61,53,123,.06)!important}.app-header .header-logo img{max-height:41px;object-fit:contain}.app-header .header-icon-btn,.header-language{border-color:#e6e4f8!important;background:#f7f5ff!important;color:#5539bf!important;border-radius:12px!important}
.bottom-nav{border:1px solid #e9e6fa!important;border-bottom:0!important;background:rgba(255,255,255,.97)!important;box-shadow:0 -10px 35px rgba(38,33,86,.08)!important;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}.bottom-nav .nav-item.active,.bottom-nav a.active{color:var(--rdx-primary)!important}.bottom-nav .nav-item.active .nav-icon-wrap{background:#ede8ff!important;color:#6745e8!important;border-radius:13px}
.home160,.wallet163,.market160,.ref160,.profile160,.offers160,.tx160,.rdx-order-page{color:var(--rdx-ink)!important}.home160-section-head h2,.wallet163-head h1,.home160-section-head h2,.market160 h1{font-weight:850!important;letter-spacing:-.035em}
.home160-balance{position:relative;overflow:hidden;background:linear-gradient(125deg,#20134c 0%,#5530bc 47%,#774df2 100%)!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:23px!important;box-shadow:0 18px 40px rgba(76,48,171,.2)!important;padding:19px!important}
.home160-balance:before{content:"";pointer-events:none;position:absolute;width:230px;height:230px;right:-78px;top:-115px;border:1px solid rgba(255,255,255,.16);border-radius:50%;box-shadow:0 0 0 35px rgba(255,255,255,.035),0 0 0 72px rgba(255,255,255,.025)}
.home160-balance .home160-main .home160-label,.home160-balance .home160-main strong,.home160-balance .home160-commission span,.home160-balance .home160-commission b{color:#fff!important}.home160-balance .home160-label{opacity:.78}.home160-commission{background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:15px!important;backdrop-filter:blur(12px)}
.home160-actions{border-top:1px solid rgba(255,255,255,.15)!important}.home160-action{color:#f8f5ff!important;position:relative}.home160-action i{width:46px!important;height:46px!important;background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.15)!important;box-shadow:none!important;border-radius:14px!important;font-size:17px!important}.home160-action:hover i{transform:translateY(-2px);background:rgba(255,255,255,.25)!important}
.home160-stat,.home160-tx,.home160-tutorial,.wallet163-card,.market160-card,.market153-card,.offer-card,.rdx-order-card,.panel,.home160-notice,.home160-empty,.auth-info-item{background:#fff!important;border:1px solid var(--rdx-line)!important;box-shadow:0 7px 22px rgba(47,42,105,.045)!important;border-radius:17px!important}
.home160-stat{padding:16px!important}.home160-stat strong{font-size:20px!important;color:#4224a6!important}.home160-stat span{font-size:10px!important}.home160-section-head a,.wallet163-history{color:var(--rdx-primary)!important}.home160-tx,.home160-tutorial{padding:12px!important}.home160-tx-icon{background:var(--rdx-gradient)!important;border-radius:13px!important}.home160-tx strong,.home160-tutorial strong{font-size:12px!important}.home160-tx small,.home160-tutorial small{font-size:10px!important}
.home160-banner .banner-card-v7{border:1px solid #e5e1f8!important;border-radius:19px!important;box-shadow:var(--rdx-shadow)!important}.home160-dots i.active{background:var(--rdx-primary)!important}
.wallet163-card{padding:13px!important}.wallet163-card .wallet163-arrow{background:#f0edff!important;color:#5e39cb!important}.wallet163-state{background:#f0edff!important;color:#5939b5!important}.wallet163-panel,.ev-sheet{border:1px solid #e4e1f4!important;box-shadow:0 -24px 65px rgba(27,22,73,.23)!important}.ev-icon,.ev-send-row .btn{background:#efeaff!important;color:#5937cf!important}.ev-actions .btn,.auth163-submit{background:var(--rdx-gradient)!important;color:#fff!important;box-shadow:0 9px 24px rgba(103,69,232,.24)!important}
.rdx-submit-btn,.home160-action i,.nav-icon-wrap,.auth163-submit,button{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}.rdx-submit-btn:active,.auth163-submit:active,button:active{transform:scale(.987)}
/* Authentication is shared by login, registration and OTP. */
body.auth163-page{background:radial-gradient(ellipse 430px 300px at 15% 12%,rgba(148,105,240,.16),transparent),radial-gradient(ellipse 500px 380px at 88% 80%,rgba(50,96,234,.12),transparent),#f8f8fe!important}
.auth163{max-width:525px!important;padding:22px 18px 30px!important;justify-content:flex-start}.auth163-top{margin-bottom:16px}.auth163-lang{border:1px solid #e3dff8!important;border-radius:12px!important;min-width:70px;justify-content:center;box-shadow:0 4px 14px rgba(64,52,132,.05)}
.auth163-brand{margin:0 auto 22px!important}.auth163-brand img{width:auto;max-width:182px;max-height:58px!important}.auth163-brand h1{margin-top:14px!important;font-size:31px!important;letter-spacing:-.055em;font-weight:850!important;color:#19183a!important}.auth163-tagline{margin:9px auto 0!important;color:#77728d!important;line-height:1.5!important;font-size:12px!important;font-weight:500;max-width:280px}
.auth163-switch{background:#eceaf7!important;border:1px solid #e2dff4!important;border-radius:15px!important;padding:5px!important;gap:7px!important;margin-bottom:13px!important}.auth163-switch button{border-radius:11px!important;height:43px!important;font-size:12px!important;color:#514d72!important}.auth163-switch button.active{background:#fff!important;color:#4f2cc3!important;box-shadow:0 4px 14px rgba(53,38,130,.11)!important}
.auth163-card{padding:25px 23px!important;border:1px solid #e8e3f8!important;border-radius:23px!important;box-shadow:0 21px 55px rgba(44,37,110,.095)!important;background:#fff!important}.auth163-card h2{font-size:20px!important;letter-spacing:-.02em;margin-bottom:20px!important}.auth163-form{gap:14px!important}.auth163-field label{font-size:11px!important;margin-bottom:8px!important;color:#4c4a65!important}.auth163-input input{height:52px!important;background:#fbfaff!important;border:1px solid #e3e1f0!important;border-radius:13px!important;font-size:13px!important}.auth163-input input:focus{border-color:#8565ee!important;background:#fff!important;box-shadow:0 0 0 4px rgba(103,69,232,.11)!important}.auth163-submit{height:49px!important;border-radius:13px!important;font-size:13px!important;margin-top:6px;cursor:pointer}.auth163-options,.auth163-foot{font-size:11px!important}.auth163-options a,.auth163-foot a{color:#5c3ad1!important}.otp-cell{border-radius:11px!important;background:#fcfbff!important}
/* Responsive controls and reduced-motion accessibility */
@media(hover:hover){.home160-tx:hover,.home160-tutorial:hover,.wallet163-card:hover,.market160-card:hover,.market153-card:hover{border-color:#cec3fa!important;transform:translateY(-1px)}}
@media(max-width:600px){.auth163{padding:13px 13px 24px!important}.auth163-brand{margin-bottom:18px!important}.auth163-card{padding:19px 17px!important}.home160-balance{padding:17px 15px!important}.home160-commission{min-width:115px!important}.home160-action i{height:43px!important;width:43px!important}.home160-stat{padding:12px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* RDXPay V4: resilient Login/Register links and user-supplied brand artwork. */
.auth163-brand{margin-top:22px!important;margin-bottom:25px!important}
.auth163-brand img{width:min(300px,88%)!important;max-width:300px!important;max-height:96px!important;height:auto!important;object-fit:contain!important}
.auth163-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.auth163-switch{position:relative;z-index:1}
.auth163-switch a{display:flex;align-items:center;justify-content:center;height:43px;min-height:43px;line-height:1;border:0;border-radius:11px;background:transparent;color:#514d72;font-size:12px;font-weight:850;text-decoration:none;cursor:pointer;touch-action:manipulation;pointer-events:auto;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease}
.auth163-switch a.active{background:linear-gradient(118deg,#7340e8,#5320c6)!important;color:white!important;box-shadow:0 5px 17px rgba(92,53,200,.2)!important}
.auth163-switch a:hover:not(.active){background:#ffffffb9;color:#4823ac}
@media(max-width:600px){.auth163-brand{margin-top:14px!important;margin-bottom:19px!important}.auth163-brand img{width:min(275px,91%)!important;max-height:84px!important}}


/* RDXPay V5 — OTP input separation and language-button polish.
   Use an INSIDE focus ring so focus never obscures the adjacent digit field. */
.reset160,
body:has(.reset160){font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif!important}
.reset160{background:transparent!important;color:#1b2145!important;padding-top:16px!important}
.reset160-brand{margin:15px 0 17px!important}
.reset160-brand img{display:block;width:auto;max-width:min(270px,80%)!important;max-height:80px!important;object-fit:contain;margin:0 auto}
.reset160-brand h1{font-size:25px!important;letter-spacing:-.035em;color:#1b2145!important}
.reset160-sub{font-size:11px!important;color:#6c718e!important}
.reset160-card{border:1px solid #e6e3f5!important;border-radius:19px!important;box-shadow:0 14px 39px rgba(47,36,105,.075)!important;padding:20px!important}
.reset160-card h2{font-size:17px!important;color:#1b2145!important;letter-spacing:-.025em}
.reset160-card p{font-size:11px!important;color:#646b85!important;line-height:1.6}
.reset160-field label{font-size:11px!important;color:#4f5070!important}
.reset160-input{border-color:#e0ddf1!important;background:#fcfbff!important;border-radius:12px!important;font-size:13px!important}
.reset160-input:focus{border-color:#7250dd!important;box-shadow:0 0 0 3px rgba(103,69,232,.09)!important}
.reset160-send{background:#f2eeff!important;border-color:#e4dcff!important;color:#5631bd!important}
.reset160-verify{background:#f3f4fa!important;border-color:#e3e5f0!important;color:#515777!important}
.reset160-primary{background:var(--rdx-gradient)!important;color:#fff!important}
/* Anchors must look like controls, not underlined links. */
.reset160-top a.reset160-lang,
.reset160-top a.reset160-back,
.auth163-top a.auth163-lang,
.header-language,
.reset160-top a.reset160-lang:visited,
.reset160-top a.reset160-back:visited,
.auth163-top a.auth163-lang:visited{
  text-decoration:none!important;text-decoration-line:none!important;
  color:#5032ae!important;border:1px solid #e4e0f6!important;
  background:#fff!important;border-radius:11px!important;
  font-family:Inter,"Segoe UI",system-ui,sans-serif!important;
}
.reset160-top a.reset160-lang *,
.reset160-top a.reset160-back *,
.auth163-top a.auth163-lang *{text-decoration:none!important}
.reset160-top a:hover,.auth163-top a:hover{background:#f5f2ff!important}
.reset160 .otp-cells,
.ev-sheet .otp-cells{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
}
.reset160 .otp-cell,.ev-sheet .otp-cell{
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  margin:0!important;padding:0!important;
  height:46px!important;
  border:1px solid #deddf0!important;
  border-radius:11px!important;
  background:#fbfaff!important;
  color:#292452!important;
  font:700 19px/1 Inter,"Segoe UI",system-ui,sans-serif!important;
  text-align:center!important;
  outline:none!important;
  box-shadow:none!important;
  -webkit-appearance:none;
  appearance:none;
  transition:background-color .14s,border-color .14s,box-shadow .14s;
}
.reset160 .otp-cell:focus,
.reset160 .otp-cell:focus-visible,
.ev-sheet .otp-cell:focus,
.ev-sheet .otp-cell:focus-visible{
  background:#fff!important;
  border-color:#7950e4!important;
  box-shadow:inset 0 0 0 2px #7950e4!important;
  outline:none!important;
}
@media(max-width:390px){
  .reset160-card{padding:15px!important}
  .reset160 .otp-cells,.ev-sheet .otp-cells{gap:6px!important}
  .reset160 .otp-cell,.ev-sheet .otp-cell{height:42px!important;font-size:17px!important}
}
