:root {
  color: #1f2933;
  background: #f7faf9;
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans CJK SC",
    system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(145deg, rgba(217, 250, 235, 0.7), rgba(248, 250, 252, 0.86) 46%, rgba(236, 244, 255, 0.82)),
    #f8fafc;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
}

.status {
  display: grid;
  justify-items: center;
  gap: 1.35rem;
  text-align: center;
}

.avatar {
  width: min(52vmin, 260px);
  aspect-ratio: 1;
  display: block;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  animation: spin-clockwise 12s linear infinite;
  box-shadow:
    0 22px 60px rgba(31, 41, 51, 0.16),
    0 0 0 1px rgba(31, 41, 51, 0.04);
}

h1 {
  margin: 0;
  color: #1f2933;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.ellipsis {
  display: inline-grid;
  grid-template-columns: repeat(3, 0.8rem);
  gap: 0.35rem;
  align-items: end;
  height: 1.35rem;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #0f766e;
  animation: dot-jump 0.96s ease-in-out infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.16s;
}

.dot:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes spin-clockwise {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dot-jump {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }

  40% {
    transform: translateY(-0.65rem);
    opacity: 1;
  }
}

@media (max-width: 520px) {
  .page {
    padding: 2rem 1rem;
  }

  .status {
    gap: 1.1rem;
  }

  .avatar {
    width: min(68vmin, 220px);
    border-width: 6px;
  }

  h1 {
    font-size: 2.35rem;
  }
}
