* {
  margin: 0;
  padding: 0;
  font-size: 14px;
  box-sizing: content-box;
}

html,
body {
  width: 100%;
  height: 100%;
  user-select: none;
}

#bg {
  width: 100%;
  min-width: 250px;
  height: 100%;
  position: fixed;
  z-index: 1;
  cursor: default;
}

.particle-message-layer {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.particle-message {
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.34);
  transform: translate(-50%, -50%);
  animation: particle-float-up var(--particle-duration, 1800ms) ease-out forwards;
}

@keyframes particle-float-up {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.94);
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--particle-drift, 0px)), -110px) scale(1.04);
  }
}

.container {
  width: 100%;
  min-width: 250px;
  min-height: 100%;
  position: relative;
  z-index: 10;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.container > * {
  pointer-events: auto;
}

.container .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 0 90px 2px #fff;
  opacity: 0.8;
  cursor: pointer;
}

.container .nickname {
  font-size: 18px;
  margin-top: 20px;
  letter-spacing: 2px;
  animation: nickname-shadow 2s ease-in-out infinite alternate;
}

@keyframes nickname-shadow {
  from {
    text-shadow: 0 0 2px #f6f7fb;
  }

  to {
    text-shadow: 1px 1px 20px #f6f7fb;
  }
}

.container .introduce {
  font-size: 14px;
  margin-top: 20px;
  padding: 0 28px;
  letter-spacing: 1px;
  text-align: center;
  line-height: 28px;
}

.container .quote {
  font-size: 14px;
  margin-top: 24px;
  padding: 0 28px;
  letter-spacing: 1px;
  text-align: center;
  font-family: cursive;
  line-height: 28px;
  max-width: 760px;
}

.container .quote::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 18px;
  border-radius: 2px;
  background-color: #fff;
  vertical-align: middle;
  animation: blink 0.8s linear infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

nav {
  width: 80%;
  min-height: 40px;
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav .view-source-link {
  margin: 0 8px;
  color: #a9afb9;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease,
    transform 0.2s ease;
}

nav .view-source-link:hover,
nav .view-source-link:focus-visible {
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
  outline: none;
}

footer {
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  margin-top: 28px;
}

footer .icp {
  color: #f6f7fb;
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 10px;
}

footer .copyright {
  color: #999;
  font-size: 10px;
  margin-top: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (min-width: 768px) {
  .container .avatar {
    width: 88px;
    height: 88px;
  }

  .container .nickname {
    font-size: 20px;
    margin-top: 28px;
  }

  .container .introduce {
    font-size: 16px;
    margin-top: 28px;
    padding: 0 40px;
  }

  .container .quote {
    font-size: 16px;
    margin-top: 28px;
    padding: 0 40px;
  }

  .container .quote::after {
    height: 20px;
  }

  nav {
    margin-top: 40px;
  }
}

@media screen and (min-width: 992px) {
  .container .avatar {
    width: 96px;
    height: 96px;
  }

  .container .nickname {
    font-size: 22px;
    margin-top: 32px;
  }

  .container .introduce {
    font-size: 18px;
    margin-top: 36px;
    padding: 0 80px;
  }

  .container .quote {
    font-size: 18px;
    margin-top: 36px;
    padding: 0 80px;
  }

  .container .quote::after {
    height: 22px;
  }

  nav {
    margin-top: 44px;
  }
}
