/* Driving notifications share the approved HUD palette, without changing menus. */
#toast {
  max-width: min(440px, calc(100vw - 32px));
  padding: 14px 20px 14px 48px;
  border: 1px solid #ffffff38;
  border-left: 2px solid #ef3e3e;
  background: #17181be8;
  color: #fff;
  font:
    600 13px/1.45 Barlow,
    sans-serif;
  letter-spacing: 0.15px;
  box-shadow: 0 5px 24px #0003;
  backdrop-filter: blur(10px);
  bottom: max(76px, env(safe-area-inset-bottom));
  border-radius: 2px;
  overflow-wrap: anywhere;
  transition:
    opacity 0.18s,
    transform 0.18s;
}
#toast::before {
  content: "i";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid #ef3e3e;
  border-radius: 50%;
  color: #fff;
  font:
    600 12px Barlow,
    sans-serif;
}
.pause-scrim {
  background: #111214ac;
}
.pause-panel,
.result-panel {
  background: #191a1eed;
  border-color: #ffffff30;
  --accent: #ef3e3e;
  --mint: #ef3e3e;
}
.racing-hud #countdown {
  color: #fff;
  text-shadow: 0 2px 10px #0007;
  font-style: normal;
}
@media (max-height: 580px) {
  #toast {
    top: max(78px, env(safe-area-inset-top));
    bottom: auto;
    font-size: 11px;
    padding: 10px 16px 10px 42px;
    max-width: min(350px, calc(100vw - 32px));
  }
}
@media (prefers-reduced-motion: reduce) {
  #toast {
    transition: none;
  }
}
