.daytint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  transition: background 1.2s linear;
}
.scene.games .daytint,
.scene.chat .daytint,
.scene.shop .daytint,
.scene.inventory .daytint,
.scene.shop.phase-night::after,
.scene.inventory.phase-night::after {
  display: none;
}
.scene.phase-night::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.9;
  background:
    radial-gradient(1.5px 1.5px at 12% 10%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 30% 20%, #fff, transparent),
    radial-gradient(2px 2px at 52% 8%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 70% 18%, #fff, transparent),
    radial-gradient(2px 2px at 88% 9%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 20% 32%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 62% 30%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 92% 28%, #fff, transparent);
}
.scene.phase-night .sun {
  opacity: 0.35;
}
.scene.phase-night .cloud {
  opacity: 0.35;
}

.hzzz {
  position: absolute;
  z-index: calc(var(--layer-effects) + 2);
  pointer-events: none;
  width: 50px;
  height: 60px;
}
.hzzz[hidden] {
  display: none;
}
.hzzz i {
  position: absolute;
  left: 0;
  bottom: 0;
  font-style: normal;
  font-family: var(--f-display);
  font-weight: 800;
  color: #fff;
  text-shadow:
    0 0 6px #6e7bff,
    0 2px 0 #3a3f9e;
  opacity: 0;
  animation: zzz 3.6s ease-in-out infinite;
}
.hzzz i:nth-child(1) {
  font-size: 16px;
}
.hzzz i:nth-child(2) {
  font-size: 22px;
  animation-delay: 1.2s;
}
.hzzz i:nth-child(3) {
  font-size: 30px;
  animation-delay: 2.4s;
}
@keyframes zzz {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(-8deg);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(26px, -48px) rotate(10deg);
  }
}

.streak b {
  font-weight: 900;
}
.streak svg {
  transition: color 0.4s;
}
.streak.tier-0 {
  color: #8a8497;
}
.streak.tier-2 svg {
  color: #ff6a00;
}
.streak.tier-3 svg {
  color: #ff3b30;
  transform: scale(1.12);
}
.streak.tier-4 svg {
  color: #9b5cff;
  transform: scale(1.2);
}
.streak.risk svg {
  animation: stkrisk 1.4s ease-in-out infinite;
}
@keyframes stkrisk {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}
.streak .stk-sh {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 3px;
  font-size: 12px;
  color: #4c7fd6;
}
.streak .stk-sh svg {
  width: 13px;
  height: 13px;
  color: inherit;
  transform: none;
}

.stk {
  text-align: center;
}
.stk h2 {
  margin: 6px 0 2px;
}
.stk-flame {
  display: flex;
  justify-content: center;
}
.stk-flame svg {
  width: 96px;
  height: 96px;
  color: #ff8a3d;
  animation: stkbob 2.2s ease-in-out infinite;
}
.stk-flame.tier-0 svg {
  color: #8a8497;
  animation: none;
}
.stk-flame.tier-2 svg {
  color: #ff6a00;
}
.stk-flame.tier-3 svg {
  color: #ff3b30;
}
.stk-flame.tier-4 svg {
  color: #9b5cff;
}
@keyframes stkbob {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07) translateY(-2px);
  }
}
.stk-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 12px 0 8px;
}
.stk-dots i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(0, 0, 0, 0.15);
  color: #f5c030;
}
.stk-dots i svg {
  width: 18px;
  height: 18px;
}
.daily-reward-flame {
  width: 90px;
  height: 90px;
  color: #ff8a3d;
}
.daily-reward-flame svg {
  display: block;
  width: 100%;
  height: 100%;
}
.stk-dots i.on {
  background: linear-gradient(180deg, #ffb347, #ff6b2c);
  border-color: #b9460f;
  color: #fff;
}
.stk-today {
  font-weight: 800;
  font-size: 13px;
  margin: 0 0 14px;
}
