/* Nokia LCD & phone chrome */
.lcd-screen {
  background: linear-gradient(180deg, #0d280d 0%, #0a1f0a 50%, #0d280d 100%);
  box-shadow:
    inset 0 0 0 2px rgba(60, 90, 40, 0.35),
    inset 0 2px 24px rgba(0, 0, 0, 0.45),
    0 0 1px rgba(155, 188, 15, 0.15);
}

.lcd-scanlines {
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.45;
}

.lcd-glow {
  box-shadow:
    0 0 40px rgba(155, 188, 15, 0.12),
    inset 0 0 60px rgba(155, 188, 15, 0.04);
}

.phone-bezel {
  background: linear-gradient(145deg, #3a3a42 0%, #25252c 40%, #1e1e24 100%);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.key-cap {
  background: linear-gradient(180deg, #3d3d47 0%, #2a2a32 100%);
  box-shadow:
    0 2px 0 #18181c,
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}

.key-cap:active,
.key-cap.is-pressed {
  transform: translateY(2px);
  box-shadow: 0 0 0 #18181c, inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.focus-ring:focus-visible {
  outline: 2px solid #9bbc0f;
  outline-offset: 2px;
}

@keyframes crt-flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.98; }
}

.crt-subtle {
  animation: crt-flicker 4s ease-in-out infinite;
}

canvas#snake-canvas {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
