body.has-application-bar {
  padding-bottom: calc(130px + env(safe-area-inset-bottom, 0px));
}

.open-alert {
  position: fixed;
  right: 0;
  bottom: calc(85px + env(safe-area-inset-bottom, 0px));
  left: 0;
  /* The full-screen mobile menu is on layer 1000. */
  z-index: 999;
  box-sizing: border-box;
  padding: 0;
  background: transparent;
  transform: translateY(100%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.open-alert.show {
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
}

.open-alert-style {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(960px, calc(100% - 80px));
  min-height: 90px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #292a30;
  background: rgba(20, 20, 24, 0.6);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.alert-text {
  min-width: 0;
}

.alert-text-wrapper {
  display: flex;
  align-items: center;
}

.open-alert-text {
  color: #d9d9df;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.2px;
}

.cta-button-container {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  margin-left: 28px;
}

.floating-link-button,
.cta-button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border: 0;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    filter 0.18s ease;
}

.floating-link-button {
  width: 48px;
  padding: 0;
  background: #24262d;
}

.floating-link-button svg {
  width: 21px;
  height: 21px;
}

.cta-button {
  min-width: 234px;
  padding: 0 28px;
  background: #f52031;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.2px;
  text-decoration: none;
}

.floating-link-button:hover {
  background: #30323a;
}

.cta-button:hover {
  background: #dc1d2d;
}

.floating-link-button:focus-visible,
.cta-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 700px) {
  body.has-application-bar {
    padding-bottom: calc(148px + env(safe-area-inset-bottom, 0px));
  }

  .open-alert {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .open-alert-style {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: calc(100% - 32px);
    min-height: 0;
    padding: 14px;
  }

  .open-alert-text {
    font-size: 15px;
    line-height: 22px;
  }

  .cta-button-container {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px;
    margin-left: 0;
  }

  .floating-link-button,
  .cta-button {
    width: 100%;
    min-width: 0;
    height: 44px;
  }

  .cta-button {
    padding: 0 18px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .open-alert,
  .floating-link-button,
  .cta-button {
    transition: none;
  }
}
