/* V1.1.121 — «تطبيق تنامي» install hint */
.tanami-pwa-bar{position:fixed;inset-inline:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:2147483000;margin-inline:auto;max-width:520px;display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fff;color:#17324d;border:1px solid #dfe7ee;border-radius:16px;box-shadow:0 12px 32px #0f2a4329;font:14px/1.6 system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;direction:rtl;animation:tanamiPwaIn .25s ease-out}
.tanami-pwa-bar img{width:40px;height:40px;border-radius:10px;flex:none}
.tanami-pwa-text{flex:1;min-width:0;display:flex;flex-direction:column}
.tanami-pwa-text strong{font-size:15px}
.tanami-pwa-text span{color:#52677d;font-size:13px}
.tanami-pwa-actions{display:flex;gap:6px;flex:none}
.tanami-pwa-actions button{font:inherit;font-weight:700;border-radius:10px;padding:8px 14px;cursor:pointer;border:1px solid transparent}
.tanami-pwa-go{background:#0d5f45;color:#fff}
.tanami-pwa-later{background:#f1f5f8;color:#3c5268;border-color:#e1e8ee}
@media (max-width:420px){.tanami-pwa-bar{flex-wrap:wrap}.tanami-pwa-actions{width:100%}.tanami-pwa-actions button{flex:1}}
@keyframes tanamiPwaIn{from{transform:translateY(12px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.tanami-pwa-bar{animation:none}}
.tanami-app body{overscroll-behavior-y:none}

/* V1.1.124 */
.tanami-pwa-more{color:#0d5f45;font-size:13px;font-weight:700;text-decoration:underline;width:max-content}

/* V1.1.125 — bottom tab bar (phones and the installed app) */
.tanami-app-nav{position:fixed;inset-inline:0;bottom:0;z-index:2147482000;display:flex;justify-content:space-around;align-items:stretch;background:#fff;border-top:1px solid #e3e9ee;box-shadow:0 -6px 20px #0f2a4314;padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px));direction:rtl;font-family:Tajawal,system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;-webkit-user-select:none;user-select:none}
.tanami-app-nav-item{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 2px;border-radius:12px;color:#64788b;text-decoration:none;font-size:11.5px;font-weight:700;line-height:1.3;-webkit-tap-highlight-color:transparent}
.tanami-app-nav-item svg{width:24px;height:24px}
.tanami-app-nav-item span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tanami-app-nav-item.is-active{color:#0d5f45}
.tanami-app-nav-item.is-active svg{background:#e3f3eb;border-radius:999px;padding:2px 12px;width:48px;box-sizing:border-box}
.tanami-app-nav-item:active{background:#f1f6f4}
html.has-tanami-nav body{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px)) !important}
html.has-tanami-nav .tanami-pwa-bar{bottom:calc(80px + env(safe-area-inset-bottom,0px))}
html.tanami-app,html.tanami-app body{-webkit-tap-highlight-color:transparent}
html.tanami-app body{overscroll-behavior-y:contain}
@media (prefers-color-scheme:dark){.tanami-app-nav{background:#fff}}

/* V1.1.125 — animated welcome: launch splash and first-run screens */
html.tw-lock,html.tw-lock body{overflow:hidden}
.tw-splash,.tw-onb{position:fixed;inset:0;z-index:2147483600;overflow:hidden;color:#fff;direction:rtl;font-family:Tajawal,system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;background:linear-gradient(135deg,#0a4d38,#0d5f45 35%,#11845e 70%,#159a6d);background-size:300% 300%;animation:twBg 8s ease-in-out infinite}
.tw-splash{display:flex;align-items:center;justify-content:center;transition:opacity .55s ease,transform .55s ease}
.tw-splash.tw-out,.tw-onb.tw-out{opacity:0;transform:scale(1.04);pointer-events:none}
.tw-onb{transition:opacity .45s ease,transform .45s ease;display:flex;flex-direction:column;padding:calc(16px + env(safe-area-inset-top,0px)) 20px calc(20px + env(safe-area-inset-bottom,0px))}
.tw-blob{position:absolute;border-radius:50%;filter:blur(40px);opacity:.45;animation:twFloat 9s ease-in-out infinite}
.tw-b1{width:260px;height:260px;background:#3ddc97;top:-60px;inset-inline-start:-60px}
.tw-b2{width:220px;height:220px;background:#f5b841;bottom:8%;inset-inline-end:-70px;animation-delay:-3s;opacity:.3}
.tw-b3{width:180px;height:180px;background:#7ad7ff;bottom:-60px;inset-inline-start:25%;animation-delay:-6s;opacity:.3}
.tw-splash-in{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center}
.tw-logo{position:relative;width:112px;height:112px;display:flex;align-items:center;justify-content:center;animation:twPop .9s cubic-bezier(.2,1.4,.4,1) both}
.tw-logo img{position:relative;width:96px;height:96px;border-radius:26px;box-shadow:0 18px 40px #0006}
.tw-ring{position:absolute;inset:-6px;border-radius:34px;border:2px solid #ffffff70;animation:twRing 1.8s ease-out infinite}
.tw-ring2{animation-delay:.6s}
.tw-big{width:150px;height:150px}.tw-big img{width:128px;height:128px;border-radius:34px}
.tw-hello{margin-top:26px;font-size:24px;font-weight:800;opacity:0;animation:twUp .6s .35s ease-out forwards}
.tw-name{margin-top:6px;font-size:15px;opacity:0;animation:twUp .6s .55s ease-out forwards;color:#d7f3e6}
.tw-loader{display:flex;gap:6px;margin-top:22px;opacity:0;animation:twUp .4s .7s forwards}
.tw-loader i{width:7px;height:7px;border-radius:50%;background:#fff;animation:twDot 1s ease-in-out infinite}
.tw-loader i:nth-child(2){animation-delay:.15s}.tw-loader i:nth-child(3){animation-delay:.3s}
.tw-skip{position:relative;align-self:flex-start;background:#ffffff26;color:#fff;border:0;border-radius:999px;padding:7px 16px;font:inherit;font-weight:700;cursor:pointer;z-index:2}
.tw-track{position:relative;flex:1;min-height:0}
.tw-slide{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 8px;opacity:0;transform:translateX(-40px);transition:opacity .5s ease,transform .5s ease;pointer-events:none}
.tw-slide.is-past{transform:translateX(40px)}
.tw-slide.is-on{opacity:1;transform:none;pointer-events:auto}
.tw-slide.is-on .tw-title{animation:twUp .6s .15s ease-out both}
.tw-slide.is-on .tw-text{animation:twUp .6s .3s ease-out both}
.tw-title{font-size:27px;line-height:1.4;margin:30px 0 10px;font-weight:800}
.tw-text{font-size:16.5px;line-height:1.9;margin:0;max-width:360px;color:#e3f6ed}
.tw-art{position:relative;display:grid;place-items:center}
.tw-art-grid{grid-template-columns:repeat(3,64px);gap:14px}
.tw-tile{width:64px;height:64px;border-radius:18px;background:#ffffff1f;border:1px solid #ffffff38;display:flex;align-items:center;justify-content:center;color:#fff;backdrop-filter:blur(6px);opacity:0}
.tw-slide.is-on .tw-tile{animation:twTile .55s calc(var(--i) * 90ms + 100ms) cubic-bezier(.2,1.3,.4,1) forwards}
.tw-tile svg{width:30px;height:30px}
.tw-art-bell{width:150px;height:150px;border-radius:44px;background:#ffffff1f;border:1px solid #ffffff38}
.tw-bell{width:78px;height:78px;color:#fff;transform-origin:50% 10%}
.tw-slide.is-on .tw-bell{animation:twShake 1.6s .3s ease-in-out infinite}
.tw-badge{position:absolute;top:22px;inset-inline-end:26px;width:28px;height:28px;border-radius:50%;background:#f5b841;color:#0b2e24;font-weight:800;display:flex;align-items:center;justify-content:center;transform:scale(0)}
.tw-slide.is-on .tw-badge{animation:twPop .5s .7s cubic-bezier(.2,1.5,.4,1) forwards}
.tw-foot{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;z-index:2}
.tw-dots{display:flex;gap:6px;margin-bottom:6px}
.tw-dots i{width:8px;height:8px;border-radius:999px;background:#ffffff66;transition:width .3s,background .3s}
.tw-dots i.on{width:26px;background:#fff}
.tw-next,.tw-later{width:100%;max-width:380px;font:inherit;font-weight:800;font-size:17px;border:0;border-radius:16px;padding:14px;cursor:pointer}
.tw-next{background:#fff;color:#0d5f45;box-shadow:0 10px 24px #0003}
.tw-later{background:transparent;color:#fff;border:1px solid #ffffff70}
.tw-later[hidden],.tw-skip[hidden]{display:none}
.tw-note{min-height:22px;font-weight:700;color:#e3f6ed}
@keyframes twBg{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes twFloat{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(30px,-20px) scale(1.12)}}
@keyframes twPop{0%{transform:scale(.3) rotate(-12deg);opacity:0}100%{transform:none;opacity:1}}
@keyframes twRing{0%{transform:scale(.9);opacity:.9}100%{transform:scale(1.45);opacity:0}}
@keyframes twUp{from{transform:translateY(16px);opacity:0}to{transform:none;opacity:1}}
@keyframes twDot{0%,100%{transform:translateY(0);opacity:.5}50%{transform:translateY(-6px);opacity:1}}
@keyframes twTile{from{transform:scale(.4) translateY(20px);opacity:0}to{transform:none;opacity:1}}
@keyframes twShake{0%,100%{transform:rotate(0)}10%{transform:rotate(14deg)}20%{transform:rotate(-12deg)}30%{transform:rotate(9deg)}40%{transform:rotate(-6deg)}50%{transform:rotate(0)}}
@media (prefers-reduced-motion:reduce){.tw-splash,.tw-onb,.tw-blob,.tw-logo,.tw-ring,.tw-loader i,.tw-bell{animation:none!important}.tw-hello,.tw-name,.tw-loader,.tw-tile,.tw-badge{animation:none!important;opacity:1!important;transform:none!important}.tw-slide{transition:none}}
