.km-mobile-app-prompt {
  position: fixed;
  z-index: 10050;
  left: max(14px, env(safe-area-inset-left));
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 14px;
  color: #f7f7f7;
  background: linear-gradient(145deg, rgba(18, 22, 24, .98), rgba(29, 34, 37, .98));
  border: 1px solid rgba(251, 185, 0, .55);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .34), 0 0 0 1px rgba(255, 255, 255, .035) inset;
  transform: translateY(calc(100% + 30px));
  opacity: 0;
  visibility: hidden;
  transition: transform .32s cubic-bezier(.2, .85, .28, 1), opacity .24s ease, visibility .24s ease;
}

.km-mobile-app-prompt.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.km-mobile-app-prompt__logo {
  width: 54px;
  height: 54px;
  display: block;
  object-fit: cover;
  border-radius: 14px;
  background: #fbb900;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.km-mobile-app-prompt__copy { min-width: 0; }
.km-mobile-app-prompt__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #fbb900;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.km-mobile-app-prompt__title {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.15;
}
.km-mobile-app-prompt__text {
  margin: 4px 0 0;
  color: #c8ced1;
  font-size: 12px;
  line-height: 1.35;
}

.km-mobile-app-prompt__actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.km-mobile-app-prompt__download,
.km-mobile-app-prompt__later,
.km-mobile-app-prompt__close {
  font: inherit;
  cursor: pointer;
}
.km-mobile-app-prompt__download {
  min-height: 42px;
  padding: 0 14px;
  color: #121212;
  background: linear-gradient(145deg, #ffd75b, #fbb900);
  border: 1px solid #d99d00;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 14px rgba(251, 185, 0, .22);
}
.km-mobile-app-prompt__download[aria-disabled="true"] {
  color: #e5e5e5;
  background: #303639;
  border-color: #485054;
  box-shadow: none;
}
.km-mobile-app-prompt__later {
  min-height: 40px;
  padding: 0 7px;
  color: #d5d9db;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 700;
}
.km-mobile-app-prompt__close {
  position: absolute;
  top: -10px;
  right: -8px;
  width: 30px;
  height: 30px;
  padding: 0;
  color: #fff;
  background: #202528;
  border: 1px solid #566064;
  border-radius: 50%;
  font-size: 19px;
  line-height: 1;
}

@media (max-width: 460px) {
  .km-mobile-app-prompt {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 13px;
  }
  .km-mobile-app-prompt__logo { width: 48px; height: 48px; border-radius: 12px; }
  .km-mobile-app-prompt__actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .km-mobile-app-prompt__download { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .km-mobile-app-prompt { transition: none; }
}
