::-webkit-scrollbar { width: 0; }
html, body { margin: 0; height: 100%; background: #000; color: #f1f1f1; overflow: hidden;
  font: 14px/1.42857 'Inconsolata', monospace; }
a, button { color: #fff; text-decoration: none; cursor: pointer; background: none; border: 0; font: inherit; padding: 0; }
a:hover, button:hover { text-decoration: underline; }
canvas { position: fixed; inset: 0; }
.centering { position: fixed; top: 48%; left: 50%; transform: translate(-50%, -50%); text-align: center; white-space: nowrap; }
.centering { text-shadow: 0 0 6px #000, 0 0 12px #000; }  /* keeps text crisp over the art */
.title { font-size: 28px; margin: 0 0 10px; text-shadow: 0 0 6px #000, 0 0 14px rgba(209,152,215,.45); }
.title a:hover { text-decoration: none; }
.spacing { padding: 10px; }
.spacing > * { margin: 0 6px; }

/* joshsense girl, behind the stars (::before paints under the canvas); edges fade so her black backdrop melts into the page */
body::before { content: ""; position: fixed; left: 50%; translate: -50% 0; bottom: 0; width: min(100vw, 82vh); aspect-ratio: 1236 / 1273;
  background: url(joshsense.webp) center bottom / contain no-repeat; opacity: .45; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 52%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 62% at 50% 52%, #000 55%, transparent 100%);
  animation: fade 2s .3s ease-out both, float 7s 2.3s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* load-in: stars fade up, then the center content rises in one piece at a time */
canvas { animation: fade 1.6s ease-out both; }
.centering > *, form > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.centering > :nth-child(1) { animation-delay: .2s; }
.centering > :nth-child(2), form > :nth-child(1) { animation-delay: .35s; }
.centering > :nth-child(3), form > :nth-child(2) { animation-delay: .5s; }
.centering > :nth-child(4), form > :nth-child(3) { animation-delay: .65s; }
form > :nth-child(4) { animation-delay: .8s; }
form > :nth-child(5) { animation-delay: .95s; }
form > :nth-child(6) { animation-delay: 1.1s; }
.centering > form { animation: none; }  /* its fields animate on their own */
.centering > .links { animation-delay: 1.2s; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
@media (prefers-reduced-motion: reduce) { canvas, .centering > *, form > *, body::before { animation: none; } }

/* auth forms: underline-only fields */
form { margin-top: 18px; }
input { display: block; width: 220px; margin: 0 auto 14px; padding: 6px 2px; box-sizing: border-box;
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); border-radius: 0;
  color: #fff; font: inherit; text-align: center; outline: none; transition: border-color .2s; }
input::placeholder { color: rgba(255,255,255,.35); }
input:focus { border-bottom-color: #fff; }
.status { min-height: 20px; color: rgba(255,255,255,.6); }
.links { margin-top: 6px; font-size: 12px; }
.links a { color: rgba(255,255,255,.45); margin: 0 6px; }
.links a:hover { color: #fff; }
.wrap { border-right: 0.1em solid #fff; }  /* index typewriter caret */
