.ag-dialog{position:fixed;inset:0;width:100%;max-width:100%;height:100vh;height:100dvh;max-height:none;margin:0;padding:0;overflow:auto;overscroll-behavior:contain;border:0;background:#0b1a33}
.ag{box-sizing:border-box;min-height:100%;background:#0b1a33;color:#fff;direction:rtl;text-align:right;line-height:1.8}
.ag *{box-sizing:border-box}
.ag header{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:12px;padding:calc(12px + env(safe-area-inset-top)) 16px 12px;border-bottom:1px solid rgba(201,162,39,.35);background:#0b1a33}
.ag header img{width:44px;height:44px;padding:3px;border-radius:50%;background:#fff;object-fit:contain}
.ag header div{flex:1;min-width:0}
.ag h1{margin:0;padding:0;border:0;color:#fff;font-size:17px;line-height:1.6}
.ag header p{margin:0;color:#a9b8d4;font-size:12px}
.ag .ag-close{display:flex;width:auto;margin:0;padding:8px;border:0;background:none;box-shadow:none;color:#fff;cursor:pointer}
.ag-close svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ag main{max-width:560px;margin:0 auto;padding:18px 16px calc(40px + env(safe-area-inset-bottom))}
.ag-note{padding:14px 16px;border:1px solid rgba(201,162,39,.55);border-radius:16px;background:rgba(201,162,39,.1)}
.ag-note b{color:#ecdca0;font-size:14.5px}
.ag-note p{margin:4px 0 0;font-size:13px}
.ag-steps{margin:20px 0 0;padding:0;list-style:none;counter-reset:ag}
.ag-steps li{display:flex;gap:12px;margin-bottom:14px;padding:16px 14px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.05);counter-increment:ag}
.ag-steps li::before{content:counter(ag);display:flex;flex:none;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#c9a227;color:#0e2340;font-weight:800}
.ag-steps li>div{flex:1;min-width:0}
.ag h2{margin:2px 0 2px;padding:0;border:0;color:#fff;font-size:15px}
.ag-steps p{margin:0;color:#c5d0e4;font-size:13px}
.ag-steps bdi{color:#fff;font-weight:700}
.ag-steps img{display:block;width:100%;max-width:340px;height:auto;margin:12px auto 0}
.ag .ag-get{width:100%;min-height:50px;margin:12px 0 0;padding:10px;border:0;border-radius:14px;background:#c9a227;color:#0e2340;font-family:inherit;font-size:15px;font-weight:800;cursor:pointer}
.ag .ag-get:disabled{opacity:.6;cursor:default}
.ag-foot{margin:6px 4px 0;color:#a9b8d4;font-size:12.5px;text-align:center}
body>.ag{min-height:100vh;min-height:100dvh}
.ag bdi{display:inline-block;white-space:nowrap}
