.walletii-legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;margin:4px 0 8px;flex-shrink:0;max-width:100%}
.walletii-legal-entry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:8px 12px;color:#03d9ca;font:400 16px/1.6 Tajawal_400Regular,Tajawal,sans-serif;text-decoration:none;text-align:center;overflow-wrap:anywhere}
.walletii-legal-entry:focus-visible{outline:3px solid #03d9ca;outline-offset:2px;border-radius:6px}
[data-walletii-terms-card] > [data-walletii-demo-terms]{display:none!important}
.walletii-legal-dialog{position:fixed;inset:0;margin:auto;width:100%;max-width:760px;height:100%;height:100dvh;max-height:var(--walletii-viewport-height,100dvh);padding:0;border:0;background:#051926;color:#17262e;box-sizing:border-box;z-index:2147483000;overflow:hidden;font-family:Tajawal_400Regular,Tajawal,sans-serif}
.walletii-legal-dialog[open]{display:flex;flex-direction:column}
.walletii-legal-dialog::before{content:"";display:block;flex-shrink:0;height:env(safe-area-inset-top,0px);background:#051926}
.walletii-legal-dialog:not([open]){display:none}
.walletii-legal-dialog::backdrop{background:rgba(5,25,38,.65)}
.walletii-legal-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;min-height:64px;padding:8px clamp(16px,4.8vw,24px);background:#fff;border-bottom:1px solid #e7ecee;box-sizing:border-box;direction:rtl}
.walletii-legal-dialog-title{margin:0;font-size:20px;line-height:1.5;font-weight:700}
.walletii-legal-close{flex-shrink:0;border:0;background:#eaf6f3;color:#005f59;min-width:60px;min-height:44px;border-radius:10px;font:400 16px/1.5 Tajawal_400Regular,Tajawal,sans-serif;padding:8px 12px;cursor:pointer}
.walletii-legal-close:focus-visible{outline:3px solid #007d75;outline-offset:2px}
.walletii-legal-frame{display:block;flex:1 1 0%;min-height:0;width:100%;max-width:100%;border:0;background:#fff;margin:0 0 env(safe-area-inset-bottom,0px)}
@media(min-width:780px) and (min-height:650px){.walletii-legal-dialog{width:calc(100% - 32px);height:calc(100dvh - 32px);border-radius:16px}}
@supports not (height:100dvh){.walletii-legal-dialog{height:100%;max-height:var(--walletii-viewport-height,100%)}}
