/* Centered JARVIS mic gate — viewport middle on iPad / iPhone / desktop (not the browser chrome bar). */
.dz-mic-gate {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  height: -webkit-fill-available;
  margin: 0;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  box-sizing: border-box;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.dz-mic-gate.is-open {
  display: flex;
}
.dz-mic-gate[hidden] {
  display: none !important;
}
body.dz-mic-gate-open {
  overflow: hidden;
}
.dz-mic-gate-card {
  position: relative;
  width: min(440px, 100%);
  max-height: min(90dvh, 640px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  margin: auto;
  padding: 28px 22px 22px;
  border-radius: 22px;
  text-align: center;
  color: #e2e8f0;
  background: linear-gradient(165deg, #0f172a 0%, #1e1b4b 100%);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.dz-mic-gate-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.16);
  border: 2px solid rgba(56, 189, 248, 0.4);
}
.dz-mic-gate-icon .material-icons {
  font-size: 32px;
  color: #7dd3fc;
}
.dz-mic-gate-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #f8fafc;
}
.dz-mic-gate-body {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #cbd5e1;
}
.dz-mic-gate-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  text-align: left;
}
.dz-mic-gate-list li {
  margin: 6px 0;
  padding: 10px 12px 10px 36px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.55);
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
}
.dz-mic-gate-list li::before {
  content: "mic";
  font-family: "Material Icons";
  position: absolute;
  left: 10px;
  top: 10px;
  color: #38bdf8;
  font-size: 18px;
}
.dz-mic-gate-note {
  margin: 0 0 16px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #94a3b8;
}
.dz-mic-gate-allow,
.dz-mic-gate-later {
  display: block;
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.dz-mic-gate-allow {
  border: 0;
  margin-bottom: 10px;
  color: #0f172a;
  background: #38bdf8;
}
.dz-mic-gate-allow:disabled {
  opacity: 0.7;
}
.dz-mic-gate-later {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: transparent;
  color: #cbd5e1;
}
@media (max-width: 768px) {
  .dz-mic-gate-card {
    padding: 24px 18px 18px;
  }
}
