@font-face {
  font-family: "SevenSeg";
  src: url("/7segment.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --bg: #f4f4f4;
  --fg: #1a1a1a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --fg: #d0d0d0;
  }
}
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
/* Red LED 7-segment digits sit on a black display panel so they read
   on both the light and dark page backgrounds. Unlit segments are
   simply not drawn — that is what makes it read as an LED, not LCD. */
.vcr {
  margin-top: 1.5rem;
  display: inline-block;
  padding: 0.25em 0.45em;
  border-radius: 0.12em;
  background: #0a0000;
  font-family: "SevenSeg", "Courier New", monospace;
  font-size: clamp(3rem, 18vw, 8rem);
  line-height: 1;
  letter-spacing: 0.06em;
  color: #ff2a17;
  text-shadow:
    0 0 0.12em #ff2a17,
    0 0 0.35em rgba(255, 42, 23, 0.75),
    0 0 0.6em rgba(255, 42, 23, 0.45);
  animation: vcr-blink 1.06s steps(1, end) infinite;
}
@keyframes vcr-blink {
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .vcr { animation: none; }
}
