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

body {
  background: #070502;

  color: #2f1f00;

  font-family:
    "Courier New",
    monospace;

  height: 100vh;

  overflow: hidden;

  display: flex;
  flex-direction: column;
}

/* scanlines */

body::after {

  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background:
    repeating-linear-gradient(
      to bottom,
      rgba(47,31,0,0.04),
      rgba(47,31,0,0.04) 1px,
      transparent 1px,
      transparent 3px
    );

  z-index: 9000;
}

/* subtle flicker */

body::before {

  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background:
    rgba(255,180,0,0.02);

  animation:
    flicker 0.18s infinite;

  z-index: 8999;
}

@keyframes flicker {

  0%   { opacity: 0.15; }
  50%  { opacity: 0.04; }
  100% { opacity: 0.12; }
}

/* header */

header {

  padding: 12px 20px;

  border-bottom:
    1px solid #2f1f00;

  font-size: 13px;

  letter-spacing: 3px;

  color: #2f1f00;

  flex-shrink: 0;
}

/* main */

main {

  flex: 1;

  display: flex;

  align-items: center;
  justify-content: center;

  position: relative;
}

/* canvas */

canvas {

  display: block;

  image-rendering: pixelated;

  border:
    1px solid #2f1f00;

  box-shadow:
    0 0 20px rgba(47,31,0,0.28);
}

/* ui */

#ui {

  position: absolute;

  bottom: 20px;
  left: 50%;

  transform:
    translateX(-50%);

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 8px;

  pointer-events: none;
}

#prompt {

  font-size: 13px;

  letter-spacing: 2px;

  color: #7a5800;

  min-height: 20px;

  text-align: center;
}

#status-display {

  font-size: 11px;

  letter-spacing: 2px;

  color: #2f1f00;

  min-height: 16px;

  text-align: center;
}

/* cursor */

.custom-cursor {

  position: fixed;

  width: 14px;
  height: 14px;

  pointer-events: none;

  z-index: 9999;

  transform:
    translate(-50%, -50%);

  filter:
    drop-shadow(0 0 3px #2f1f00);
}

/* scrollbar */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #070502;
}

::-webkit-scrollbar-thumb {
  background: #2f1f00;
}

/* logo */

.logo,
.logo:visited,
.logo:hover,
.logo:active {

  color: #2f1f00;

  text-decoration: none;
}

.logo:hover {

  text-shadow:
    0 0 10px #2f1f00;
}