.jdb-pwa-banner {
  position: fixed;
  top: -200px;
  left: 0;
  width: 100vw;
  z-index: 2147483644;
  background: #f2f2f2;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.15);
  transition: top 0.3s ease-in-out;
  padding: 10px 0;
}

.jdb-pwa-banner.in {
  top: 0;
}

.jdb-pwa-banner.removing {
  top: -200px;
}

.jdb-pwa-banner,
.jdb-pwa-banner * {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.jdb-pwa-banner__inner {
  width: 100%;
  display: flex;
  align-items: center;
}

.jdb-pwa-banner__icon {
  flex: none;
}

.jdb-pwa-banner__icon img {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  margin-left: 20px;
  object-fit: cover;
  display: block;
}

.jdb-pwa-banner__details {
  display: flex;
  align-items: center;
  width: 100%;
  margin-left: 15px;
  margin-right: 10px;
}

.jdb-pwa-banner__text {
  color: #27313a;
  line-height: 22px;
  font-size: 15px;
  word-break: break-word;
}

.jdb-pwa-banner__btns {
  display: flex;
  align-items: center;
  margin-left: 30px;
}

.jdb-pwa-banner__btn {
  outline: 0;
  border: 0;
  height: 40px;
  border-radius: 30px;
  cursor: pointer;
  white-space: nowrap;
  margin: 0 5px;
  padding: 0 30px;
  font-size: 15px;
  line-height: 1;
}

.jdb-pwa-banner__btn--install {
  background: #243a59;
  color: #ffffff;
  font-weight: 700;
}

.jdb-pwa-banner__btn--install:hover {
  background: #1d2f4a;
  filter: none;
}

.jdb-pwa-banner__btn--later {
  background: transparent;
  color: #2f3a44;
  border: 1px solid #c9d3df;
  border-radius: 999px;
  font-weight: 700;
}

.jdb-pwa-banner__btn--later:hover {
  background: rgba(0, 0, 0, 0.05);
}

.jdb-pwa-banner__close {
  margin-right: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2f3a44;
  flex: none;
}

.jdb-pwa-banner__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.jdb-pwa-banner__close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.jdb-pwa-banner__hint {
  margin-left: 14px;
  color: #4d5a66;
  font-size: 13px;
  line-height: 1.4;
  display: none;
}

html.jdb-pwa-banner-open {
  scroll-padding-top: 96px;
}

html.jdb-pwa-banner-open body {
  padding-top: 96px;
}

@media (max-width: 800px) {
  .jdb-pwa-banner {
    height: auto;
    padding: 10px 0 12px;
  }

  .jdb-pwa-banner__inner {
    align-items: flex-start;
    padding-right: 44px;
  }

  .jdb-pwa-banner__icon img {
    width: 38px;
    height: 38px;
    margin-left: 12px;
    margin-top: 2px;
    border-radius: 9px;
  }

  .jdb-pwa-banner__details {
    margin-left: 10px;
    margin-right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .jdb-pwa-banner__btns {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin: 0;
  }

  .jdb-pwa-banner__btn {
    height: 38px;
    margin: 0;
    font-size: 14px;
    padding: 0 14px;
  }

  .jdb-pwa-banner__btn--install {
    min-width: 126px;
  }

  .jdb-pwa-banner__btn--later {
    height: 34px;
    font-size: 13px;
    padding: 0 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #c9d3df;
    border-radius: 999px;
    background: #f7f9fc;
    color: #324255;
  }

  .jdb-pwa-banner__text {
    line-height: 1.3;
    font-size: 14px;
    padding-right: 6px;
  }

  .jdb-pwa-banner__close {
    position: absolute;
    right: 4px;
    top: 4px;
    margin-right: 0;
    width: 36px;
    height: 36px;
  }

  html.jdb-pwa-banner-open {
    scroll-padding-top: 118px;
  }

  html.jdb-pwa-banner-open body {
    padding-top: 118px;
  }
}

@media (max-width: 550px) {
  .jdb-pwa-banner {
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .jdb-pwa-banner__inner {
    padding-right: 40px;
  }

  .jdb-pwa-banner__text {
    font-size: 13px;
    line-height: 1.25;
  }

  .jdb-pwa-banner__btns {
    gap: 6px;
  }

  .jdb-pwa-banner__btn--install {
    min-width: 112px;
    height: 34px;
    font-size: 13px;
    padding: 0 12px;
  }

  .jdb-pwa-banner__btn--later {
    border: 1px solid #c9d3df;
    border-radius: 999px;
    background: #f7f9fc;
    color: #324255;
  }

  .jdb-pwa-banner__hint {
    margin-left: 0;
    margin-top: 4px;
    padding-right: 8px;
    font-size: 12px;
    line-height: 1.35;
  }

  html.jdb-pwa-banner-open {
    scroll-padding-top: 110px;
  }

  html.jdb-pwa-banner-open body {
    padding-top: 110px;
  }
}

.jdb-pwa-debug {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 2147483646;
  background: rgba(12, 20, 30, 0.95);
  color: #dbf0ff;
  border-radius: 8px;
  padding: 8px 10px;
  font: 12px/1.45 Menlo, Monaco, Consolas, monospace;
  white-space: pre;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
