*{box-sizing:border-box}
.growth-loading-screen{margin:0;min-height:100%;font-family:IRANSansXFaNum,Tahoma,sans-serif}
.growth-loading-screen{--bg:#080f1d;--fg:#f5f7ff;--muted:#a1acc4;--glass:rgba(255,255,255,.055);--stroke:rgba(255,255,255,.13);--accent:#a8f4c0;background:var(--bg);color:var(--fg);transition:background .6s,color .6s;overflow:hidden}
.growth-loading-screen[data-growth-theme="light"]{--bg:#f1f6f3;--fg:#172d2c;--muted:#697d7b;--glass:rgba(255,255,255,.65);--stroke:rgba(28,74,62,.13);--accent:#198b64}
.growth-loading-screen button{font:inherit;cursor:pointer}
.growth-loading-screen{height:100dvh;min-height:620px;max-height:1050px;display:flex;flex-direction:column;position:relative;isolation:isolate;overflow:hidden}
.growth-loading-screen .aurora{position:absolute;inset:-25%;z-index:-3;background:radial-gradient(ellipse at 50% 52%,rgba(31,121,96,.21),transparent 39%),radial-gradient(ellipse at 15% 10%,rgba(79,94,188,.17),transparent 38%),radial-gradient(ellipse at 85% 80%,rgba(38,158,124,.13),transparent 35%);animation:growth-loading-aurora 13s ease-in-out infinite alternate}
.growth-loading-screen[data-growth-theme="light"] .aurora{background:radial-gradient(ellipse at 50% 52%,rgba(73,186,135,.18),transparent 42%),radial-gradient(ellipse at 15% 10%,rgba(156,198,228,.22),transparent 38%),radial-gradient(ellipse at 85% 80%,rgba(238,198,134,.19),transparent 35%)}
@keyframes growth-loading-aurora{to{transform:translate(6%,-4%) rotate(8deg) scale(1.08)}}
.growth-loading-screen .grain{position:absolute;inset:0;pointer-events:none;opacity:.14;z-index:-1;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.19'/%3E%3C/svg%3E")}
.growth-loading-screen .top{display:flex;align-items:center;justify-content:space-between;padding:calc(20px + env(safe-area-inset-top)) 24px 0;z-index:3}
.growth-loading-screen .brand{font-weight:800;letter-spacing:-.5px;font-size:16px;display:flex;align-items:center;gap:10px}
.growth-loading-screen .brandmark{width:28px;height:28px;border-radius:10px;background:linear-gradient(145deg,#a7eeb9,#3a977c);display:grid;place-items:center;color:#0a3127;box-shadow:0 0 26px #6ce6aa50}
.growth-loading-screen .switch{border:1px solid var(--stroke);background:var(--glass);color:var(--fg);padding:9px 13px;border-radius:50px;backdrop-filter:blur(16px);font-size:12px}
.growth-loading-screen .intro{text-align:center;z-index:2;margin-top:clamp(24px,5vh,54px);padding:0 20px}
.growth-loading-screen .eyebrow{color:var(--accent);font-size:11px;letter-spacing:3px;font-weight:700}
.growth-loading-screen .intro h1{font-size:clamp(27px,5.6vw,43px);line-height:1.55;letter-spacing:-1.3px;margin:12px 0 8px;font-weight:800}
.growth-loading-screen .intro h1 span{color:var(--accent)}
.growth-loading-screen .intro p{font-size:13px;color:var(--muted);margin:0;line-height:2}
.growth-loading-screen .scene{flex:1;min-height:0;position:relative;display:grid;place-items:center;z-index:1}
.growth-loading-screen .scene:before{content:"";position:absolute;width:min(85vw,440px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(83,232,161,.13),transparent 66%);filter:blur(20px)}
.growth-loading-screen .orb{width:min(91vw,480px,56vh);aspect-ratio:1;position:relative;display:grid;place-items:center;touch-action:manipulation;cursor:pointer}
.growth-loading-screen .ring{position:absolute;inset:5%;border:1px solid rgba(137,219,186,.15);border-radius:50%;transform:rotateX(64deg) rotate(-17deg);animation:growth-loading-spin 23s linear infinite}
.growth-loading-screen .ring.r2{inset:14%;border-style:dashed;opacity:.55;animation-duration:33s;animation-direction:reverse;transform:rotateX(68deg) rotate(32deg)}
.growth-loading-screen .ring.r3{inset:0%;border-color:rgba(142,202,188,.10);transform:rotateY(70deg) rotate(28deg);animation-duration:45s}
.growth-loading-screen[data-growth-theme="light"] .ring{border-color:rgba(20,105,75,.17)}
@keyframes growth-loading-spin{to{rotate:360deg}}
.growth-loading-screen .core{position:absolute;inset:13%;border-radius:50%;background:radial-gradient(circle at 48% 50%,rgba(23,89,73,.19),rgba(15,49,49,.07) 46%,transparent 70%);box-shadow:inset 0 0 90px rgba(72,226,157,.05)}
.growth-loading-screen .tree{width:80%;height:90%;overflow:visible;filter:drop-shadow(0 0 14px rgba(102,247,173,.25));transform-origin:50% 88%;animation:growth-loading-breathe 5s ease-in-out infinite}
.growth-loading-screen .tree .branch{fill:none;stroke:url(#wood);stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:900;stroke-dashoffset:900;transition:stroke-dashoffset 1.8s cubic-bezier(.2,.7,.2,1)}
.growth-loading-screen .tree .twig{fill:none;stroke:#78c6a1;stroke-linecap:round;opacity:0;transition:opacity .8s}
.growth-loading-screen .tree .twig.on{opacity:.72}
.growth-loading-screen .tree .blossom{opacity:0;scale:0;transform-box:fill-box;transform-origin:center;transition:opacity 1.1s,scale 1.2s cubic-bezier(.2,1.6,.2,1);filter:drop-shadow(0 0 7px rgba(255,187,206,.65))}
.growth-loading-screen .tree .blossom.on{opacity:1;scale:1;animation:growth-loading-flowerSway 4s ease-in-out infinite alternate}
@keyframes growth-loading-flowerSway{to{rotate:7deg}}
.growth-loading-screen .tree .leaf{transform-box:fill-box;transform-origin:center;scale:0;opacity:0;transition:scale 1.15s cubic-bezier(.2,1.35,.3,1),opacity 1s;filter:drop-shadow(0 0 8px rgba(110,250,176,.4))}
.growth-loading-screen .tree .leaf.on{scale:1;opacity:1}
@keyframes growth-loading-breathe{50%{transform:scale(1.025) translateY(-3px)}}
.growth-loading-screen .ground{position:absolute;bottom:7%;width:62%;height:8%;background:radial-gradient(ellipse,rgba(91,237,156,.28),transparent 72%);filter:blur(11px)}
.growth-loading-screen .particle{position:absolute;width:3px;height:3px;border-radius:50%;background:#aaf5ca;box-shadow:0 0 10px #77efae;opacity:.7;animation:growth-loading-float var(--dur) linear infinite;left:var(--x);top:var(--y);animation-delay:var(--delay)}
@keyframes growth-loading-float{to{transform:translate(var(--dx),-90px);opacity:0}}
.growth-loading-screen .tap{position:absolute;bottom:4%;color:var(--muted);font-size:11px;letter-spacing:.2px;display:flex;align-items:center;gap:7px}
.growth-loading-screen .bottom{padding:0 25px calc(23px + env(safe-area-inset-bottom));max-width:500px;width:100%;margin:0 auto;z-index:3}
.growth-loading-screen .progress-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}
.growth-loading-screen .progress-row strong{font-size:30px;letter-spacing:-1px;font-weight:600;font-variant-numeric:tabular-nums}
.growth-loading-screen .progress-row span{font-size:12px;color:var(--muted)}
.growth-loading-screen .track{height:5px;background:var(--stroke);border-radius:30px;overflow:hidden;direction:ltr}
.growth-loading-screen .fill{height:100%;width:0;background:linear-gradient(90deg,#438f8c,#b8ffd0);border-radius:30px;box-shadow:0 0 16px #7af8b0;transition:width .2s linear}
.growth-loading-screen .quote{display:flex;align-items:center;gap:13px;margin-top:23px;border:1px solid var(--stroke);background:var(--glass);border-radius:19px;padding:15px 17px;backdrop-filter:blur(15px);min-height:76px}
.growth-loading-screen .quote-icon{font-size:21px;flex:none}
.growth-loading-screen .quote strong{font-size:12px;display:block;margin-bottom:4px}
.growth-loading-screen .quote small{font-size:11px;color:var(--muted);line-height:1.8;display:block}
.growth-loading-screen .controls{display:flex;gap:10px;justify-content:center;margin-top:15px}
.growth-loading-screen .controls button{border:1px solid var(--stroke);background:transparent;color:var(--muted);border-radius:30px;padding:7px 16px;font-size:11px}
.growth-loading-screen .pulse{position:absolute;left:50%;top:50%;border:1px solid #a8ffd1;border-radius:50%;width:20px;height:20px;pointer-events:none;animation:growth-loading-pulse 1s ease-out forwards}
@keyframes growth-loading-pulse{to{width:310px;height:310px;opacity:0;transform:translate(-145px,-145px)}}
@media(min-width:700px){.growth-loading-screen{max-width:520px;margin:auto;box-shadow:0 0 0 1px var(--stroke),0 30px 120px #0003;min-height:min(800px,100dvh);height:100dvh}
.growth-loading-screen .scene{margin-top:-10px}
}
@media(max-height:690px){.growth-loading-screen .intro{margin-top:10px}
.growth-loading-screen .intro h1{font-size:25px}
.growth-loading-screen .orb{width:min(76vw,320px,45vh)}
.growth-loading-screen .quote{margin-top:12px;min-height:62px;padding:10px}
.growth-loading-screen .bottom{padding-bottom:12px}
.growth-loading-screen .tap{bottom:0}
}
@media(prefers-reduced-motion:reduce){.growth-loading-screen *,.growth-loading-screen *:before,.growth-loading-screen *:after{animation-duration:.001ms!important;transition-duration:.001ms!important}
}
.growth-loading-screen .tree{animation:growth-loading-breathe 9s ease-in-out infinite}
.growth-loading-screen .tree .branch{transition:none;filter:drop-shadow(0 0 2px rgba(120,210,157,.18))}
.growth-loading-screen .tree .twig{transition:opacity .425s ease-in-out}
.growth-loading-screen .tree .leaf{transition:opacity .525s cubic-bezier(.22,.61,.36,1),scale .625s cubic-bezier(.16,.8,.22,1);transform-origin:12% 85%;filter:drop-shadow(0 0 3px rgba(110,250,176,.18))}
.growth-loading-screen .tree .blossom{transition:opacity .3s ease-in-out,scale .375s cubic-bezier(.16,.8,.22,1);filter:drop-shadow(0 0 5px rgba(255,187,206,.34))}
.growth-loading-screen .tree .blossom.on{animation:growth-loading-flowerSway 8s ease-in-out infinite alternate}
@keyframes growth-loading-flowerSway{to{rotate:3deg}}
.growth-loading-screen .sky{position:absolute;inset:0;pointer-events:none;z-index:-2;overflow:hidden;transition:background 1.2s ease;background:radial-gradient(ellipse at 78% 17%,#172e54 0%,#0b1731 28%,transparent 65%)}
.growth-loading-screen[data-growth-theme="light"] .sky{background:linear-gradient(165deg,#a8d8f2 0%,#e5f3ef 39%,#f8ead1 73%,#f2f6ec 100%)}
.growth-loading-screen .sun,.growth-loading-screen .moon{position:absolute;top:24%;left:13%;width:82px;height:82px;border-radius:50%;transition:opacity 1s,transform 1.3s;}
.growth-loading-screen .sun{opacity:0;transform:translateY(20px) scale(.7);background:radial-gradient(circle at 36% 35%,#fffef2,#ffe6a1 52%,#ffc665 100%);box-shadow:0 0 40px 15px #ffd78d77,0 0 120px 65px #f8ca7d55,0 0 240px 90px #ffda9450;animation:growth-loading-sunFloat 10s ease-in-out infinite alternate}
.growth-loading-screen[data-growth-theme="light"] .sun{opacity:1;transform:translateY(0) scale(1)}
.growth-loading-screen .moon{left:auto;right:13%;width:72px;height:72px;background:radial-gradient(circle at 35% 28%,#fff,#d9e4f7 62%,#9cb6dc);box-shadow:0 0 22px #e2e9ff77,0 0 95px #98b9fc66;opacity:1;animation:growth-loading-moonFloat 9s ease-in-out infinite alternate}
.growth-loading-screen .moon:after{content:'';position:absolute;inset:13px;border-radius:50%;background:radial-gradient(circle at 27% 35%,#8a9dbb66 0 5px,transparent 6px),radial-gradient(circle at 70% 62%,#8a9dbb55 0 9px,transparent 10px),radial-gradient(circle at 59% 19%,#8a9dbb55 0 4px,transparent 5px)}
.growth-loading-screen[data-growth-theme="light"] .moon{opacity:0;transform:translateY(20px) scale(.7)}
.growth-loading-screen .star{position:absolute;border-radius:50%;background:#fff;box-shadow:0 0 8px 2px #c0d9ff88;animation:growth-loading-twinkle var(--dur) ease-in-out infinite alternate;animation-delay:var(--delay);transition:opacity .9s}
.growth-loading-screen .star.bright:before,.growth-loading-screen .star.bright:after{content:'';position:absolute;background:linear-gradient(90deg,transparent,#e6efff,transparent);left:50%;top:50%;transform:translate(-50%,-50%);width:20px;height:1px}
.growth-loading-screen .star.bright:after{transform:translate(-50%,-50%) rotate(90deg)}
.growth-loading-screen[data-growth-theme="light"] .star{opacity:0;animation:none}
@keyframes growth-loading-twinkle{from{opacity:.15;transform:scale(.6)}to{opacity:1;transform:scale(1.5)}}
@keyframes growth-loading-sunFloat{to{translate:0 -9px}}
@keyframes growth-loading-moonFloat{to{translate:0 -8px}}
.growth-loading-screen[data-growth-theme="light"] .tree .branch{stroke:#456342;filter:drop-shadow(0 0 1px #4b6b4a44)}
.growth-loading-screen[data-growth-theme="light"] .tree .twig{stroke:#58764b}
.growth-loading-screen[data-growth-theme="light"] .tree .leaf{filter:brightness(.67) saturate(1.35) drop-shadow(0 1px 1px #21452c33)}
.growth-loading-screen[data-growth-theme="light"] .tree .blossom{filter:saturate(1.3) drop-shadow(0 1px 2px #c7839b55)}
.growth-loading-screen[data-growth-theme="light"] .core{filter:saturate(.7)}
@media(max-height:700px){.growth-loading-screen .sun,.growth-loading-screen .moon{top:22%;width:56px;height:56px}
}
@media(prefers-reduced-motion:reduce){.growth-loading-screen .star,.growth-loading-screen .sun,.growth-loading-screen .moon{animation:none}
}
.growth-loading-screen .tree .blossom.on{cursor:pointer;pointer-events:all;touch-action:manipulation}
.growth-loading-screen .tree .blossom.bursting{opacity:0!important;scale:.15!important;transition:opacity .24s ease,scale .3s ease!important;animation:none!important;pointer-events:none}
.growth-loading-screen .petal-fx{position:absolute;inset:0;pointer-events:none;overflow:visible;z-index:9}
.growth-loading-screen .flying-petal{position:absolute;width:11px;height:18px;border-radius:85% 10% 85% 12%;background:linear-gradient(135deg,#fff9f3,#ff9fca 60%,#df6b9c);box-shadow:0 0 10px #ffc1df88;transform-origin:50% 90%;animation:growth-loading-petal-burst var(--time) cubic-bezier(.12,.55,.28,1) forwards;will-change:transform,opacity}
@keyframes growth-loading-petal-burst{0%{transform:translate(-50%,-50%) rotate(var(--start)) scale(.35);opacity:0}9%{opacity:1}35%{transform:translate(calc(-50% + var(--dx)*.65),calc(-50% + var(--dy)*.7)) rotate(var(--spin)) scale(1)}100%{transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy) + 115px)) rotate(calc(var(--spin) + 160deg)) scale(.6);opacity:0}}
.growth-loading-screen .burst-spark{position:absolute;width:4px;height:4px;border-radius:50%;background:#ffe8a2;box-shadow:0 0 9px #ffcb8d;pointer-events:none;animation:growth-loading-spark-out 850ms ease-out forwards}
@keyframes growth-loading-spark-out{to{transform:translate(var(--dx),var(--dy));opacity:0}}
@media(prefers-reduced-motion:reduce){.growth-loading-screen .flying-petal,.growth-loading-screen .burst-spark{animation-duration:.2s!important}
}
.growth-loading-screen .soodish-logo{width:38px;height:38px;object-fit:contain;border-radius:10px;flex:none}
.growth-loading-screen .soodish-name{font-size:17px;font-weight:800;letter-spacing:0}
.growth-loading-screen .brand{gap:8px;direction:rtl}

.growth-loading-screen{width:100%;max-width:none;min-height:100dvh;max-height:none;overflow-y:auto;direction:rtl}
.growth-loading-screen .top,.growth-loading-screen .intro{width:100%;max-width:520px;margin-inline:auto}
.growth-loading-screen .track{flex-shrink:0}
.growth-loading-screen #boot-retry{display:block}.growth-loading-screen #boot-retry[hidden]{display:none}
.growth-loading-screen.loading-animation-paused *{animation-play-state:paused!important}
@media(max-height:620px){.growth-loading-screen{min-height:100dvh}.growth-loading-screen .scene{min-height:180px}.growth-loading-screen .intro h1{font-size:23px}.growth-loading-screen .quote{margin-top:10px}}

.growth-loading-screen.entertainment-screen .progress-row,.growth-loading-screen.entertainment-screen .track{display:none}

/* Initialize the time palette before exposing the loading screen. */
.growth-loading-screen:not([data-growth-theme]){visibility:hidden}
.growth-loading-screen{--muted:#c4cee3;--accent:#b8ffd6}
.growth-loading-screen[data-growth-theme="light"]{--fg:#102c32;--muted:#304f59;--accent:#07583e}
.growth-loading-screen[data-growth-theme="light"][data-day-phase="sunset"]{--fg:#3b201a;--muted:#60392e;--accent:#713316}
.growth-loading-screen[data-growth-theme="light"] .sky{background:linear-gradient(165deg,#a8d8f2 0%,#e5f3ef 39%,#f8ead1 73%,#f2f6ec 100%)}
.growth-loading-screen[data-growth-theme="light"][data-day-phase="sunset"] .sky{background:linear-gradient(165deg,#edb7a1,#f9d4b4 39%,#fff0d7 73%,#f2e6d6)}
.growth-loading-screen .sun,.growth-loading-screen .moon{left:var(--celestial-x,8%);top:var(--celestial-y,32%);right:auto;transform:translateX(-50%);transition:opacity .6s,left 1s linear,top 1s linear;opacity:0}
.growth-loading-screen .sun{background:radial-gradient(circle at 36% 35%,#fffbea,hsl(var(--sun-hue,46) 100% 77%) 52%,hsl(var(--sun-hue,46) 100% 57%));box-shadow:0 0 35px 14px hsl(var(--sun-hue,46) 100% 70% / .7),0 0 110px 55px hsl(var(--sun-hue,46) 100% 65% / .4)}
.growth-loading-screen .moon{box-shadow:0 0 28px 10px #e2e9ff99,0 0 100px 40px #98b9fc66}
.growth-loading-screen[data-celestial="sun"] .sun,.growth-loading-screen[data-celestial="moon"] .moon{opacity:1;transform:translateX(-50%)}
.growth-loading-screen[data-celestial="moon"] .sun,.growth-loading-screen[data-celestial="sun"] .moon{opacity:0}

.growth-loading-screen[data-growth-theme="light"] .sky:before{content:"";position:absolute;inset:0;background:linear-gradient(165deg,#ed9a81,#f9c29d 39%,#fff0d7 73%,#f2e6d6);opacity:var(--sunset,0);pointer-events:none}

/* Avoid per-leaf SVG filters during WebAssembly startup. */
.growth-loading-screen:not([data-growth-mode="entertainment"]) .tree,
.growth-loading-screen:not([data-growth-mode="entertainment"]) .tree .leaf,
.growth-loading-screen:not([data-growth-mode="entertainment"]) .tree .blossom{filter:none}
.growth-loading-screen:not([data-growth-mode="entertainment"]) .tree{animation:none}
