.frontend-progress{position:fixed;inset:0 0 auto;z-index:10000;height:3px;background:linear-gradient(90deg,#7945dc,#cbb8ff,#7945dc);animation:frontend-pulse 1s ease-in-out infinite}#main:focus{outline:none}.frontend-loading,.frontend-error{max-width:640px;margin:15vh auto;padding:32px;text-align:center;background:#fff;border:1px solid #ece7f6;border-radius:20px;font-family:Vazirmatn,sans-serif}.frontend-network-error{position:fixed;bottom:20px;right:20px;left:20px;z-index:10001;max-width:760px;margin:auto;padding:20px;background:#fff4e5;border:1px solid #e4b16a;border-radius:16px;box-shadow:0 8px 28px #30205d22}.frontend-network-error button{margin-inline-start:16px;text-decoration:underline}@keyframes frontend-pulse{50%{opacity:.4}}@media(prefers-reduced-motion:reduce){.frontend-progress{animation:none}}
