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