    * {
      box-sizing: border-box;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background: #0f0f12;
      /* Deep dark background */
      color: #e0e0e0;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100dvh;
      overflow: hidden;
    }

    #status-bar {
      width: 100%;
      text-align: center;
      font-weight: 600;
      font-size: 1rem;
      padding: 20px 10px;
      /* Semi-transparent dark blur effect */
      background: rgba(15, 15, 18, 0.85);
      backdrop-filter: blur(10px);
      color: #00d2ff;
      /* Neon cyan text for visibility */
      position: absolute;
      top: 0;
      z-index: 10;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      letter-spacing: 0.5px;
    }

    .vid-container {
      position: relative;
      width: 92%;
      max-width: 480px;
      margin-top: 40px;
      border-radius: 20px;
      /* Softer rounded corners */
      border: 2px solid #00d2ff;
      overflow: hidden;
      background: #000;
      box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
      /* Subtle neon glow */
    }

    video {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      /* Ensures video fills the frame */
    }

    .vid-center {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      pointer-events: none;
    }

    .facePlaceholder {
      display: none;
      width: 100%;
      height: 100%;
      /* Covers the entire video feed perfectly */
      object-fit: cover;
      opacity: 0.8;
      filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    }

    .qrScanPlaceholder {
      display: none;
      width: 100%;
      height: 100%;
      /* Covers the entire video feed perfectly */
      object-fit: cover;
      opacity: 0.8;
      filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    }

    #flash {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: white;
      opacity: 0;
      pointer-events: none;
      z-index: 9999;
    }

    #countdownOverlay {
      position: absolute;
      color: #00d2ff;
      font-size: 4rem;
      font-weight: bold;
      text-shadow: 0 0 15px #00d2ff, 0 0 30px #00d2ff;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }