/* Bulut derinliği ve hız dengesi: üst katman sakin, alt katman daha canlı. */
.chart-weather .weather-cloud {
  filter: blur(1.25px);
  opacity: .5;
  box-shadow: 0 -2px 10px color-mix(in srgb, var(--space-white) 7%, transparent), 0 4px 11px color-mix(in srgb, var(--bg) 14%, transparent);
}
.chart-weather .weather-cloud::before,
.chart-weather .weather-cloud::after {
  filter: blur(3.8px);
  opacity: .52;
}
.chart-weather .weather-cloud i,
.chart-weather .weather-cloud b,
.chart-weather .weather-cloud em {
  filter: blur(.9px);
}

/* Uzak üst bulutlar küçük, seyrek ve çok yavaş hareket eder. */
.chart-weather .weather-cloud-far-one,
.chart-weather .weather-cloud-far-two,
.chart-weather .weather-cloud-far-three,
.chart-weather .weather-cloud-far-four,
.chart-weather .weather-cloud-far-five,
.chart-weather .weather-cloud-far-six,
.chart-weather .weather-cloud-distant-one,
.chart-weather .weather-cloud-distant-two,
.chart-weather .weather-cloud-distant-three,
.chart-weather .weather-cloud-distant-four,
.chart-weather .weather-cloud-distant-five,
.chart-weather .weather-cloud-distant-six,
.chart-weather .weather-cloud-distant-seven,
.chart-weather .weather-cloud-distant-eight {
  filter: blur(.35px);
  animation-duration: 168s;
  animation-timing-function: linear;
}
.chart-weather .weather-cloud-far-one,
.chart-weather .weather-cloud-far-two,
.chart-weather .weather-cloud-far-three,
.chart-weather .weather-cloud-far-four,
.chart-weather .weather-cloud-far-five,
.chart-weather .weather-cloud-far-six {
  opacity: .2;
}
.chart-weather .weather-cloud-distant-one,
.chart-weather .weather-cloud-distant-two,
.chart-weather .weather-cloud-distant-three,
.chart-weather .weather-cloud-distant-four,
.chart-weather .weather-cloud-distant-five,
.chart-weather .weather-cloud-distant-six,
.chart-weather .weather-cloud-distant-seven,
.chart-weather .weather-cloud-distant-eight {
  opacity: .17;
}
.chart-weather .weather-cloud-distant-one { animation-delay: -11s; }
.chart-weather .weather-cloud-distant-two { animation-delay: -39s; }
.chart-weather .weather-cloud-distant-three { animation-delay: -73s; }
.chart-weather .weather-cloud-distant-four { animation-delay: -101s; }
.chart-weather .weather-cloud-distant-five { animation-delay: -27s; }
.chart-weather .weather-cloud-distant-six { animation-delay: -132s; }
.chart-weather .weather-cloud-distant-seven { animation-delay: -58s; }
.chart-weather .weather-cloud-distant-eight { animation-delay: -149s; }

/* Orta ve alt katmanlar daha hızlı, ancak geçişleri hâlâ yumuşak kalır. */
.chart-weather .weather-cloud-mid-one { animation-duration: 58s; }
.chart-weather .weather-cloud-mid-two { animation-duration: 64s; }
.chart-weather .weather-cloud-mid-three { animation-duration: 60s; }
.chart-weather .weather-cloud-front { animation-duration: 48s; }
.chart-weather .weather-cloud-low-one { animation-duration: 37s; }
.chart-weather .weather-cloud-low-two { animation-duration: 44s; }
.chart-weather .weather-cloud-low-three { animation-duration: 51s; }
.chart-weather .weather-cloud-low-four { animation-duration: 42s; }
.chart-weather .weather-cloud-low-five { animation-duration: 58s; }
.chart-weather .weather-cloud-low-six { animation-duration: 47s; }
.chart-weather .weather-cloud-mid-one,
.chart-weather .weather-cloud-mid-two,
.chart-weather .weather-cloud-mid-three,
.chart-weather .weather-cloud-front {
  filter: blur(1.65px);
  scale: 1.08 1.22;
}
.chart-weather .weather-cloud-low-one,
.chart-weather .weather-cloud-low-two,
.chart-weather .weather-cloud-low-three,
.chart-weather .weather-cloud-low-four,
.chart-weather .weather-cloud-low-five,
.chart-weather .weather-cloud-low-six {
  filter: blur(2.2px);
  opacity: .14;
  scale: 1.18 1.3;
}
.chart-weather .weather-cloud-low-one {
  left: 1%;
  top: 67%;
  width: 184px;
  height: 19px;
  opacity: .2;
  scale: 1.14 1.38;
}
.chart-weather .weather-cloud-low-two {
  left: 38%;
  top: 73%;
  width: 238px;
  height: 23px;
  opacity: .18;
  scale: 1.25 1.46;
}
.chart-weather .weather-cloud-low-three {
  right: -4%;
  top: 65%;
  width: 202px;
  height: 16px;
  opacity: .2;
  scale: 1.08 1.28;
  border-radius: 42% 58% 34% 53%;
}
.chart-weather .weather-cloud-low-four {
  left: 18%;
  top: 79%;
  width: 156px;
  height: 26px;
  opacity: .16;
  scale: .98 1.52;
  border-radius: 64% 36% 52% 28%;
}
.chart-weather .weather-cloud-low-five {
  right: 22%;
  top: 68%;
  width: 176px;
  height: 20px;
  opacity: .18;
  scale: 1.16 1.34;
  border-radius: 34% 66% 58% 42%;
}
.chart-weather .weather-cloud-low-six {
  left: 59%;
  top: 84%;
  width: 218px;
  height: 18px;
  opacity: .15;
  scale: 1.32 1.24;
  border-radius: 55% 45% 30% 64%;
}
.market-weather[data-trend="down"] .weather-cloud {
  opacity: .66;
  filter: blur(2px);
}
.market-weather[data-trend="down"] .weather-cloud::before,
.market-weather[data-trend="down"] .weather-cloud::after {
  filter: blur(5px);
  opacity: .56;
}
.market-weather[data-trend="down"] .weather-cloud-low-one,
.market-weather[data-trend="down"] .weather-cloud-low-two,
.market-weather[data-trend="down"] .weather-cloud-low-three,
.market-weather[data-trend="down"] .weather-cloud-low-four,
.market-weather[data-trend="down"] .weather-cloud-low-five,
.market-weather[data-trend="down"] .weather-cloud-low-six {
  opacity: .34;
  filter: blur(2.8px);
}

/* Üst sis perdesi ve uzak bulutlar sayesinde ekran tamamen boş görünmez. */

@media (prefers-reduced-motion: reduce) {
  .chart-weather .weather-cloud-far-one,
  .chart-weather .weather-cloud-far-two,
  .chart-weather .weather-cloud-far-three,
  .chart-weather .weather-cloud-far-four,
  .chart-weather .weather-cloud-far-five,
  .chart-weather .weather-cloud-far-six,
  .chart-weather .weather-cloud-distant-one,
  .chart-weather .weather-cloud-distant-two,
  .chart-weather .weather-cloud-distant-three,
  .chart-weather .weather-cloud-distant-four,
  .chart-weather .weather-cloud-distant-five,
  .chart-weather .weather-cloud-distant-six,
  .chart-weather .weather-cloud-distant-seven,
  .chart-weather .weather-cloud-distant-eight,
  .chart-weather .weather-cloud-mid-one,
  .chart-weather .weather-cloud-mid-two,
  .chart-weather .weather-cloud-mid-three,
  .chart-weather .weather-cloud-front,
  .chart-weather .weather-cloud-low-one,
  .chart-weather .weather-cloud-low-two,
  .chart-weather .weather-cloud-low-three,
  .chart-weather .weather-cloud-low-four,
  .chart-weather .weather-cloud-low-five,
  .chart-weather .weather-cloud-low-six { animation: none; }
}

/* Altı alt bulut: devasa, sisli ve birbirinden farklı katmanlı kütleler. */
.chart-weather .weather-cloud-low-one,
.chart-weather .weather-cloud-low-two,
.chart-weather .weather-cloud-low-three,
.chart-weather .weather-cloud-low-four,
.chart-weather .weather-cloud-low-five,
.chart-weather .weather-cloud-low-six {
  z-index: 5;
  filter: blur(3.8px) saturate(.78);
  opacity: .22;
  overflow: visible;
  box-shadow: 0 -6px 18px color-mix(in srgb, var(--space-white) 8%, transparent), 0 10px 24px color-mix(in srgb, var(--bg) 24%, transparent);
}
.chart-weather .weather-cloud-low-one::before,
.chart-weather .weather-cloud-low-two::before,
.chart-weather .weather-cloud-low-three::before,
.chart-weather .weather-cloud-low-four::before,
.chart-weather .weather-cloud-low-five::before,
.chart-weather .weather-cloud-low-six::before {
  left: -8%;
  bottom: -58%;
  width: 116%;
  height: 128%;
  opacity: .76;
  filter: blur(7px);
  box-shadow: none;
}
.chart-weather .weather-cloud-low-one::after,
.chart-weather .weather-cloud-low-two::after,
.chart-weather .weather-cloud-low-three::after,
.chart-weather .weather-cloud-low-four::after,
.chart-weather .weather-cloud-low-five::after,
.chart-weather .weather-cloud-low-six::after {
  right: -12%;
  top: -30%;
  width: 54%;
  height: 132%;
  opacity: .64;
  filter: blur(5px);
  box-shadow: none;
}
.chart-weather .weather-cloud-low-one i,
.chart-weather .weather-cloud-low-one b,
.chart-weather .weather-cloud-low-one em,
.chart-weather .weather-cloud-low-two i,
.chart-weather .weather-cloud-low-two b,
.chart-weather .weather-cloud-low-two em,
.chart-weather .weather-cloud-low-three i,
.chart-weather .weather-cloud-low-three b,
.chart-weather .weather-cloud-low-three em,
.chart-weather .weather-cloud-low-four i,
.chart-weather .weather-cloud-low-four b,
.chart-weather .weather-cloud-low-four em,
.chart-weather .weather-cloud-low-five i,
.chart-weather .weather-cloud-low-five b,
.chart-weather .weather-cloud-low-five em,
.chart-weather .weather-cloud-low-six i,
.chart-weather .weather-cloud-low-six b,
.chart-weather .weather-cloud-low-six em {
  filter: blur(2.8px);
  box-shadow: none;
}
.chart-weather .weather-cloud-low-one { left: -5%; top: 61%; width: 330px; height: 44px; scale: 1.1 1.34; border-radius: 68% 32% 48% 30%; }
.chart-weather .weather-cloud-low-one b { left: 29%; width: 52%; height: 166%; bottom: 11%; }
.chart-weather .weather-cloud-low-one em { right: 1%; width: 27%; height: 94%; }
.chart-weather .weather-cloud-low-two { left: 28%; top: 70%; width: 410px; height: 58px; scale: 1.08 1.22; border-radius: 38% 62% 28% 57%; }
.chart-weather .weather-cloud-low-two i { left: 5%; width: 30%; height: 106%; }
.chart-weather .weather-cloud-low-two b { left: 34%; width: 44%; height: 150%; bottom: 10%; }
.chart-weather .weather-cloud-low-two em { right: 5%; width: 32%; height: 116%; }
.chart-weather .weather-cloud-low-three { right: -10%; top: 57%; width: 286px; height: 38px; scale: 1.16 1.46; border-radius: 27% 73% 59% 35%; }
.chart-weather .weather-cloud-low-three i { left: 12%; width: 28%; height: 126%; }
.chart-weather .weather-cloud-low-three b { left: 40%; width: 38%; height: 184%; bottom: 4%; }
.chart-weather .weather-cloud-low-three em { right: 2%; width: 28%; height: 86%; }
.chart-weather .weather-cloud-low-four { left: 5%; top: 80%; width: 258px; height: 62px; scale: 1.12 1.28; border-radius: 76% 24% 36% 64%; }
.chart-weather .weather-cloud-low-four i { left: 2%; width: 38%; height: 92%; }
.chart-weather .weather-cloud-low-four b { left: 37%; width: 43%; height: 138%; bottom: 14%; }
.chart-weather .weather-cloud-low-four em { right: 0; width: 25%; height: 105%; }
.chart-weather .weather-cloud-low-five { right: 12%; top: 64%; width: 302px; height: 48px; scale: 1.04 1.5; border-radius: 58% 42% 72% 28%; }
.chart-weather .weather-cloud-low-five i { left: 8%; width: 34%; height: 118%; }
.chart-weather .weather-cloud-low-five b { left: 31%; width: 48%; height: 178%; bottom: 5%; }
.chart-weather .weather-cloud-low-five em { right: 3%; width: 24%; height: 98%; }
.chart-weather .weather-cloud-low-six { left: 52%; top: 84%; width: 360px; height: 54px; scale: 1.22 1.36; border-radius: 46% 54% 23% 77%; }
.chart-weather .weather-cloud-low-six i { left: 4%; width: 31%; height: 112%; }
.chart-weather .weather-cloud-low-six b { left: 35%; width: 47%; height: 158%; bottom: 8%; }
.chart-weather .weather-cloud-low-six em { right: 4%; width: 29%; height: 90%; }

/* Alt sis çizgisi biraz aşağı iner; dev bulutların tabanı grafiğe daha doğal karışır. */
.chart-weather .weather-fog-layer-one { bottom: calc(40% + 5px); }
.chart-weather .weather-fog-layer-two { bottom: calc(40% + 2px); }
.chart-weather .weather-fog-layer-three { bottom: 58%; }
.market-weather[data-trend="down"] .weather-cloud-low-one,
.market-weather[data-trend="down"] .weather-cloud-low-two,
.market-weather[data-trend="down"] .weather-cloud-low-three,
.market-weather[data-trend="down"] .weather-cloud-low-four,
.market-weather[data-trend="down"] .weather-cloud-low-five,
.market-weather[data-trend="down"] .weather-cloud-low-six { opacity: .36; filter: blur(4.6px) saturate(.72); }
.market-weather[data-trend="up"] .weather-cloud-low-one,
.market-weather[data-trend="up"] .weather-cloud-low-two,
.market-weather[data-trend="up"] .weather-cloud-low-three,
.market-weather[data-trend="up"] .weather-cloud-low-four,
.market-weather[data-trend="up"] .weather-cloud-low-five,
.market-weather[data-trend="up"] .weather-cloud-low-six { opacity: .18; }

/* Altı alt bulut artık uzun ve yassı bir tabana sahip; üstteki katmanlı kabarıklıklar korunur. */
.chart-weather .weather-cloud-low-one,
.chart-weather .weather-cloud-low-two,
.chart-weather .weather-cloud-low-three,
.chart-weather .weather-cloud-low-four,
.chart-weather .weather-cloud-low-five,
.chart-weather .weather-cloud-low-six {
  height: 22px;
  scale: 1 1;
  border-radius: 56% 44% 2px 2px;
}
.chart-weather .weather-cloud-low-one { width: 390px; height: 21px; top: 63%; left: -7%; border-radius: 64% 36% 2px 2px; }
.chart-weather .weather-cloud-low-two { width: 500px; height: 25px; top: 72%; left: 22%; border-radius: 42% 58% 2px 2px; }
.chart-weather .weather-cloud-low-three { width: 350px; height: 19px; top: 59%; right: -13%; border-radius: 28% 72% 2px 2px; }
.chart-weather .weather-cloud-low-four { width: 320px; height: 28px; top: 81%; left: 1%; border-radius: 72% 28% 2px 2px; }
.chart-weather .weather-cloud-low-five { width: 390px; height: 23px; top: 66%; right: 7%; border-radius: 60% 40% 2px 2px; }
.chart-weather .weather-cloud-low-six { width: 450px; height: 24px; top: 86%; left: 46%; border-radius: 46% 54% 2px 2px; }

.chart-weather .weather-cloud-low-one::before,
.chart-weather .weather-cloud-low-two::before,
.chart-weather .weather-cloud-low-three::before,
.chart-weather .weather-cloud-low-four::before,
.chart-weather .weather-cloud-low-five::before,
.chart-weather .weather-cloud-low-six::before {
  left: -5%;
  bottom: 0;
  width: 110%;
  height: 86%;
  border-radius: 54% 46% 0 0;
  filter: blur(5px);
}
.chart-weather .weather-cloud-low-one::after,
.chart-weather .weather-cloud-low-two::after,
.chart-weather .weather-cloud-low-three::after,
.chart-weather .weather-cloud-low-four::after,
.chart-weather .weather-cloud-low-five::after,
.chart-weather .weather-cloud-low-six::after {
  top: 0;
  right: -5%;
  width: 40%;
  height: 86%;
  border-radius: 58% 42% 0 0;
  filter: blur(4px);
}
.chart-weather .weather-cloud-low-one i,
.chart-weather .weather-cloud-low-one b,
.chart-weather .weather-cloud-low-one em,
.chart-weather .weather-cloud-low-two i,
.chart-weather .weather-cloud-low-two b,
.chart-weather .weather-cloud-low-two em,
.chart-weather .weather-cloud-low-three i,
.chart-weather .weather-cloud-low-three b,
.chart-weather .weather-cloud-low-three em,
.chart-weather .weather-cloud-low-four i,
.chart-weather .weather-cloud-low-four b,
.chart-weather .weather-cloud-low-four em,
.chart-weather .weather-cloud-low-five i,
.chart-weather .weather-cloud-low-five b,
.chart-weather .weather-cloud-low-five em,
.chart-weather .weather-cloud-low-six i,
.chart-weather .weather-cloud-low-six b,
.chart-weather .weather-cloud-low-six em {
  bottom: 0;
  height: 92%;
  border-radius: 58% 42% 0 0;
}
.chart-weather .weather-cloud-low-one b,
.chart-weather .weather-cloud-low-two b,
.chart-weather .weather-cloud-low-three b,
.chart-weather .weather-cloud-low-four b,
.chart-weather .weather-cloud-low-five b,
.chart-weather .weather-cloud-low-six b { height: 122%; bottom: 0; }

/* Grafik paketindeki bulut alanı artık güneşin alt hizasında biter. */
.chart-weather {
  bottom: auto;
  height: 34px;
  max-height: 34px;
  overflow: hidden;
}

@media (max-width: 700px) {
  .chart-weather {
    height: 33px;
    max-height: 33px;
  }
}

/* Tüm bulut geçişleri artık güneşin alt-orta çizgisinin üzerinde kalır. */
.chart-weather .weather-cloud-far-one { top: 1px; }
.chart-weather .weather-cloud-far-two { top: 3px; }
.chart-weather .weather-cloud-far-three { top: 5px; }
.chart-weather .weather-cloud-far-four { top: 2px; }
.chart-weather .weather-cloud-far-five { top: 6px; }
.chart-weather .weather-cloud-far-six { top: 1px; }

.chart-weather .weather-cloud-distant-one { top: 2px; }
.chart-weather .weather-cloud-distant-two { top: 7px; }
.chart-weather .weather-cloud-distant-three { top: 1px; }
.chart-weather .weather-cloud-distant-four { top: 8px; }
.chart-weather .weather-cloud-distant-five { top: 4px; }
.chart-weather .weather-cloud-distant-six { top: 9px; }
.chart-weather .weather-cloud-distant-seven { top: 2px; }
.chart-weather .weather-cloud-distant-eight { top: 7px; }

.chart-weather .weather-cloud-wisp-one { top: 7px; }
.chart-weather .weather-cloud-wisp-two { top: 10px; }
.chart-weather .weather-cloud-mid-one { top: 5px; }
.chart-weather .weather-cloud-mid-two { top: 3px; }
.chart-weather .weather-cloud-mid-three { top: 7px; }
.chart-weather .weather-cloud-front { top: 5px; }

.chart-weather .weather-cloud-low-one { top: 0; }
.chart-weather .weather-cloud-low-two { top: -2px; }
.chart-weather .weather-cloud-low-three { top: 3px; }
.chart-weather .weather-cloud-low-four { top: -5px; }
.chart-weather .weather-cloud-low-five { top: 0; }
.chart-weather .weather-cloud-low-six { top: -1px; }

/* Bulutların tamamı güneşin alt kenarında kesilir; güneşin altına taşmaz. */
.chart-weather {
  height: 29px;
  max-height: 29px;
}

@media (max-width: 700px) {
  .chart-weather {
    height: 29px;
    max-height: 29px;
  }
}

/* Güneşi biraz yukarı alıp bulut ekranının alt sınırını daha ince tut. */
.chart-weather .weather-sun {
  top: 7px;
}

.chart-weather {
  height: 24px;
  max-height: 24px;
}

.chart-weather .weather-horizon {
  bottom: -3%;
  height: 18%;
}

@media (max-width: 700px) {
  .chart-weather {
    height: 24px;
    max-height: 24px;
  }
}

/* Grafik akıcılığı: yalnızca bulutun yatay geçişini canlandır; pahalı şekil ve sis deformasyonlarını durdur. */
.chart-weather .weather-cloud {
  animation-name: weatherCloudTravel;
  filter: blur(.7px);
  box-shadow: none;
  will-change: translate;
}
.chart-weather .weather-cloud::before,
.chart-weather .weather-cloud::after,
.chart-weather .weather-cloud i,
.chart-weather .weather-cloud b,
.chart-weather .weather-cloud em {
  animation: none;
  will-change: auto;
}
.chart-weather .weather-cloud::before,
.chart-weather .weather-cloud::after { filter: blur(2px); }
.chart-weather .weather-cloud i,
.chart-weather .weather-cloud b,
.chart-weather .weather-cloud em {
  filter: none;
  box-shadow: none;
}

/* Grafik üstündeki atmosferik katmanlar sabit kalır; hareket eden ana bulutlar yeterli derinliği korur. */
.chart-weather::before,
.chart-weather::after,
.chart-weather .weather-horizon::before,
.chart-weather .weather-horizon::after,
.chart-weather .weather-fog-layer,
.chart-weather .weather-gap-fog,
.chart-weather .weather-sun,
.chart-weather .weather-rain,
.chart-weather .weather-rain::after,
.chart-weather .weather-rain i,
.chart-weather .weather-lightning {
  animation: none;
}

@keyframes weatherCloudTravel {
  from { translate: calc(-100vw - 100%) 0; }
  to { translate: calc(100vw + 100%) 0; }
}

