/* FoxHunt3D v8.0.1 — hidden developer console */
.developer-cheat-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(1, 6, 13, .72);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 130ms ease, visibility 130ms ease;
}
.developer-cheat-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.developer-cheat-console {
  width: min(520px, 94vw);
  padding: 18px;
  border: 1px solid rgba(101, 230, 255, .46);
  clip-path: polygon(0 12px, 12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px));
  background:
    linear-gradient(rgba(255,255,255,.025) 50%, transparent 50%) 0 0 / 100% 4px,
    linear-gradient(90deg, rgba(101,230,255,.025) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(145deg, rgba(9, 27, 45, .985), rgba(3, 9, 18, .99));
  box-shadow: 0 28px 80px rgba(0,0,0,.62), inset 0 0 0 1px rgba(255,255,255,.025), 0 0 34px rgba(101,230,255,.1);
  color: #f3fbff;
}
.developer-cheat-console header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px -4px 16px;
  padding: 4px 4px 13px;
  border-bottom: 1px solid rgba(101,230,255,.18);
}
.developer-cheat-console header div { display: grid; gap: 2px; }
.developer-cheat-console header span,
.developer-cheat-console label {
  color: #65e6ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.developer-cheat-console header strong { font-size: 21px; letter-spacing: .04em; }
.developer-cheat-console header button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(101,230,255,.2);
  background: rgba(255,255,255,.04);
  color: white;
  font-size: 28px;
  cursor: pointer;
}
.developer-cheat-console label { display: block; margin-bottom: 7px; }
#developerCheatInput {
  width: 100%;
  border: 1px solid rgba(101,230,255,.35);
  border-radius: 0;
  padding: 13px 14px;
  background: rgba(3, 10, 19, .9);
  color: #fff3b3;
  outline: none;
  font: 700 16px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .025em;
  user-select: text;
}
#developerCheatInput:focus {
  border-color: #65e6ff;
  box-shadow: 0 0 0 3px rgba(101,230,255,.1), 0 0 22px rgba(101,230,255,.09);
}
.developer-cheat-status {
  min-height: 22px;
  margin: 10px 0 12px;
  color: #9fb5c6;
  font-size: 12px;
}
.developer-cheat-status.success { color: #8cf2b1; }
.developer-cheat-status.error { color: #ff9ca9; }
.developer-cheat-actions { display: flex; justify-content: flex-end; gap: 9px; }
.developer-cheat-badge {
  position: fixed;
  z-index: 19;
  right: max(16px, env(safe-area-inset-right));
  top: max(16px, env(safe-area-inset-top));
  padding: 7px 10px;
  border: 1px solid rgba(255, 209, 102, .62);
  clip-path: polygon(0 6px, 6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  background: rgba(20, 12, 3, .84);
  color: #ffd166;
  box-shadow: 0 0 22px rgba(255, 209, 102, .14);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .16em;
  pointer-events: none;
}
.developer-cheat-badge.hidden { display: none !important; }
@media (max-width: 650px) {
  .developer-cheat-overlay { align-items: start; padding-top: max(14vh, env(safe-area-inset-top)); }
  .developer-cheat-console { padding: 15px; }
  .developer-cheat-console header strong { font-size: 18px; }
  .developer-cheat-actions button { flex: 1 1 0; }
  .developer-cheat-badge { top: auto; bottom: max(12px, env(safe-area-inset-bottom)); }
}

/* v8.0.1: reliable three-finger hold feedback and native-gesture suppression. */
html.developer-cheat-gesture-pending,
html.developer-cheat-gesture-pending body {
  overscroll-behavior: none !important;
  touch-action: none !important;
}
.developer-cheat-overlay { z-index: 10020; }
.developer-cheat-badge { z-index: 10005; }
.developer-cheat-gesture-progress {
  position: fixed;
  z-index: 10010;
  left: 50%;
  top: max(16px, env(safe-area-inset-top));
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -12px) scale(.82);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 110ms ease, transform 110ms ease, visibility 110ms ease;
}
.developer-cheat-gesture-progress i {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(101,230,255,.18);
  border-top-color: #65e6ff;
  border-right-color: #ffd166;
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(101,230,255,.18);
}
.developer-cheat-gesture-progress span {
  color: #dffaff;
  font: 900 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .12em;
  text-shadow: 0 1px 8px #000;
}
.developer-cheat-gesture-progress.active {
  opacity: .9;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}
.developer-cheat-gesture-progress.active i {
  animation: developer-cheat-hold 1.05s linear forwards;
}
@keyframes developer-cheat-hold {
  from { transform: rotate(0deg); filter: brightness(.8); }
  to { transform: rotate(360deg); filter: brightness(1.4); }
}
