html {
  --color-link-hover: #ff963b;
  --color-title: #fff;
  --color-subtitle: rgba(255, 255, 255, 0.85);
  --color-note: rgba(255, 255, 255, 0.75);
  --color-chip: rgba(255, 255, 255, 0.12);
  --bg-start: #313131;
  --bg-end: #0a0a0a;
  --cursor-default: url(https://cdn.jsdelivr.net/gh/Tomotoes/images/blog/default.cur), auto;
  --cursor-pointer: url(https://cdn.jsdelivr.net/gh/Tomotoes/images/blog/pointer.cur), auto;
  scroll-behavior: smooth;
  font-size: 20px;
}

* {
  box-sizing: border-box;
  -webkit-text-size-adjust: none;
}

body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  font-family: "Comic Sans MS", "Helvetica Neue", "Microsoft Yahei", -apple-system, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: radial-gradient(var(--bg-start), var(--bg-end));
  color: var(--color-title);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: var(--cursor-default);
}

main {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
}

.content {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

.wrap {
  width: min(860px, 100%);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  gap: 14px;
}

.content-title {
  font-family: "Comic Sans MS", "Helvetica Neue", "Microsoft Yahei", -apple-system, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  font-weight: 200;
  color: var(--color-title);
  line-height: 1.05;
  margin: 0.4em 0 0.1em;
  animation: whiteShadow 1.5s ease-in-out infinite alternate;
  text-shadow: #452d2d 0 0 1px, #fffffb 0 0 1px, #fffffb 0 0 2px;
}

.content-subtitle {
  color: var(--color-subtitle);
  font-family: "Comic Sans MS", "Helvetica Neue", "Microsoft Yahei", -apple-system, sans-serif;
  font-size: clamp(0.85rem, 2.6vw, 1.2rem);
  font-weight: 200;
  margin: 0.2em 0 0.5em;
  text-shadow: 0 0 4px #fff;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.content-subtitle span {
  animation: letter-glow 0.7s 0s ease both;
}

.alias {
  display: inline-flex;
  align-items: center;
  min-height: 1.6em;
  padding: 0.15em 0.55em;
  border-radius: 999px;
  background: var(--color-chip);
  color: #fff;
  font-size: 0.86em;
  letter-spacing: 0.06em;
}

.note {
  margin: 0.4em auto 0.6em;
  color: var(--color-note);
  font-weight: 200;
  font-size: clamp(0.85rem, 2vw, 1rem);
  line-height: 1.7;
  max-width: 56ch;
}

.eyes {
  --eye-size: 2.4em;
  --pupil-size: 0.7em;
  --eye-gap: 0.9em;

  margin: 0.4em auto 0.6em;
  display: inline-flex;
  gap: var(--eye-gap);
  align-items: center;
  justify-content: center;
  min-height: 3.2em;
  position: relative;
  perspective: 800px;
  transform: rotateX(var(--eyes-tilt-x, 0deg)) rotateY(var(--eyes-tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 180ms ease;
  animation: float 3.6s ease-in-out infinite;
  will-change: transform;
}

.eyes::before,
.eyes::after {
  content: "";
  position: absolute;
  width: 0.8em;
  height: 0.5em;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 182, 193, 0.65), rgba(255, 182, 193, 0));
  top: 70%;
  filter: blur(0.5px);
}

.eyes::before {
  left: -0.4em;
}

.eyes::after {
  right: -0.4em;
}

.eye {
  width: var(--eye-size);
  height: var(--eye-size);
  border-radius: 999px;
  background: radial-gradient(circle at 28% 28%, var(--color-eye-bg, rgba(255, 255, 255, 0.95)), var(--color-eye-bg-dim, rgba(255, 255, 255, 0.55)));
  border: 0.1em solid var(--color-eye-border, rgba(255, 255, 255, 0.75));
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset calc(var(--eye-shadow-x, 0px) / 2) calc(-0.3em + var(--eye-shadow-y, 0px)) 0.6em rgba(0, 0, 0, 0.18),
    calc(var(--eye-shadow-x, 0px)) calc(0.4em + var(--eye-shadow-y, 0px)) 0.8em rgba(0, 0, 0, 0.32),
    0 0 12px var(--color-eye-bg-dim);
  transition: transform 200ms ease;
  overflow: hidden;
  transform: rotateX(var(--eye-tilt-x, 0deg)) rotateY(var(--eye-tilt-y, 0deg));
  transform-style: preserve-3d;
}

.eye::after {
  content: "";
  position: absolute;
  width: 0.6em;
  height: 0.4em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  top: 0.5em;
  left: 0.6em;
  transform: rotate(-12deg);
  opacity: 0.9;
  filter: blur(0.5px);
}

.pupil {
  width: var(--pupil-size);
  height: var(--pupil-size);
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #4a5568, var(--color-pupil, #101622));
  box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.12);
  transform: translate(var(--pupil-x, 0px), var(--pupil-y, 0px));
  transition: transform 80ms ease-out;
  position: relative;
}

.pupil::after {
  content: "";
  position: absolute;
  width: 0.25em;
  height: 0.25em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  top: 0.15em;
  left: 0.15em;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

.eyes.blink .eye {
  animation: blink 200ms ease-in-out;
}

.social {
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translateY(12px);
  opacity: 0;
  animation: fade-up 520ms ease-out forwards;
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 7px 18px rgba(0, 0, 0, 0.35);
  cursor: var(--cursor-pointer);
  position: relative;
  overflow: hidden;
}

.social-link:active {
  transform: translateY(-1px) scale(1.02);
}

.social-link::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.social-icon {
  width: 21px;
  height: 21px;
  display: block;
  position: relative;
  z-index: 1;
}

.social-link:hover {
  transform: translateY(-4px) scale(1.06);
  filter: brightness(1.12) saturate(1.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42), 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 255, 255, 0.16);
}

.social-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.empty-state {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--color-note);
  opacity: 0.9;
}

.noscript-tip {
  margin: 20px auto 0;
  max-width: 44ch;
  font-size: 0.85rem;
  color: var(--color-note);
  text-align: center;
}

@keyframes whiteShadow {
  0% {
    text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 5px #333, 0 0 8px #333, 0 0 9px #333, 0 0 10px #333, 0 0 15px #333;
  }
  to {
    text-shadow: 0 0 0.5px #fff, 0 0 1px #fff, 0 0 1.5px #fff, 0 0 2px #333, 0 0 4px #333, 0 0 5px #333, 0 0 6px #333, 0 0 8px #333;
  }
}

@keyframes letter-glow {
  0% {
    opacity: 0;
    text-shadow: 0 0 1px hsla(0, 0%, 100%, 0.1);
  }
  66% {
    opacity: 1;
    text-shadow: 0 0 20px hsla(0, 0%, 100%, 0.9);
  }
  77% {
    opacity: 1;
  }
  to {
    opacity: 0.7;
    text-shadow: 0 0 20px hsla(0, 0%, 100%, 0.2);
  }
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotateX(var(--eyes-tilt-x, 0deg)) rotateY(var(--eyes-tilt-y, 0deg)) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotateX(var(--eyes-tilt-x, 0deg)) rotateY(var(--eyes-tilt-y, 0deg)) rotate(1deg);
  }
}

@keyframes blink {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.1);
  }
}

@media screen and (max-width: 50em) {
  .wrap {
    padding: 24px 18px;
  }

  .content-title {
    font-size: 2.4rem;
  }

  .social {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-title,
  .content-subtitle span,
  .social-link,
  .eyes,
  .eyes .eye {
    animation: none !important;
  }
}
