/* Full-page illustrated cover: the artwork fills the whole app shell, with copy in its open right side. */
.device:has(#home.active){background:#fff url('./assets/cover-yangi-nafas-clean.png') center/cover no-repeat!important}
.device:has(#home.active)>header,.device:has(#home.active)>footer{background:transparent!important;border-color:transparent!important}
#home.active{display:flex!important;position:relative!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;background:transparent!important}
#home.active>.home{display:block!important;position:relative!important;flex:1 1 auto!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;background:transparent!important;overflow:hidden!important}
#home.active>.home>.hero-art{display:none!important}
#home.active .home-copy{position:absolute!important;left:58%!important;right:3%!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:auto!important;max-width:none!important;margin:0!important;padding:clamp(14px,1.7vw,26px)!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;z-index:3!important}
#home.active .home-copy .eyebrow{color:#174f78!important;text-shadow:0 1px 2px #fff}
#home.active .home-copy h1{color:#064a7b!important;font-size:clamp(32px,3.3vw,50px)!important;line-height:1.03!important;margin:10px 0!important;text-shadow:0 1px 2px #fff}
#home.active .home-copy .lead{color:#244660!important;font-size:clamp(15px,1.15vw,18px)!important;line-height:1.4!important;margin:0 0 8px!important}
#home.active .home-copy .home-eco{display:flex!important;background:transparent!important;border:0!important;padding:0!important;margin:8px 0!important;color:#176b4b!important;box-shadow:none!important}
#home.active .home-copy .voice{display:flex!important;background:transparent!important;border:0!important;padding:0!important;margin:8px 0!important;color:#245c39!important;box-shadow:none!important}
#home.active .home-copy .home-actions{margin-top:12px!important;gap:10px!important}
#home.active .home-copy .privacy-chip{margin-top:8px!important}
@media(max-width:850px){.device:has(#home.active){background:#fff!important}#home.active{overflow:visible!important}#home.active>.home{height:auto!important;min-height:0!important;overflow:visible!important;background:#fff url('./assets/cover-yangi-nafas-clean.png') center top/100% auto no-repeat!important;padding-top:57vw!important}#home.active .home-copy{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:auto!important;max-width:none!important;margin:0 12px 12px!important;padding:16px!important;background:#fff!important;border:1px solid #e7eee9!important;border-radius:18px!important;box-shadow:0 8px 26px #123a4c18!important}.device:has(#home.active)>header,.device:has(#home.active)>footer{background:#fff!important;border-color:#e8edf0!important}}/* Reveal every live cover line; they were hidden by an older hero-art style. */
#home.active .home-copy .eyebrow,#home.active .home-copy h1,#home.active .home-copy .lead,#home.active .home-copy .home-eco,#home.active .home-copy .voice,#home.active .home-copy .home-actions,#home.active .home-copy .privacy-chip{display:block!important}
#home.active .home-copy .home-actions{display:flex!important}
/* Tablet and compact desktop: keep the illustration and all cover text side by side. */
@media (min-width:561px) and (max-width:850px){.device:has(#home.active){background:#fff!important}.device:has(#home.active)>header,.device:has(#home.active)>footer{background:#fff!important;border-color:#e8edf0!important}#home.active{display:flex!important;min-height:0!important;overflow:hidden!important}#home.active>.home{display:block!important;position:relative!important;flex:1 1 auto!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;background:#fff url('./assets/cover-yangi-nafas-clean.png') center/cover no-repeat!important;overflow:hidden!important}#home.active>.home>.hero-art{display:none!important}#home.active .home-copy{position:absolute!important;left:59%!important;right:2%!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:auto!important;max-width:none!important;margin:0!important;padding:8px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important}#home.active .home-copy .eyebrow{font-size:10px!important;letter-spacing:.07em!important}#home.active .home-copy h1{font-size:clamp(27px,4vw,35px)!important;line-height:1.02!important;margin:5px 0!important}#home.active .home-copy .lead{font-size:13px!important;line-height:1.28!important;margin:0 0 5px!important}#home.active .home-copy .home-eco,#home.active .home-copy .voice{font-size:11px!important;line-height:1.24!important;margin:4px 0!important}#home.active .home-copy .home-actions{gap:6px!important;margin:5px 0!important}#home.active .home-copy .home-actions .primary{padding:9px 12px!important;font-size:13px!important}#home.active .home-copy .duration,#home.active .home-copy .privacy-chip{font-size:10px!important;line-height:1.2!important;margin:4px 0!important}}/* Calm, lightweight motion: keep the people still and animate only leaves, water and a soft light. */
.cover-motion{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none}
.home-copy{z-index:3!important}
.motion-leaf{position:absolute;left:47%;top:9%;font-size:clamp(18px,2vw,28px);filter:drop-shadow(0 3px 6px #195a3540);animation:leafDrift 7s ease-in-out infinite;transform-origin:bottom center}
.motion-spark{position:absolute;left:54%;bottom:15%;font-size:17px;color:#ffd15d;text-shadow:0 0 10px #fff4a6;animation:softSpark 3.8s ease-in-out infinite}
.water-ripple{position:absolute;left:37%;bottom:8%;width:clamp(75px,11vw,142px);height:24px;border:2px solid #edffffbb;border-radius:50%;box-shadow:0 0 10px #c9fff8a3;animation:waterRipple 4.8s ease-out infinite}
.ripple-two{animation-delay:2.4s}
.home-copy .primary{animation:buttonGlow 5s ease-in-out infinite}
@keyframes leafDrift{0%,100%{transform:translate(0,0) rotate(-5deg)}50%{transform:translate(5px,8px) rotate(6deg)}}
@keyframes softSpark{0%,100%{opacity:.4;transform:scale(.82)}50%{opacity:1;transform:scale(1.12)}}
@keyframes waterRipple{0%{transform:scale(.55);opacity:.65}85%,100%{transform:scale(1.45);opacity:0}}
@keyframes buttonGlow{0%,100%{box-shadow:0 12px 24px #f4772140,inset 0 1px #ffffff80}50%{box-shadow:0 14px 32px #f4772168,inset 0 1px #ffffffa0}}
@media(max-width:560px){.motion-leaf{left:48%;top:7%}.motion-spark{left:55%;bottom:47%}.water-ripple{left:38%;bottom:49%}}
@media(prefers-reduced-motion:reduce){.cover-motion,.home-copy .primary{animation:none!important}.motion-leaf,.motion-spark,.water-ripple{animation:none!important}}@media(max-width:560px){.cover-motion{height:57vw;bottom:auto}.motion-spark{left:55%;top:72%;bottom:auto}.water-ripple{left:38%;top:84%;bottom:auto}}/* Living illustrations and icons: slow, staggered light and motion without moving copy. */
#home.active .home-copy .home-eco>span:first-child,#home.active .home-copy .privacy-chip>span:first-child{display:inline-block;animation:ecoFloat 3.2s ease-in-out infinite}
#home.active .home-copy .home-eco>span:first-child{animation-delay:.35s}
#home.active .home-copy .privacy-chip>span:first-child{animation-delay:1.1s}
#home.active .home-copy .voice .spark{display:inline-block;animation:sparkTurn 4.6s ease-in-out infinite}
#home.active .home-copy .primary .start-arrow{display:inline-block;animation:arrowNudge 1.7s ease-in-out infinite}
#home.active .home-copy .primary{animation:buttonGlow 3.8s ease-in-out infinite}
#home.active .motion-spark{animation:softSpark 2.6s ease-in-out infinite}
#home.active .motion-leaf{animation:leafDrift 5.2s ease-in-out infinite}
#home.active .water-ripple{animation-duration:3.4s}
#home.active .ripple-two{animation-delay:1.7s}
#mood .mood-icon{position:relative!important;overflow:hidden!important;filter:drop-shadow(0 3px 4px #0a4c6622);animation:portraitAura 3.8s ease-in-out infinite}
#mood .mood:nth-child(2) .mood-icon{animation-delay:.45s}#mood .mood:nth-child(3) .mood-icon{animation-delay:.9s}#mood .mood:nth-child(4) .mood-icon{animation-delay:1.35s}#mood .mood:nth-child(5) .mood-icon{animation-delay:1.8s}#mood .mood:nth-child(6) .mood-icon{animation-delay:2.25s}
#mood .mood-icon:after{content:"";position:absolute;inset:-20%;border-radius:inherit;pointer-events:none;background:linear-gradient(112deg,transparent 38%,#ffffff88 49%,transparent 61%);transform:translateX(-145%);animation:portraitShimmer 6.4s ease-in-out infinite}
#mood .mood:nth-child(2) .mood-icon:after{animation-delay:.7s}#mood .mood:nth-child(3) .mood-icon:after{animation-delay:1.4s}#mood .mood:nth-child(4) .mood-icon:after{animation-delay:2.1s}#mood .mood:nth-child(5) .mood-icon:after{animation-delay:2.8s}#mood .mood:nth-child(6) .mood-icon:after{animation-delay:3.5s}
.alt-action>span:first-child,.suggestion .big-icon{display:inline-block;animation:iconBob 2.8s ease-in-out infinite}
.alt-action:nth-child(2)>span:first-child{animation-delay:.3s}.alt-action:nth-child(3)>span:first-child{animation-delay:.6s}.alt-action:nth-child(4)>span:first-child{animation-delay:.9s}.alt-action:nth-child(5)>span:first-child{animation-delay:1.2s}.alt-action:nth-child(6)>span:first-child{animation-delay:1.5s}
#complete .check{position:relative}#complete .check:after{content:"";position:absolute;inset:-10px;border:2px solid #58bd7b66;border-radius:50%;animation:checkHalo 2.8s ease-out infinite}
@keyframes portraitAura{0%,100%{filter:drop-shadow(0 2px 3px #0a4c6618)}50%{filter:drop-shadow(0 7px 9px #0a7aa044)}}
@keyframes portraitShimmer{0%,61%,100%{transform:translateX(-145%)}78%{transform:translateX(145%)}}
@keyframes iconBob{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.06)}}
@keyframes ecoFloat{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-3px) rotate(5deg)}}
@keyframes sparkTurn{0%,100%{transform:rotate(0) scale(1)}50%{transform:rotate(25deg) scale(1.15)}}
@keyframes arrowNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}
@keyframes checkHalo{0%{transform:scale(.9);opacity:.75}100%{transform:scale(1.25);opacity:0}}
@media(prefers-reduced-motion:reduce){#home.active .home-copy .home-eco>span:first-child,#home.active .home-copy .privacy-chip>span:first-child,#home.active .home-copy .voice .spark,#home.active .home-copy .primary,#home.active .home-copy .primary .start-arrow,#home.active .motion-spark,#home.active .motion-leaf,#home.active .water-ripple,#mood .mood-icon,#mood .mood-icon:after,.alt-action>span:first-child,.suggestion .big-icon,#complete .check:after{animation:none!important}}/* Make portrait tiles visibly alive while keeping their text and card layout steady. */
#mood .mood-icon{animation:portraitAura 3.8s ease-in-out infinite,moodPortraitLive 3.2s ease-in-out infinite!important}
#mood .mood:nth-child(2) .mood-icon{animation-delay:0s,.35s}#mood .mood:nth-child(3) .mood-icon{animation-delay:0s,.7s}#mood .mood:nth-child(4) .mood-icon{animation-delay:0s,1.05s}#mood .mood:nth-child(5) .mood-icon{animation-delay:0s,1.4s}#mood .mood:nth-child(6) .mood-icon{animation-delay:0s,1.75s}
@keyframes moodPortraitLive{0%,100%{translate:0 0;scale:1}50%{translate:0 -5px;scale:1.065}}
#activity .reco-orb:not(.mood-face){animation:iconBob 3.2s ease-in-out infinite}
#activity .content-card .big-icon,#recommend .big-icon{animation:iconBob 2.6s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){#mood .mood-icon{animation:none!important;translate:none!important;scale:none!important}#activity .reco-orb:not(.mood-face),#activity .content-card .big-icon,#recommend .big-icon{animation:none!important}}/* Botanical cover layer: breeze moves branch tips, leaves and flowers; the stream glints. */
.botanical-motion{position:absolute;inset:0;width:100%;height:100%;z-index:1;overflow:visible;pointer-events:none}
.branch-line{fill:none;stroke:#357344bd;stroke-width:5;stroke-linecap:round;filter:drop-shadow(0 1px 2px #fff7)}
.plant-leaf{fill:#69b451db;stroke:#357447a6;stroke-width:1.5;filter:drop-shadow(0 2px 3px #184e3630);transform-box:fill-box;transform-origin:center bottom;animation:leafFlutter 3.2s ease-in-out infinite}
.branch-top{transform-box:fill-box;transform-origin:10% 25%;animation:branchBreeze 5.4s ease-in-out infinite}
.branch-side{display:none}
.branch-top .plant-leaf:nth-of-type(2n){animation-delay:.55s}.branch-top .plant-leaf:nth-of-type(2n+1){animation-delay:1.05s}
.flower-one,.flower-two{transform-box:fill-box;transform-origin:center bottom;animation:flowerSway 3.4s ease-in-out infinite}.flower-two{animation-delay:1.1s}
.petal{fill:#fff4c6;stroke:#f3bd5c;stroke-width:1.3;transform-box:fill-box;transform-origin:center bottom;animation:petalWarm 3.8s ease-in-out infinite}
.flower-center{fill:#f3a824;stroke:#fff9d7;stroke-width:2}
.water-glint{fill:none;stroke:#eaffffdb;stroke-width:4;stroke-linecap:round;stroke-dasharray:32 235;animation:waterShine 4.5s linear infinite;filter:drop-shadow(0 0 5px #fff)}
@keyframes branchBreeze{0%,100%{transform:rotate(-1deg)}50%{transform:rotate(2.2deg)}}
@keyframes leafFlutter{0%,100%{transform:rotate(-3deg) scale(1)}50%{transform:rotate(7deg) scale(1.04)}}
@keyframes flowerSway{0%,100%{transform:rotate(-3deg) translateY(0)}50%{transform:rotate(4deg) translateY(-4px)}}
@keyframes petalOpen{0%,100%{transform:scale(.94)}50%{transform:scale(1.05)}}
@keyframes waterShine{to{stroke-dashoffset:-267}}
/* Each mood has its own recognizable motion; the same state follows through every screen. */
#mood .mood-icon,#recommend .mood-face,#activity .mood-face{position:relative;overflow:hidden}
#mood .mood-icon:before,#recommend .mood-face:before,#activity .mood-face:before{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;pointer-events:none;opacity:.42}
#mood .mood-icon.mood-up,#recommend .mood-face.face-up,#activity .mood-face.face-up{animation:moodUp 2.5s ease-in-out infinite!important}
#mood .mood-icon.mood-good,#recommend .mood-face.face-good,#activity .mood-face.face-good{animation:moodGood 2.8s ease-in-out infinite!important}
#mood .mood-icon.mood-calm,#recommend .mood-face.face-calm,#activity .mood-face.face-calm{animation:moodCalm 4.8s ease-in-out infinite!important}
#mood .mood-icon.mood-tired,#recommend .mood-face.face-tired,#activity .mood-face.face-tired{animation:moodTired 4.2s ease-in-out infinite!important;filter:saturate(.84)}
#mood .mood-icon.mood-uneasy,#recommend .mood-face.face-uneasy,#activity .mood-face.face-uneasy{animation:moodUneasy 2.2s ease-in-out infinite!important}
#mood .mood-icon.mood-talk,#recommend .mood-face.face-talk,#activity .mood-face.face-talk{animation:moodTalk 2.1s ease-in-out infinite!important}
#mood .mood-icon.mood-up:before,#recommend .mood-face.face-up:before,#activity .mood-face.face-up:before{background:radial-gradient(circle at 50% 42%,#ffdc6840,transparent 66%);animation:stateLight 2.5s ease-in-out infinite}
#mood .mood-icon.mood-good:before,#recommend .mood-face.face-good:before,#activity .mood-face.face-good:before{background:radial-gradient(circle at 50% 42%,#fff1ab36,transparent 72%);animation:stateLight 3s ease-in-out infinite}
#mood .mood-icon.mood-calm:before,#recommend .mood-face.face-calm:before,#activity .mood-face.face-calm:before{background:radial-gradient(circle at 50% 50%,#67d9f02b,transparent 72%);animation:calmGlow 5s ease-in-out infinite}
#mood .mood-icon.mood-tired:before,#recommend .mood-face.face-tired:before,#activity .mood-face.face-tired:before{background:linear-gradient(180deg,#16365a3d,transparent 62%,#16365a21);opacity:.55}
#mood .mood-icon.mood-uneasy:before,#recommend .mood-face.face-uneasy:before,#activity .mood-face.face-uneasy:before{background:radial-gradient(circle at 50%,#8c6be33a,transparent 72%);animation:uneasyGlow 2.2s ease-in-out infinite}
#mood .mood-icon.mood-talk:before,#recommend .mood-face.face-talk:before,#activity .mood-face.face-talk:before{background:radial-gradient(circle at 50%,#ffae5940,transparent 70%);animation:talkGlow 2.1s ease-in-out infinite}
@keyframes moodUp{0%,100%{transform:translateY(0) rotate(-1deg) scale(1)}50%{transform:translateY(-7px) rotate(1deg) scale(1.045)}}
@keyframes moodGood{0%,100%{transform:scale(1)}50%{transform:scale(1.055)}}
@keyframes moodCalm{0%,100%{transform:scale(1) rotate(-.6deg)}50%{transform:scale(1.035) rotate(.6deg)}}
@keyframes moodTired{0%,100%{transform:translateY(1px) rotate(1.5deg) scale(.99)}50%{transform:translateY(7px) rotate(2.5deg) scale(.975)}}
@keyframes moodUneasy{0%,100%{transform:translateX(0) rotate(0)}25%{transform:translateX(-2px) rotate(-.7deg)}75%{transform:translateX(2px) rotate(.7deg)}}
@keyframes moodTalk{0%,100%{transform:scale(1)}30%{transform:scale(1.025)}50%{transform:scale(1.055)}70%{transform:scale(1.025)}}
@keyframes stateLight{0%,100%{opacity:.22}50%{opacity:.58}}@keyframes calmGlow{0%,100%{opacity:.2}50%{opacity:.52}}@keyframes uneasyGlow{0%,100%{opacity:.22}50%{opacity:.62}}@keyframes talkGlow{0%,100%{opacity:.25}50%{opacity:.65}}
@media(prefers-reduced-motion:reduce){.branch-top,.branch-side,.plant-leaf,.flower-one,.flower-two,.petal,.water-glint,#mood .mood-icon,#recommend .mood-face,#activity .mood-face,#mood .mood-icon:before,#recommend .mood-face:before,#activity .mood-face:before{animation:none!important;translate:none!important;scale:none!important}}
@keyframes petalWarm{0%,100%{fill:#fff4c6}50%{fill:#fff9df}}
/* Carry the selected mood portrait into the activity screen, still expressing the same state. */
#activity .activity-visual .mood-status{position:absolute!important;top:8px!important;right:8px!important;left:auto!important;bottom:auto!important;z-index:5!important;width:clamp(54px,7vw,76px)!important;height:auto!important;aspect-ratio:1;border:3px solid #fff!important;border-radius:50%!important;box-shadow:0 8px 20px #063b5a42!important;pointer-events:none}
@media(max-width:850px){#activity .activity-visual .mood-status{width:58px!important;top:5px!important;right:5px!important}}

