
    :root {
      --bg-dark: #131722;
      --panel-bg: #1e2536;
      --border-pixel: #3b486b;
      --accent-green: #22c55e;
      --accent-gold: #facc15;
    }

    * {
      box-sizing: border-box;
      user-select: none;
      -webkit-user-select: none;
      touch-action: manipulation;
    }

    body {
      margin: 0;
      padding: 0;
      background-color: var(--bg-dark);
      color: #f8fafc;
      font-family: 'VT323', monospace;
      overflow-x: hidden;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .font-pixel {
      font-family: 'Press Start 2P', cursive;
    }

    .font-vt {
      font-family: 'VT323', monospace;
    }

    /* Pixel-art borders & retro buttons */
    .pixel-box {
      background-color: var(--panel-bg);
      border: 4px solid #0f172a;
      box-shadow:
        inset -4px -4px 0px rgba(0, 0, 0, 0.35),
        inset 4px 4px 0px rgba(255, 255, 255, 0.08),
        0 6px 0 #090d16;
      border-radius: 8px;
    }

    .pixel-btn {
      position: relative;
      border: 3px solid #0f172a;
      box-shadow:
        inset -3px -3px 0px rgba(0, 0, 0, 0.35),
        inset 3px 3px 0px rgba(255, 255, 255, 0.25),
        0 4px 0 #090d16;
      border-radius: 6px;
      transition: transform 0.06s ease, filter 0.1s ease;
      cursor: pointer;
    }

    .pixel-btn:hover {
      filter: brightness(1.08);
    }

    .pixel-btn:active {
      transform: translateY(3px);
      box-shadow:
        inset -2px -2px 0px rgba(0, 0, 0, 0.35),
        inset 2px 2px 0px rgba(255, 255, 255, 0.2),
        0 1px 0 #090d16;
    }

    canvas {
      image-rendering: pixelated;
      image-rendering: crisp-edges;
      display: block;
      width: 100%;
      height: 100%;
      border-radius: 6px;
    }

    @keyframes pulseGlow {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.04); }
    }

    .animate-pulse-slow {
      animation: pulseGlow 2.2s infinite ease-in-out;
    }

    #screen-splash.hidden, #screen-home.hidden { display: none !important; }
    #app:has(#screen-splash:not(.hidden)) > header, #app:has(#screen-splash:not(.hidden)) > footer { visibility: hidden; }
    #app:has(#screen-home:not(.hidden)) > footer { visibility: hidden; }
    /* Custom scrollbar for guide/trophies */
    ::-webkit-scrollbar {
      width: 8px;
    }
    ::-webkit-scrollbar-track {
      background: #0f172a;
    }
    ::-webkit-scrollbar-thumb {
      background: #3b486b;
      border-radius: 4px;
    }
  