/* ---------- 登录页彩蛋 ---------- */
#auth-mascot {
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease;
}
#auth-mascot:active { transform: scale(.94); }
body.ee-lock { overflow: hidden; }
.easter-egg {
  position: fixed; inset: 0; z-index: 99999; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start;
  background: #07111f; opacity: 0; cursor: pointer;
  transition: opacity .55s ease;
}
.easter-egg.ee-open { opacity: 1; }
.easter-egg.ee-closing { opacity: 0; }
.ee-media { position: absolute; inset: 0; }
.ee-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%;
  transform: scale(1.06); filter: brightness(.72) saturate(1.04);
  transition: transform 6s cubic-bezier(.16,1,.3,1), filter 1.4s ease;
}
.easter-egg.ee-open .ee-media img { transform: scale(1); filter: brightness(.9) saturate(1.1); }
.ee-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,10,22,.38) 0%, rgba(4,10,22,.03) 32%, rgba(4,10,22,.12) 58%, rgba(4,10,22,.86) 100%);
}
.ee-copy {
  position: relative; z-index: 2; width: 100%; max-width: 980px;
  padding: 0 7vw 11vh; color: #fff; text-align: left;
}
.ee-kicker {
  font-size: clamp(10px, 1vw, 13px); letter-spacing: .5em; text-transform: uppercase;
  color: rgba(255,255,255,.78); opacity: 0; transform: translateY(14px);
  animation: eeUp .9s ease .35s forwards;
}
.ee-title {
  margin: 10px 0 0; font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: clamp(50px, 9.5vw, 132px); font-weight: 900; line-height: 1.04;
  letter-spacing: .14em; opacity: 0; transform: translateY(34px);
  text-shadow: 0 0 34px rgba(255,214,226,.35), 0 8px 30px rgba(0,0,0,.6);
  animation: eeTitle 1.25s cubic-bezier(.19,1,.22,1) .55s forwards, eeGlow 3.4s ease-in-out 2s infinite;
}
.ee-title::after {
  content: ''; display: block; width: 86px; height: 2px; margin-top: 22px;
  background: linear-gradient(90deg, #ffd6e2, rgba(255,214,226,0));
}
.ee-sub {
  margin-top: 18px; font-size: clamp(13px, 1.3vw, 16px); letter-spacing: .18em;
  color: rgba(255,255,255,.78); opacity: 0; transform: translateY(12px);
  animation: eeUp .9s ease 1.25s forwards;
}
.ee-close {
  position: absolute; z-index: 5; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right));
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(8,17,31,.35); color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, transform .2s;
}
.ee-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }
.ee-hint {
  position: absolute; z-index: 4; right: 7vw; bottom: 4.2vh; font-size: 12px;
  letter-spacing: .18em; color: rgba(255,255,255,.55); opacity: 0;
  animation: eeUp .8s ease 2s forwards;
}
.ee-petal {
  position: absolute; top: -9vh; z-index: 3; pointer-events: none; opacity: 0;
  animation-name: eeFall; animation-timing-function: linear; animation-iteration-count: infinite;
  filter: drop-shadow(0 0 8px rgba(255,214,226,.25));
}
@keyframes eeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes eeTitle { to { opacity: 1; transform: translateY(0); letter-spacing: .07em; } }
@keyframes eeGlow {
  0%, 100% { text-shadow: 0 0 30px rgba(255,214,226,.28), 0 8px 30px rgba(0,0,0,.6); }
  50% { text-shadow: 0 0 48px rgba(255,214,226,.55), 0 8px 34px rgba(0,0,0,.65); }
}
@keyframes eeFall {
  0% { transform: translate3d(0, -10vh, 0) rotate(0deg); opacity: 0; }
  12% { opacity: .8; }
  88% { opacity: .55; }
  100% { transform: translate3d(var(--ee-drift, 40px), 112vh, 0) rotate(360deg); opacity: 0; }
}
@media (max-width: 640px) {
  .ee-media img { object-position: 58% 30%; }
  .ee-copy { padding: 0 8vw 10vh; text-align: center; }
  .ee-kicker { letter-spacing: .35em; }
  .ee-title::after { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, rgba(255,214,226,0), #ffd6e2, rgba(255,214,226,0)); }
  .ee-sub { letter-spacing: .1em; }
  .ee-hint { right: 0; left: 0; text-align: center; }
}
