/* V130: presentation only. Native dialogs, account values and V123 lifecycle remain authoritative. */
body.vr130{--vr-surface:#111d27;--vr-raised:#172630;--vr-line:#aab8c520;--vr-text:#f0f3f5;--vr-muted:#a5b6c2;--vr-gold:#dfbd78;--vr-card:linear-gradient(125deg,#1c303b,#10202b 62%,#12232c);--vr-card-line:#aa8a4b;--vr-shadow:0 12px 28px #0000001f}
html[data-client-theme=light] body.vr130{--vr-surface:#fff;--vr-raised:#f3f5f5;--vr-line:#243a492b;--vr-text:#192d39;--vr-muted:#536875;--vr-gold:#785918;--vr-card:linear-gradient(125deg,#fffaf0,#f2eee2 65%,#eaece6);--vr-card-line:#a88a4e;--vr-shadow:0 8px 24px #1833460c}
/* The amount is always followed by its currency; neither part is mirrored in RTL. */
body.vr130 :is(.money-sar,.ss-money,.wsc-amount-inline){display:inline-flex!important;flex-direction:row!important;align-items:baseline;direction:ltr!important;gap:.28em;unicode-bidi:isolate;white-space:nowrap;font-variant-numeric:tabular-nums}
body.vr130 .wsc-amount-inline>.wsc-figure,body.vr130 .money-sar>span:not(.sar-symbol){order:0}
body.vr130 :is(.money-sar,.wsc-amount-inline)>svg,body.vr130 .money-sar>.sar-symbol{order:1;flex-shrink:0;align-self:center}
body.vr130 :is(.ss-money>svg,.ss-money>small,.wsc-code){flex-shrink:0}
@media screen{
 html[data-client-theme] body.wallet-body.vr130 .wsc-wallet{background:var(--vr-card)!important;border:1px solid var(--vr-card-line)!important;border-radius:22px!important;box-shadow:var(--vr-shadow),inset 0 1px 0 #ffffff0a!important;padding:20px 18px!important;isolation:isolate}
 html[data-client-theme] body.wallet-body.vr130 .wsc-wallet::before,html[data-client-theme] body.wallet-body.vr130 .wsc-wallet::after{opacity:.12!important;pointer-events:none}
 html[data-client-theme] body.wallet-body.vr130 .wsc-wallet .wsc-name{font-size:13px!important;font-weight:600!important;color:var(--vr-text)!important}
 html[data-client-theme] body.wallet-body.vr130 .wsc-wallet .wsc-balance-label{margin-top:20px;color:var(--vr-muted)!important;font-size:12px!important}
 html[data-client-theme] body.wallet-body.vr130 .wsc-wallet .pw-total.wsc-number{font-family:Arial,Tahoma,sans-serif!important;letter-spacing:-.6px!important;min-height:44px!important;line-height:1.3!important;color:var(--vr-text)!important;text-shadow:none!important}
 html[data-client-theme] body.wallet-body.vr130 .wsc-wallet .wsc-stats{gap:8px!important;margin-top:18px!important;padding-top:16px!important;border-color:var(--vr-line)!important;align-items:stretch}
 html[data-client-theme] body.wallet-body.vr130 .wsc-wallet .wsc-stat{flex:1;min-width:0}
 html[data-client-theme] body.wallet-body.vr130 .wsc-wallet .wsc-stat-label{color:var(--vr-muted)!important;font-size:10px!important;line-height:1.7}
 html[data-client-theme] body.wallet-body.vr130 .wsc-wallet .wsc-stat-value{font-variant-numeric:tabular-nums;font-size:12px!important;min-height:24px;overflow-x:auto;scrollbar-width:thin}
 html[data-client-theme] body.wallet-body.vr130 .pw-actions{gap:10px!important;margin-block:16px!important}
 html[data-client-theme] body.wallet-body.vr130 .pw-actions .wi-action{min-height:76px!important;border-radius:16px!important;box-shadow:none!important}
 html[data-client-theme] body.wallet-body.vr130 .pw-actions .wi-action>span:not(.wm123-ripple){width:36px!important;height:36px!important;flex-shrink:0;border-radius:12px!important;display:grid!important;place-items:center!important}
 html[data-client-theme] body.wallet-body.vr130 .pw-actions .wi-action>span>svg{width:20px!important;height:20px!important;stroke-width:1.8}
 html[data-client-theme] body.wallet-body.vr130 .pw-actions .wi-action b{font-size:12px!important;font-weight:600!important;line-height:1.7!important}
 html[data-client-theme] body.wallet-body.vr130 :is(.ct-coin>img,.ct-fallback){width:30px!important;height:30px!important;flex-shrink:0;object-fit:contain;border-radius:50%}
 html[data-client-theme] body.wallet-body.vr130 .ct-fallback{background:#fff url('coin-logos/xrp-v130.svg') center/100% 100% no-repeat!important;font-size:0!important;color:transparent!important}
 html[data-client-theme] body.wallet-body.vr130 :is(.oc-icon,.invoice-bank-logo){flex-shrink:0;overflow:hidden}
 html[data-client-theme] body.wallet-body.vr130 .oc-icon img{width:28px;height:28px;object-fit:contain;border-radius:6px;background:#fff}
 html[data-client-theme] body.wallet-body.vr130 :is(.ct-price,.ct-change,.oc-amount,.pw-operation>strong){font-variant-numeric:tabular-nums;letter-spacing:0!important}
 html[data-client-theme] body.wallet-body.vr130 .oc-root{--oc-muted:var(--vr-muted);--oc-line:var(--vr-line);--oc-gold:var(--vr-gold)}
 html[data-client-theme] body.wallet-body.vr130 .oc-root .oc-card{background:var(--vr-surface)!important;border:1px solid var(--vr-line)!important;border-radius:18px!important;padding:18px!important;box-shadow:none!important}
 html[data-client-theme] body.wallet-body.vr130 .oc-root .oc-card-head{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:8px 12px}
 html[data-client-theme] body.wallet-body.vr130 .oc-root .oc-icon{width:40px;height:40px;grid-row:1/3;border-radius:12px}
 html[data-client-theme] body.wallet-body.vr130 .oc-root .oc-title{min-width:0;overflow-wrap:anywhere}
 html[data-client-theme] body.wallet-body.vr130 .oc-root .oc-title h3{font-size:14px;line-height:1.7;margin:0;color:var(--vr-text)}
 html[data-client-theme] body.wallet-body.vr130 .oc-root .oc-amount{grid-column:2;min-width:0;max-width:100%;font-size:19px;overflow-x:auto;scrollbar-width:thin}
 html[data-client-theme] body.wallet-body.vr130 .oc-root .oc-meta{padding-top:12px;border-top:1px solid var(--vr-line);margin-top:14px}
 html[data-client-theme] body.wallet-body.vr130 .oc-root .oc-meta bdi{overflow-wrap:anywhere;font-size:11px}
 html[data-client-theme] body.wallet-body.vr130 .oc-root .oc-card-foot{gap:6px 16px;margin-top:14px}
 html[data-client-theme] body.wallet-body.vr130 .oc-root .oc-card-foot :is(a,button){min-height:44px}
 html[data-client-theme] body.wallet-body.vr130 .oc-root .oc-state-approved{color:var(--vr-gold)!important;background:#c5a05912!important;border-color:#c5a05940!important}
 html[data-client-theme] body.wallet-body.vr130 .pw-operation{border-bottom:1px solid var(--vr-line)!important;padding-block:15px!important;row-gap:5px!important}
 html[data-client-theme] body.wallet-body.vr130 .pw-operation>div{min-width:0;overflow-wrap:anywhere}
 html[data-client-theme] body.wallet-body.vr130 .pw-operation>strong{max-width:46vw;overflow-x:auto;scrollbar-width:thin}
 /* Restrained receipt treatment. Status text and evidence still come from the server. */
 html[data-client-theme] body.wallet-body.vr130 :is(#orderInvoiceDialog,.withdraw-invoice){background:var(--vr-surface)!important;border:1px solid var(--vr-line)!important;box-shadow:var(--vr-shadow)!important;color:var(--vr-text)!important}
 html[data-client-theme] body.wallet-body.vr130 :is(#orderInvoiceDialog,.withdraw-invoice) .invoice-amount{border:1px solid var(--vr-line)!important;border-radius:16px!important;background:var(--vr-raised)!important;padding:20px 14px!important;margin-block:20px!important}
 html[data-client-theme] body.wallet-body.vr130 .invoice-amount-value{display:flex!important;flex-direction:row!important;direction:ltr!important;align-items:center!important;justify-content:center!important;gap:8px!important;max-width:100%;overflow-x:auto;font-variant-numeric:tabular-nums}
 html[data-client-theme] body.wallet-body.vr130 .invoice-amount-value>strong{order:0;font-size:clamp(23px,6.5vw,34px)!important;white-space:nowrap}
 html[data-client-theme] body.wallet-body.vr130 .invoice-amount-value>:not(strong){order:1;flex-shrink:0}
 html[data-client-theme] body.wallet-body.vr130 :is(.invoice-reference,.invoice-grid){gap:12px!important}
 html[data-client-theme] body.wallet-body.vr130 .invoice-grid>div{min-width:0;border-bottom:1px solid var(--vr-line);padding-block:10px}
 html[data-client-theme] body.wallet-body.vr130 .invoice-grid :is(b,bdi){overflow-wrap:anywhere;min-width:0;line-height:1.8}
 html[data-client-theme] body.wallet-body.vr130 :is(.invoice-note,#historyInvoiceMessage){line-height:1.9!important;font-size:13px!important}
 html[data-client-theme] body.vr130 :is(.bm-card,.ss-operation){border-radius:18px!important;border:1px solid var(--vr-line)!important;background:var(--vr-surface)!important;box-shadow:none!important}
 html[data-client-theme] body.vr130 :is(.bm-summary,.ss-balances){border-radius:20px!important;background:var(--vr-card)!important;border:1px solid var(--vr-card-line)!important}
 html[data-client-theme] body.vr130 :is(.bm-reason,.oc-reason){border-inline-start:3px solid #bd6573!important;line-height:1.9!important;overflow-wrap:anywhere}
 html[data-client-theme] body.vr130 :is(.bm-no,.ss-ref,.ss-meta bdi){overflow-wrap:anywhere}
 html[data-client-theme] body.vr130 :is(.bm-card>div,.ss-between){gap:10px;flex-wrap:wrap}
 html[data-client-theme] body.vr130 .bm-card>div>b{min-width:0;max-width:100%;overflow-x:auto}
 html[data-client-theme] body.vr130 .ss-operation>.ss-between>h3{min-width:0;overflow-wrap:anywhere}
 html[data-client-theme] body.vr130 .ss-operation>.ss-between>b{max-width:100%;overflow-x:auto}
 /* Native scrollable dialogs adapt to the visible viewport when the keyboard opens. */
 html[data-client-theme] body.wallet-body.vr130 dialog.wallet-dialog{box-sizing:border-box;max-width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px)!important;max-height:calc(var(--vr-viewport-height,100dvh) - 24px)!important;overflow-y:auto!important;overscroll-behavior:contain;scroll-padding-block:64px 24px;border-radius:22px!important}
 html[data-client-theme] body.wallet-body.vr130 dialog.wallet-dialog .dialog-close{position:sticky!important;top:0!important;left:auto!important;right:auto!important;z-index:6;display:flex;justify-content:flex-end;margin:0 0 8px!important;pointer-events:none}
 html[data-client-theme] body.wallet-body.vr130 dialog.wallet-dialog .dialog-close button{pointer-events:auto;position:static!important;width:44px!important;height:44px!important;border-radius:14px!important;border:1px solid var(--vr-line)!important;background:var(--vr-raised)!important;color:var(--vr-text)!important;line-height:1;font-size:24px}
 html[data-client-theme] body.wallet-body.vr130 dialog.wallet-dialog :is(.receipt-page-head,.pr129-heading){position:sticky;top:0;z-index:5;background:var(--vr-surface);padding-block:8px;margin-top:0;border-bottom:1px solid var(--vr-line)}
 html[data-client-theme] body.wallet-body.vr130 dialog.wallet-dialog :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){min-height:46px;scroll-margin-block:72px 24px;font-size:16px!important}
 html[data-client-theme] body.wallet-body.vr130 dialog.wallet-dialog :is(.wallet-submit,.text-close){min-height:46px}
 html[data-client-theme] body.wallet-body.vr130 .invoice-actions{border-top:1px solid var(--vr-line);padding-top:16px;gap:10px}
 /* Loading placeholders are tied to real request state, never fabricated account data. */
 body.vr130 .pr129-results[aria-busy=true]:empty{min-height:216px;position:relative;overflow:hidden;border-radius:14px;background:repeating-linear-gradient(to bottom,var(--vr-raised) 0,var(--vr-raised) 64px,transparent 64px,transparent 76px)}
 body.vr130 .pr129-results[aria-busy=true]:empty::after,body.vr130 [data-ct-chart][data-vr130-state=loading]:empty::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,#ffffff0b 46%,transparent 72%);animation:vr130Shimmer 1.5s ease-in-out infinite;pointer-events:none}
 body.vr130 [data-ct-chart]{min-height:240px;position:relative;border-radius:14px}
 body.vr130 [data-ct-chart][data-vr130-state=loading]:empty{background:repeating-linear-gradient(to bottom,transparent 0,transparent 47px,var(--vr-line) 47px,var(--vr-line) 48px),var(--vr-raised);overflow:hidden}
 body.vr130 [data-ct-chart][data-vr130-state=error]:empty::before,body.vr130 [data-ct-chart][data-vr130-state=empty]:empty::before{display:grid;place-content:center;text-align:center;position:absolute;inset:0;padding:24px;color:var(--vr-muted);font-size:13px;line-height:1.9;content:"لا تتوفر شموع للعرض حاليًا"}
 body.vr130 [data-ct-chart][data-vr130-state=error]:empty::before{content:"تعذّر عرض الرسم حاليًا. أعد فتحه للمحاولة."}
 html[data-client-theme] body.wallet-body.vr130 :is(.oc-empty,.nc106-empty,.pr129-form-message),html[data-client-theme] body.vr130 .ss-empty{border-radius:16px!important;line-height:1.9!important;padding:24px 18px!important}
 html[data-client-theme] body.wallet-body.vr130 :is(.oc-empty,.nc106-empty),html[data-client-theme] body.vr130 .ss-empty{background:var(--vr-surface)!important;border:1px dashed var(--vr-line)!important;color:var(--vr-muted)!important}
 body.vr130 .pr129-health[data-state=offline],body.vr130 .pr129-health[data-state=error]{border-inline-start:2px solid #c5a059;padding-inline-start:9px}
 /* Refine the existing engine only. No navigation delay or close interception. */
 body.wm123.vr130{--wm123-time:240ms;--wm123-ease:cubic-bezier(.2,.7,.2,1)}
 body.wm123.vr130 dialog:not(#welcomeSplashV122){--wm123-y:18px}
 body.wm123.vr130 :is(#notificationDetailDialog,#orderInvoiceDialog){--wm123-x:-18px!important}
 body.wm123.vr130 dialog:not(#welcomeSplashV122)[open]{animation-duration:260ms!important}
 body.wm123.vr130 dialog:not(#welcomeSplashV122)::backdrop{animation-duration:180ms!important}
 body.wm123.vr130 [data-wallet-panel].panel-enter{animation-duration:240ms!important}
 body.wm123.vr130 .wm123-tap.wm123-pressed{scale:.98}
 /* Public masked preview: same card hierarchy, five navigation items, no account content. */
 body.vr130 .ip126-device{width:324px;aspect-ratio:auto;border-radius:46px;animation-duration:9s;box-shadow:0 32px 65px #0005,0 0 0 1px #05090c,inset 0 0 0 2px #111719}
 body.vr130 .ip126-screen{height:auto;min-height:640px;background:linear-gradient(155deg,#111d25,#0a1118 45%)}
 body.vr130 .ip126-balance{border:1px solid #aa8a4b;background:linear-gradient(125deg,#1c303b,#10202b 62%,#12232c);border-radius:18px;box-shadow:0 10px 24px #0002,inset 0 1px 0 #ffffff0a}
 body.vr130 .ip126-phone-head{margin-block:16px}
 body.vr130 .ip126-money{margin-bottom:12px}
 body.vr130 .ip126-phone-actions{margin-block:12px 16px}
 body.vr130 .ip126-phone-nav{grid-template-columns:repeat(5,minmax(0,1fr));background:#111d27;border:1px solid #aab8c520;border-radius:15px;padding:11px 4px;font-size:6.5px;flex-shrink:0;margin-top:auto}
 body.vr130 .ip126-phone-nav svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 body.vr130 .ip126-phone-nav small{font-size:inherit}
 body.vr130 .ip126-asset{padding-block:8px}
 .vr130-preview-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding-top:10px;border-top:1px solid #aab8c520;text-align:center}
 .vr130-preview-stats small{display:block;color:#a5b6c2;font-size:7px;line-height:1.8}
 .vr130-preview-stats b{display:block;font:600 11px/1.8 Arial,sans-serif;color:#f0f3f5;letter-spacing:.5px}
 .vr130-preview-health{display:flex;justify-content:space-between;gap:6px;color:#a5b6c2;border:1px solid #aab8c520;border-radius:10px;padding:8px 10px;margin-bottom:12px;font-size:8px}
 .vr130-preview-health b{color:#dfbd78;font-weight:500}
 body.vr130.h124-motion-off .ip126-device,html[data-home-motion=paused] body.vr130 .ip126-device{animation-play-state:paused!important}
 @media(max-width:600px){
  html[data-client-theme] body.wallet-body.vr130 dialog.wallet-dialog[open]{top:calc(var(--vr-viewport-top,0px) + max(12px,env(safe-area-inset-top)));bottom:auto;margin:0 auto!important;max-height:calc(var(--vr-viewport-height,100dvh) - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)))!important}
  html[data-client-theme] body.wallet-body.vr130 :is(#orderInvoiceDialog,.withdraw-invoice){padding:18px 16px!important}
  html[data-client-theme] body.wallet-body.vr130 .invoice-reference{display:grid!important;grid-template-columns:1fr!important}
  html[data-client-theme] body.wallet-body.vr130 .invoice-grid{grid-template-columns:1fr!important}
 }
 @media(max-width:359px){
  html[data-client-theme] body.wallet-body.vr130 .wsc-wallet{padding:16px 12px!important}
  html[data-client-theme] body.wallet-body.vr130 .pw-actions{gap:6px!important}
  html[data-client-theme] body.wallet-body.vr130 .pw-actions .wi-action b{font-size:11px!important}
  html[data-client-theme] body.wallet-body.vr130 .oc-root .oc-card{padding:14px!important}
  body.vr130 .ip126-figure{padding-inline:0}
 }
 @keyframes vr130Shimmer{from{translate:-100% 0}to{translate:100% 0}}
 @media(prefers-reduced-motion:reduce){
  body.wm123.vr130 dialog:not(#welcomeSplashV122)[open],body.wm123.vr130 dialog:not(#welcomeSplashV122)::backdrop,body.wm123.vr130 [data-wallet-panel].panel-enter,body.vr130 .pr129-results::after,body.vr130 [data-ct-chart]::after,body.vr130 .ip126-device{animation:none!important;transition:none!important;translate:none!important}
  body.wm123.vr130 .wm123-tap.wm123-pressed{scale:1!important}
 }
}
