/* Approved daytime sky, shared by the desktop and cloud shells. */
.daylight-scene { display: none; position: absolute !important; inset: 0; z-index: 0 !important; overflow: hidden; pointer-events: none; border-radius: inherit; }
.daylight-scene *, .daylight-leaves, .daylight-leaves * { pointer-events: none !important; user-select: none; }
body.time-day .daylight-scene { display: block; }
body.time-day :is(.dashboard-heading,.home-heading,main .page-heading,.workspace .page-heading) { isolation: isolate; background: linear-gradient(125deg,#eef7f8 8%,transparent 74%),linear-gradient(180deg,#b6daeb,#e6f2f4 78%,#fff3d9); border-color:#b8d3dc; }
body.time-day :is(.dashboard-heading,.home-heading,main .page-heading,.workspace .page-heading)::after { display: none; }
body.time-day :is(.dashboard-season-art,.home-season-art) :is(.season-orb,.season-branch,.season-leaf) { display: none; }
body.time-day :is(.dashboard-season-art,.home-season-art) :is(.season-day,.season-month) { color:#254f62; text-shadow:0 1px 4px #ffffffd9; }
body.time-day .project-detail-header { position:relative; isolation:isolate; overflow:hidden; }
body.time-day .project-detail-header > :not(.daylight-scene) { position:relative; z-index:1; }
.daylight-sun { position:absolute; right:235px; top:23px; width:65px; height:65px; border-radius:50%; background:radial-gradient(circle at 38% 32%,#fff3a2 0,#ffda44 40%,#ffc126 73%,#f5a91e 100%); box-shadow:inset 0 0 8px #fff2a977,0 0 20px 8px #ffd05299,0 0 54px 20px #ffdf7055; }
.daylight-glow { position:absolute; right:110px; top:-92px; width:300px; height:300px; border-radius:50%; background:radial-gradient(circle,#ffdf7388 0 20%,#ffda5755 33%,#ffe6a022 49%,transparent 68%); animation:smolov-day-sun 9s ease-in-out infinite alternate; }
.daylight-cloud { position:absolute; width:240px; height:86px; opacity:.72; filter:blur(1.5px); background:radial-gradient(ellipse at 47% 53%,#fff 0 28%,transparent 30%),radial-gradient(ellipse at 67% 64%,#fffffc 0 30%,transparent 32%),radial-gradient(ellipse at 27% 69%,#f8fbfc 0 25%,transparent 27%),radial-gradient(ellipse at 49% 76%,#e9f3f5 0 40%,transparent 43%); animation:smolov-day-cloud 54s ease-in-out infinite alternate; }
.daylight-cloud.cloud-near { right:145px; top:82px; }
.daylight-cloud.cloud-far { right:335px; top:10px; width:135px; height:53px; opacity:.4; filter:blur(2px); animation-duration:69s; animation-delay:-23s; }
.daylight-birds { position:absolute; right:310px; top:93px; width:65px; height:25px; opacity:0; animation:smolov-day-birds 32s linear -20s infinite; }
.daylight-birds i { position:absolute; width:16px; height:8px; }
.daylight-birds i::before,.daylight-birds i::after { content:''; position:absolute; top:2px; width:9px; height:5px; border-top:1px solid #527d8f; border-radius:70% 80% 0 0; }
.daylight-birds i::before { left:0; transform:rotate(18deg); }
.daylight-birds i::after { right:0; transform:rotate(-18deg); }
.daylight-birds i:nth-child(2) { left:24px; top:8px; transform:scale(.7); }
.daylight-birds i:nth-child(3) { left:40px; top:-5px; transform:scale(.6); }
.daylight-plane { position:absolute; right:28px; top:10px; width:180px; height:65px; }
.daylight-plane i { position:absolute; width:23px; height:21px; background:linear-gradient(145deg,#fbfdff 0 42%,#6295ac 43% 48%,#d2e6ee 49%); clip-path:polygon(0 28%,100% 0,48% 100%,39% 55%); filter:drop-shadow(0 2px 2px #21495722); animation:smolov-day-plane 32s linear -3s infinite; opacity:0; }
.daylight-leaves { position:fixed; inset:0; z-index:10000; overflow:hidden; contain:strict; }
body.time-morning .daylight-leaves { opacity:.9; }
body.time-evening .daylight-leaves { opacity:.72; }
body.time-night .daylight-leaves { opacity:.55; }
body.time-night .daylight-falling-leaf canvas { filter:brightness(1.28) saturate(.65) drop-shadow(0 0 3px #fff0c477); }
.daylight-leaves[hidden], .daylight-falling-leaf[hidden] { display:none !important; }
.daylight-falling-leaf { position:absolute; top:-45px; opacity:0; }
.daylight-falling-leaf canvas { display:block; width:100%; height:100%; filter:drop-shadow(1px 2px 1px #71502422); }
body.daylight-motion-paused .daylight-scene * { animation-play-state:paused !important; }
@keyframes smolov-day-sun { from {opacity:.78;transform:scale(.97)} to {opacity:1;transform:scale(1.04)} }
@keyframes smolov-day-cloud { from {transform:translateX(-20px)} to {transform:translateX(40px)} }
@keyframes smolov-day-birds { 0%,55% {opacity:0;transform:translate(24px,5px)} 59%,82% {opacity:.55} 88%,100% {opacity:0;transform:translate(-120px,-22px)} }
@keyframes smolov-day-plane { 0% {left:0;top:72%;opacity:0;transform:rotate(24deg)} 4% {opacity:.7} 10% {left:30%;top:33%;transform:rotate(5deg)} 19% {left:59%;top:24%;transform:rotate(56deg)} 28% {left:86%;top:38%;opacity:.7;transform:rotate(28deg)} 33%,100% {left:108%;top:12%;opacity:0;transform:rotate(15deg)} }
@media(max-width:700px) {
  body.time-day .home-heading { padding:22px 22px 132px; min-height:310px; }
  body.time-day .home-season-art { inset:auto 14px 16px auto; width:170px; height:90px; transform:none; }
  body.time-day .home-season-art .season-day { right:0;bottom:28px;font-size:34px; }
  body.time-day .home-season-art .season-month { right:0;bottom:3px;font-size:18px;max-width:none; }
  .daylight-sun { right:calc(100% - 92px);top:auto;bottom:35px;width:48px;height:48px; }
  .daylight-glow { right:calc(100% - 195px);top:auto;bottom:-72px; }
  .daylight-cloud.cloud-near { top:auto;bottom:0;right:40px;opacity:.5; }
  .daylight-cloud.cloud-far,.daylight-birds,.daylight-plane { display:none; }
  body.time-day :is(main .page-heading:not(.home-heading),.project-detail-header) .daylight-sun { right:20px;bottom:12px;opacity:.35; }
}
@media(prefers-reduced-motion:reduce) { .daylight-leaves,.daylight-plane,.daylight-birds { display:none !important; } .daylight-scene * { animation:none !important; } }
@media print { .daylight-leaves,.daylight-scene { display:none !important; } }
