.sp-app-banner {
  position: fixed;
  z-index: 1040;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 36px 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 88px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 12px max(4px, env(safe-area-inset-left, 0px));
  border-bottom: 1px solid #dce2ec;
  background: #f5f7fb;
  color: #273449;
  font-family: system-ui, sans-serif;
  line-height: 1.4;
  text-align: left;
}

.sp-app-banner__close {
  display: grid;
  place-items: center;
  width: 36px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #56647a;
  font: 26px/1 system-ui, sans-serif;
  cursor: pointer;
}

.sp-app-banner__icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: #fff;
}

.sp-app-banner__name,
.sp-app-banner__description,
.sp-app-banner__store {
  display: block;
  margin: 0;
}

.sp-app-banner__name {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sp-app-banner__description {
  font-size: 12px;
  overflow-wrap: anywhere;
}

.sp-app-banner__store {
  color: #56647a;
  font-size: 11px;
}

.sp-app-banner__install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 22px;
  background: #1a469a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.sp-app-banner__install:hover,
.sp-app-banner__install:focus {
  background: #123576;
  color: #fff;
  text-decoration: none;
}

.sp-app-banner__close:focus-visible,
.sp-app-banner__install:focus-visible {
  outline: 2px solid #1a469a;
  outline-offset: 2px;
}

body.sp-app-banner-visible {
  padding-top: calc(var(--sp-app-banner-base-padding, 0px) + var(--sp-app-banner-height, 0px));
}

body.sp-app-banner-visible #header.navbar-absolute-top,
body.sp-app-banner-visible #header.navbar-sticky-top {
  top: var(--sp-app-banner-height, 0px) !important;
}
