* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  background: #111;
}

.minimal-voice {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  isolation: isolate;
  background: url("l.jpg") center / cover no-repeat;
}

.minimal-voice::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(7px) saturate(105%);
  -webkit-backdrop-filter: blur(7px) saturate(105%);
}

.hero-mic {
  width: 118px;
  height: 118px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(22,138,69,.94);
  box-shadow:
    0 24px 80px rgba(0,0,0,.25),
    inset 0 1px 1px rgba(255,255,255,.45);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.hero-mic:hover { transform: scale(1.045); }
.hero-mic:active { transform: scale(.96); }

.hero-mic img {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
}

.hero-mic.active {
  background: rgba(20,125,62,.98);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 24px 80px rgba(0,0,0,.25), 0 0 0 0 rgba(22,138,69,.32), inset 0 1px 1px rgba(255,255,255,.45);
  }
  50% {
    box-shadow: 0 28px 90px rgba(0,0,0,.30), 0 0 0 18px rgba(22,138,69,0), inset 0 1px 1px rgba(255,255,255,.45);
  }
}

@media (max-width: 600px) {
  .hero-mic { width: 104px; height: 104px; }
  .hero-mic img { width: 52px; height: 52px; }
}
