:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #252629;
  color: #d3d3d5;
  -webkit-tap-highlight-color: transparent;
}

* { box-sizing: border-box; }
body { margin: 0; }
main {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px;
}
.instant {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px;
}
.button-base {
  width: 164px;
  height: 156px;
  position: relative;
  border-radius: 50%;
}
.sound-button {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.sound-button:focus-visible {
  outline: 2px solid #f0b6ba;
  outline-offset: 9px;
}
.button-face {
  position: absolute;
  inset: 7px 10px 18px;
  border: 1px solid #c74049;
  border-radius: 50%;
  background: radial-gradient(ellipse at 42% 16%, #ff7c82 0%, #f44753 40%, #db2638 80%);
  box-shadow: inset 0 2px 3px #ffc3c87a, inset 0 -4px 7px #a8132a5c,
    0 9px 0 #951828, 0 11px 0 #6c1721, 0 14px 6px #0005;
  transform: translateY(-3px);
  transition: transform 55ms ease-out, box-shadow 55ms ease-out;
}
.button-face::after {
  content: "";
  position: absolute;
  top: 9%;
  left: 19%;
  width: 62%;
  height: 31%;
  border-radius: 50%;
  background: linear-gradient(#ffd6db2b, #ffd6db00);
}
.sound-button.is-pressed .button-face {
  transform: translateY(5px);
  box-shadow: inset 0 2px 3px #ffc3c85c, inset 0 -4px 7px #a8132a5c,
    0 1px 0 #951828, 0 3px 0 #6c1721, 0 4px 3px #0005;
}
.label { margin: 0; font-size: 15px; line-height: 1.4; }
.status {
  position: absolute;
  top: 100%;
  width: min(290px, calc(100vw - 40px));
  margin: 16px 0 0;
  color: #a7a7ad;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
noscript { display: block; text-align: center; padding: 16px; }
@media (prefers-reduced-motion: reduce) {
  .button-face { transition: none; }
}
