*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  width: 100%; height: 100%;
  background: #06060a;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

#wrap {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 45%, #14141c 0%, #06060a 70%);
}

#cv {
  width: 100%; height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  cursor: crosshair;
  display: block;
}

/* ---------------------------------------------------------------- boot card */
#boot {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
  background: #07070b;
  color: #b8bcc4;
  letter-spacing: 0.22em;
  text-align: center;
  padding: 24px;
}

#bootlogo {
  font-size: clamp(20px, 5vw, 40px);
  font-weight: 700;
  color: #e2e2dc;
  text-shadow: 0 0 22px rgba(210, 30, 26, 0.55), 3px 3px 0 #6e0c0a;
  letter-spacing: 0.30em;
}

#bootmsg {
  font-size: clamp(9px, 1.8vw, 12px);
  color: #8a8f98;
  min-height: 1.2em;
}

#bootbar {
  width: min(280px, 60vw); height: 6px;
  background: #16161c;
  border: 1px solid #2c2c36;
  overflow: hidden;
}
#bootbar i {
  display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, #7e1210, #e0322a, #7e1210);
  animation: sweep 1.1s ease-in-out infinite;
}
@keyframes sweep {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(260%); }
}
