/* Anti-debug lock overlay */
#nemg-debug-lock {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(12, 11, 10, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .nemg-debug-lock-card {
    width: min(100%, 420px);
    padding: 28px 24px;
    border-radius: 18px;
    border: 1px solid rgba(250, 249, 245, 0.12);
    background: linear-gradient(165deg, #2a2824, #1a1916);
    text-align: center;
    color: #faf9f5;
    font-family: Quicksand, Fredoka, system-ui, sans-serif;
  }

  .nemg-debug-lock-card strong {
    display: block;
    margin-bottom: 10px;
    font-family: Fredoka, Quicksand, system-ui, sans-serif;
    font-size: 24px;
    font-weight: 600;
  }

  .nemg-debug-lock-card p {
    margin: 0 0 18px;
    color: #b7b3aa;
    font-size: 14px;
    line-height: 1.5;
  }

  .nemg-debug-lock-card button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    background: #cc785c;
    color: #fff;
    font: 600 13px/1 Quicksand, system-ui, sans-serif;
    cursor: pointer;
  }

  html.nemg-debug-locked,
  html.nemg-debug-locked body {
    overflow: hidden !important;
  }

  html.nemg-debug-locked body > *:not(#nemg-debug-lock):not(#loading-screen) {
    filter: blur(8px);
    pointer-events: none !important;
    user-select: none !important;
  }
