:root {
  color-scheme: dark;
  --background: #000;
  --foreground: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
}

body {
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

button {
  font: inherit;
}

.suspiciously-empty-div {
  display: grid;
  width: 100vw;
  height: 100svh;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgb(10 17 29 / 42%), transparent 48%),
    #000;
}

.definitely-not-a-puzzle {
  position: relative;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.definitely-not-a-puzzle picture {
  display: block;
  width: 100%;
  height: 100%;
}

.normal-background {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
  -webkit-user-drag: none;
}

.decorative-dust {
  position: fixed;
  inset: 10px;
  z-index: 5;
  pointer-events: none;
}

.border-star {
  position: absolute;
  width: clamp(27.3px, 2.86vmin, 46.15px);
  height: clamp(27.3px, 2.86vmin, 46.15px);
  padding: 0;
  border: 0;
  color: #fff82f;
  background: transparent;
  cursor: default;
  font-size: clamp(16.25px, 1.95vmin, 29.9px);
  line-height: 1;
  text-align: center;
  text-shadow:
    0 0 5px rgb(255 255 255 / 100%),
    0 0 15px rgb(255 245 56 / 90%),
    0 0 25px rgb(255 225 30 / 70%),
    0 0 40px rgb(255 200 0 / 50%);
  transform: translate(-50%, -50%);
  animation: twinkle 2.4s var(--twinkle-delay) ease-in-out infinite;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.border-star::before {
  content: "★";
}

.border-star:focus-visible {
  outline: 1px solid rgb(93 194 255 / 90%);
  outline-offset: 1px;
}

.border-star.is-active {
  z-index: 3;
  color: #00ffff;
  cursor: pointer;
  text-shadow:
    0 0 10px #ffffff,
    0 0 20px #00ffff,
    0 0 40px #0088ff,
    0 0 60px #0044ff;
  animation: blue-twinkle 0.45s ease-in-out infinite;
}

.tax-document {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  color: transparent;
  white-space: pre-wrap;
  pointer-events: none;
  user-select: text;
  -webkit-user-select: text;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.58;
    filter: brightness(1.2);
    transform: translate(-50%, -50%) scale(0.82);
  }
  50% {
    opacity: 1;
    filter: brightness(2.0);
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes blue-twinkle {
  0%,
  100% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(0.86);
    filter: brightness(1.2) drop-shadow(0 0 10px #4fc3ff);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.28);
    filter: brightness(2.0) drop-shadow(0 0 25px #4fc3ff);
  }
}

@media (max-width: 620px) {
  .border-star {
    width: 29.9px;
    height: 29.9px;
    font-size: 16.25px;
  }
}

@media (min-aspect-ratio: 4/3) {
  .border-star {
    font-size: clamp(16.25px, 1.82vmin, 28.6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .border-star,
  .border-star.is-active {
    animation-duration: 4s;
  }
}
