#ground-warning {
  position: absolute;
  z-index: 14;
  top: 74px;
  left: 50%;
  width: min(520px, calc(100% - 32px));
  padding: 10px 14px;
  transform: translateX(-50%);
  border: 1px solid #b9382c;
  border-left: 5px solid #b9382c;
  background: #fff4f0f2;
  color: #842b23;
  box-shadow: 0 5px 18px #51150f24;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
}

#ground-warning[hidden] {
  display: none;
}

#ground-warning.is-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  max-width: calc(100% - 32px);
  padding: 6px 9px;
  border-color: #cbbd9f;
  border-left-width: 3px;
  background: #fffdf7e8;
  color: #665b48;
  box-shadow: 0 2px 8px #402b0910;
  font-size: 11px;
  font-weight: 600;
}

#ground-warning.is-hint button {
  min-height: 22px;
  padding: 2px 7px;
  border: 1px solid #cbbd9f;
  border-radius: 4px;
  background: #fffdf7;
  color: #665b48;
  font: inherit;
  pointer-events: auto;
}

#ground-warning.is-hint button:hover {
  border-color: #9f8c68;
  background: #f3eee3;
}

@media (max-width: 760px) {
  #ground-warning {
    top: 58px;
    width: calc(100% - 20px);
    padding: 8px 10px;
  }
}
