:root {
  --color-primary: #ee75d2;
  --color-surface: #271c22;
  --brightness: 1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none !important;
}

body {
  width: 100vw;
  height: 100vh;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--color-surface), black 40%);
  color: var(--color-primary);
  overflow: hidden;
  cursor: none;
}

#output {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 1rem;
  font-family: "SF Mono", monospace;
  font-size: clamp(0.3rem, 1.5vw, 1rem);
  overflow: hidden;
  filter: drop-shadow(0 0 10rem color-mix(in srgb, var(--color), transparent 20%)) brightness(var(--brightness));
  transition: filter 0.3s linear;
  white-space: nowrap;
  background: black;
}

#output div,
#output span {
  white-space: nowrap;
}

#input,
#prerender {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
}

#heart {
  position: fixed;
  left: calc(100vw - 2rem);
  top: calc(100vh - 2rem);
  font-family: "SF Mono", monospace;
  font-size: 3rem;
  color: var(--color-primary);
  pointer-events: none;
  z-index: 100;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 1rem var(--color-primary));
  transition: left 0.1s ease-out, top 0.1s ease-out, font-size 0.15s ease-out;
}
