/* Game Giữ Chuỗi Streak (Chậu cây, bình tưới, hiệu ứng) */
.streak-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(61, 43, 43, 0.46);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.streak-popup-card {
  width: min(440px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  position: relative;
  padding: 28px 24px 24px;
  border-radius: 36px;
  text-align: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 70px rgba(255, 95, 158, 0.12), 0 12px 30px rgba(61, 43, 43, 0.08);
}

body.dark .streak-popup-card {
  background: rgba(43, 43, 43, 0.82);
  border-color: rgba(255, 255, 255, 0.07);
}

.streak-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  background: rgba(255, 95, 158, 0.08);
  color: var(--pink);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: bold;
}

.streak-popup-title {
  color: var(--pink);
  font-size: 23px;
  font-weight: 900;
  margin-bottom: 6px;
}

.streak-popup-subtitle {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
}

.streak-game-stage {
  width: 100%;
  height: 235px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  touch-action: none;
  background: linear-gradient(180deg, #dff4fb 0%, #f7eefa 55%, #d8e8b7 56%, #aecb84 100%);
  border: 1.5px solid rgba(255, 95, 158, 0.14);
  border-radius: 28px;
  padding: 12px;
}

body.dark .streak-game-stage {
  background: linear-gradient(180deg, #26364d 0%, #48384d 55%, #485d3e 56%, #34462f 100%);
}

.streak-flower-wrap {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 82px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.streak-flower-wrap.shake {
  animation: flowerShaking 0.15s ease-in-out infinite alternate;
}

@keyframes flowerShaking {
  0% { transform: translateX(-52%) scale(1.02) rotate(-2deg); }
  100% { transform: translateX(-48%) scale(1.02) rotate(2deg); }
}

.streak-watering-can {
  position: absolute;
  top: 50px;
  right: 30px;
  width: 68px;
  height: 68px;
  cursor: grab;
  user-select: none;
  z-index: 10;
  touch-action: none;
}

.streak-watering-can.tilting {
  transform: rotate(-35deg) scale(1.05);
}

.droplets-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.droplet {
  position: absolute;
  width: 5px;
  height: 15px;
  background: linear-gradient(180deg, rgba(116, 185, 255, 0.95), rgba(9, 132, 227, 0.95));
  border-radius: 50%;
  animation: dropFalling 0.48s linear forwards;
}

@keyframes dropFalling {
  0% { transform: translateY(0); opacity: 0.85; }
  100% { transform: translateY(120px); opacity: 0; }
}

.streak-progress-bar {
  width: 100%;
  height: 14px;
  background: rgba(255, 95, 158, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.streak-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, var(--soft), var(--pink));
  border-radius: 999px;
}

.streak-game-help {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  text-align: center;
}
