/* Figma 771:3 / 771:6 / 771:10. Une lecture de 2,8 s par mise, aucune boucle en jeu. */
.ab-blitz {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  margin: 16px 0;
  background: #12523c;
  color: #f2f2f2;
  border-radius: 20px;
  font:
    13px/1.5 Inter,
    system-ui,
    sans-serif;
}
.ab-blitz strong {
  color: #2fe3a0;
  font-size: 16px;
  font-weight: 600;
}
.ab-alerts {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: 100px;
  z-index: 210;
  display: grid;
  gap: 12px;
  width: min(360px, calc(100vw - 32px));
  max-height: 70dvh;
  overflow: auto;
}
.ab-alert {
  position: relative;
  background: #181818;
  color: #f2f2f2;
  border: 1px solid #2f5143;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 40px #0007;
}
.ab-alert h3 {
  font:
    600 22px/1.2 Fredoka,
    system-ui,
    sans-serif;
  margin: 0 24px 16px 0;
}
.ab-alert p {
  font:
    16px/1.5 Inter,
    system-ui,
    sans-serif;
  overflow-wrap: anywhere;
}
.ab-alert .btn {
  color: #2fe3a0;
}
.ab-close {
  position: absolute;
  right: 10px;
  top: 8px;
  min-width: 36px;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: #93938f;
  font-size: 24px;
  cursor: pointer;
}
.ab-strike {
  position: fixed;
  left: 50%;
  top: 24%;
  translate: -50% 0;
  display: flex;
  gap: 20px;
  align-items: center;
  width: min(360px, calc(100vw - 32px));
  box-sizing: border-box;
  background: #181818;
  color: #f2f2f2;
  padding: 20px;
  border: 1px solid #2f5143;
  border-radius: 20px;
  z-index: 205;
  pointer-events: none;
  box-shadow: 0 12px 40px #0007;
  animation: ab-announce 2.8s linear both;
}
.ab-strike strong {
  font:
    600 18px/1.3 Fredoka,
    system-ui,
    sans-serif;
  overflow-wrap: anywhere;
}
.ab-strike p {
  margin: 8px 0 0;
  color: #2fe3a0;
  font:
    14px/1.4 Inter,
    system-ui,
    sans-serif;
}
.ab-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #12523c;
  animation: ab-impact 2.8s linear both;
}
.ab-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-gavel {
  position: absolute;
  top: 12px;
  left: 43px;
  width: 48px !important;
  height: 48px !important;
  color: #2fe3a0;
  transform-origin: center;
  animation: ab-gavel 2.8s linear both;
}
.ab-push-settings p {
  max-width: 65ch;
}
.ab-push-settings button {
  min-height: 44px;
}
@keyframes ab-announce {
  0% {
    animation-timing-function: ease-in-out;
    opacity: 0;
    transform: translateY(16px);
  }
  4.286% {
    opacity: 1;
  }
  7.143% {
    transform: translateY(0);
  }
  89.286% {
    animation-timing-function: ease-in-out;
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@keyframes ab-impact {
  0%,
  13.571% {
    animation-timing-function: ease-in-out;
    scale: 1;
  }
  16.071% {
    animation-timing-function: ease-in-out;
    scale: 0.92;
  }
  21.429%,
  100% {
    scale: 1;
  }
}
@keyframes ab-gavel {
  0% {
    animation-timing-function: ease-in-out;
    transform: translateY(-8px) rotate(-30deg);
  }
  7.857% {
    animation-timing-function: ease-in-out;
    transform: translateY(-14px) rotate(-52deg);
  }
  13.571% {
    animation-timing-function: ease-in-out;
    transform: translateY(8px) rotate(26deg);
  }
  17.857% {
    animation-timing-function: ease-in-out;
    transform: translateY(0) rotate(-8deg);
  }
  24.286%,
  100% {
    transform: translateY(0) rotate(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-strike,
  .ab-avatar,
  .ab-gavel {
    animation: none !important;
    transform: none !important;
    scale: 1 !important;
  }
  .ab-strike {
    opacity: 1;
  }
}
@media (max-width: 600px) {
  .ab-alerts {
    right: 16px;
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
  .ab-strike {
    top: 18%;
  }
}
