/* Yasin 4.9.63 — install and update experience */
:root{--pwa-navy:#0b1729;--pwa-gold:#d6a43a;--pwa-blue:#2563eb;--pwa-line:#dbe4ef;--pwa-text:#0f172a;--pwa-muted:#64748b}
html.pwa-standalone{overscroll-behavior-y:none}
.pwa-fab{position:fixed;left:14px;bottom:calc(82px + env(safe-area-inset-bottom));z-index:1450;display:flex;align-items:center;gap:9px;min-height:46px;padding:7px 10px 7px 14px;border:1px solid rgba(214,164,58,.35);border-radius:16px;background:linear-gradient(135deg,#0b1729,#17253a);color:#fff;font-family:inherit;box-shadow:0 16px 42px rgba(15,23,42,.24);cursor:pointer;animation:pwaSlideIn .28s ease both}
.pwa-fab img{width:32px;height:32px;border-radius:10px;background:#fff;object-fit:cover}.pwa-fab span{display:grid;text-align:right}.pwa-fab b{font-size:11px}.pwa-fab small{margin-top:2px;color:#dbeafe;font-size:8.5px}.pwa-fab-close{width:26px;height:26px;margin-right:3px;border:0;border-radius:9px;background:rgba(255,255,255,.1);color:#fff;font-size:16px;cursor:pointer}
.pwa-overlay{position:fixed;inset:0;z-index:2000;display:grid;place-items:end center;padding:18px;background:rgba(8,15,27,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:pwaFade .2s ease both}
.pwa-modal{width:min(460px,100%);overflow:hidden;border:1px solid rgba(255,255,255,.22);border-radius:26px;background:#fff;color:var(--pwa-text);box-shadow:0 30px 100px rgba(2,6,23,.34);direction:rtl;animation:pwaUp .28s cubic-bezier(.2,.8,.2,1) both}
.pwa-modal-head{position:relative;display:flex;align-items:center;gap:13px;padding:20px;background:radial-gradient(circle at 10% 10%,rgba(214,164,58,.28),transparent 42%),linear-gradient(135deg,#0b1729,#162a47);color:#fff}.pwa-modal-head img{width:58px;height:58px;border-radius:18px;background:#fff;object-fit:cover;box-shadow:0 12px 30px rgba(0,0,0,.2)}.pwa-modal-head div{min-width:0}.pwa-modal-head small{display:block;color:#fde7ae;font-size:9px;font-weight:900}.pwa-modal-head h2{margin:4px 0 0;font-size:18px;line-height:1.6}.pwa-modal-x{position:absolute;top:12px;left:12px;width:32px;height:32px;border:1px solid rgba(255,255,255,.15);border-radius:11px;background:rgba(255,255,255,.08);color:#fff;font-size:20px;cursor:pointer}
.pwa-modal-body{padding:20px}.pwa-modal-body p{margin:0;color:var(--pwa-muted);font-size:11px;font-weight:700;line-height:2}.pwa-version-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0 0;padding:11px 12px;border:1px solid #e6ebf2;border-radius:15px;background:#f8fafc}.pwa-version-row span{color:#64748b;font-size:9px;font-weight:850}.pwa-version-row b{direction:ltr;color:#1d4ed8;font-size:11px}
.pwa-actions{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:17px}.pwa-primary,.pwa-secondary{min-height:46px;border:0;border-radius:15px;font-family:inherit;font-size:11px;font-weight:950;cursor:pointer}.pwa-primary{color:#fff;background:linear-gradient(135deg,#2563eb,#4f46e5);box-shadow:0 12px 26px rgba(37,99,235,.22)}.pwa-primary.gold{background:linear-gradient(135deg,#c58b1b,#e3b84d);color:#172033;box-shadow:0 12px 26px rgba(197,139,27,.23)}.pwa-secondary{padding:0 15px;color:#475569;background:#eef2f7}.pwa-primary:disabled{opacity:.65;cursor:wait}
.pwa-ios-steps{display:grid;gap:9px;margin-top:15px}.pwa-ios-step{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;padding:10px;border:1px solid #e5eaf1;border-radius:14px;background:#fbfcfe}.pwa-ios-step em{width:32px;height:32px;display:grid;place-items:center;border-radius:11px;background:#eef4ff;color:#2563eb;font-style:normal;font-weight:950}.pwa-ios-step span{color:#334155;font-size:10px;font-weight:850;line-height:1.8}
.pwa-toast{position:fixed;right:50%;bottom:calc(92px + env(safe-area-inset-bottom));z-index:2100;max-width:calc(100% - 28px);padding:11px 15px;transform:translate(50%,14px);border-radius:14px;background:#0f172a;color:#fff;box-shadow:0 16px 42px rgba(15,23,42,.28);font-size:10px;font-weight:850;opacity:0;transition:.2s;pointer-events:none}.pwa-toast.show{transform:translate(50%,0);opacity:1}
@keyframes pwaFade{from{opacity:0}to{opacity:1}}@keyframes pwaUp{from{opacity:.2;transform:translateY(30px) scale(.98)}to{opacity:1;transform:none}}@keyframes pwaSlideIn{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:none}}
@media(min-width:900px){.pwa-overlay{place-items:center}.pwa-fab{bottom:18px}}
@media(max-width:420px){.pwa-fab{left:8px;bottom:calc(78px + env(safe-area-inset-bottom));min-height:42px;padding:5px 7px 5px 11px}.pwa-fab img{width:30px;height:30px}.pwa-modal{border-radius:23px}.pwa-modal-head{padding:17px}.pwa-modal-body{padding:17px}.pwa-actions{grid-template-columns:1fr}.pwa-secondary{min-height:42px}}
