/* ============================================================
   生日彩蛋
   ============================================================ */

#np-bday {
  position: fixed;
  left: 50%;
  bottom: 46px;
  transform: translate(-50%, 24px) scale(.96);
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 16px;
  max-width: calc(100vw - 32px);
  border-radius: 16px;
  color: #f2f6fa;
  background: rgba(22, 27, 34, .88);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(143, 183, 209, .35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45), 0 0 40px rgba(143, 183, 209, .18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, .61, .36, 1);
}

#np-bday.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}

#np-bday .np-bday-emoji {
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(255, 214, 224, .6));
}

#np-bday .np-bday-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
}

#np-bday .np-bday-sub {
  margin-top: 3px;
  font-size: 12px;
  color: rgba(226, 234, 241, .72);
}

#np-bday .np-bday-close {
  margin-left: 6px;
  width: 24px;
  height: 24px;
  flex: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: rgba(226, 234, 241, .7);
  background: rgba(255, 255, 255, .08);
  font-size: 14px;
  line-height: 1;
}

#np-bday .np-bday-close:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

#np-bday-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9989;
}

@media screen and (max-width: 768px) {
  #np-bday {
    bottom: 78px;
    padding: 12px 14px;
  }
  #np-bday .np-bday-title {
    font-size: 13px;
  }
  #np-bday .np-bday-sub {
    font-size: 11px;
  }
}
