.race-warning:not([data-kind="engine"]) {
  display: flex;
  align-items: center;
  gap: 14px;
  left: 50%;
  top: 16%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(680px, 86vw);
  padding: 12px 24px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, #11191d88, #11191dba 50%, #11191d88);
  backdrop-filter: blur(4px);
  text-align: left;
  color: #f2f4eb;
  font: 700 clamp(15px, 1.35vw, 24px) / 1.2 var(--condensed);
  letter-spacing: 0.05em;
}
.race-notice-icon {
  display: flex;
  flex: none;
  color: #dbea50;
}
.race-notice-icon svg {
  width: 29px;
  height: 29px;
}
.race-warning small {
  margin-top: 5px;
  font:
    600 9px/1.4 Barlow,
    Arial,
    sans-serif;
  letter-spacing: 0.13em;
  color: #c4cec3;
}
.race-warning[data-kind="engine"] .race-notice-icon {
  display: none;
}
.race-warning[hidden] {
  display: none !important;
}
#toast {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  left: 50%;
  right: auto;
  top: auto;
  bottom: max(78px, env(safe-area-inset-bottom));
  transform: translate(-50%, 10px);
  width: max-content;
  max-width: min(460px, 88vw);
  padding: 12px 19px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, #11191dbb, #11191d99);
  box-shadow: none;
  backdrop-filter: blur(5px);
  color: #f2f4eb;
  font: 700 17px/1.2 var(--condensed);
  letter-spacing: 0.04em;
}
#toast.visible {
  transform: translate(-50%, 0);
}
#toast::before {
  display: none;
}
#toast .notice-icon {
  color: #dbea50;
  display: flex;
  flex: none;
}
#toast svg {
  width: 25px;
  height: 25px;
}
#toast .notice-eyebrow {
  display: block;
  margin-bottom: 4px;
  font:
    600 8px/1.3 Barlow,
    Arial,
    sans-serif;
  letter-spacing: 0.19em;
  color: #c1ccbd;
}
@media (max-width: 700px) {
  .race-warning:not([data-kind="engine"]) {
    top: 23%;
    padding: 10px 14px;
    gap: 10px;
  }
  .race-notice-icon svg {
    width: 23px;
    height: 23px;
  }
  .race-warning small {
    font-size: 7px;
    letter-spacing: 0.08em;
  }
  #toast {
    bottom: max(105px, env(safe-area-inset-bottom));
    font-size: 15px;
    padding: 11px 14px;
  }
}
@media (max-height: 500px) {
  .race-warning:not([data-kind="engine"]) {
    top: 20%;
  }
  #toast {
    bottom: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #toast {
    transition: none;
  }
}
