:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  color: #f3efdf;
  background: #0e211a;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 64px 24px;
}

.profile { position: relative; z-index: 1; width: min(100%, 440px); }

.avatar-wrap { position: relative; width: 88px; height: 88px; }

.avatar {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}

.santa-hat {
  position: absolute;
  top: -25px;
  left: 19px;
  width: 64px;
  height: 48px;
  transform: rotate(-11deg);
}

.santa-hat::before {
  content: "";
  position: absolute;
  inset: 0 0 8px;
  background: #bd443c;
  clip-path: polygon(0 100%, 14% 45%, 31% 6%, 49% 0, 69% 9%, 100% 43%, 88% 63%, 66% 41%, 59% 31%, 55% 100%);
}

.santa-hat::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 56px;
  width: 13px;
  height: 13px;
  background: #f3efdf;
  border-radius: 50%;
}

.hat-brim {
  position: absolute;
  left: -3px;
  bottom: 0;
  width: 46px;
  height: 12px;
  border-radius: 5px;
  background: #f3efdf;
}

h1 {
  margin: 24px 0 40px;
  font-size: clamp(1.875rem, 6vw, 2.625rem);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  border-top: 1px solid #3c5749;
  padding: 20px 0;
  font-size: 20px;
  line-height: 1.4;
  text-decoration: none;
}

.links a:last-child { border-bottom: 1px solid #3c5749; }
.kick { color: #bde9a0; }
.discord { color: #f2b4ad; }
.arrow { color: #d7d0ba; font-size: 24px; }

.links a:hover > span:first-child {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.links a:focus-visible, .snow-toggle:focus-visible {
  outline: 2px solid #f3efdf;
  outline-offset: 6px;
}

.snow-toggle {
  display: block;
  margin-top: 16px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #bccbbf;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.snow-toggle:hover { text-decoration: underline; text-underline-offset: 4px; }
.snow-toggle[hidden] { display: none; }

.snow {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.snow > span {
  position: absolute;
  top: -12px;
  left: var(--x);
  width: var(--size, 3px);
  height: var(--size, 3px);
  border-radius: 50%;
  background: #f3efdf;
  opacity: .55;
  animation: snowfall var(--duration, 20s) var(--delay, 0s) linear infinite;
}

.snow > span:nth-child(3n) { opacity: .3; }
.snow.is-paused > span { animation-play-state: paused; }

@keyframes snowfall {
  to { transform: translate3d(var(--drift, 20px), calc(100vh + 40px), 0); }
}

@media (prefers-reduced-motion: reduce) {
  .snow > span { animation: none; top: var(--rest); transform: none; }
}
