.website-pwa-offer {
  display: none;
}

@media (max-width: 767px) {
  .website-pwa-offer:not([hidden]) {
    position: fixed;
    z-index: 39;
    inset-inline: max(8px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-right));
    bottom: max(calc(8px + env(safe-area-inset-bottom)), var(--website-pwa-bottom, 8px));
    display: grid;
    gap: 8px;
    width: auto;
    max-width: 460px;
    margin-inline: auto;
    padding: 12px;
    border: 1px solid #2c526c;
    border-radius: 20px;
    background: linear-gradient(135deg, #0c2638, var(--panel, #071727) 70%);
    color: var(--text, #f6f8fb);
    box-shadow: 0 12px 36px #02081099;
  }

  .website-pwa-intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
  }

  .website-pwa-logo {
    width: 36px;
    height: 36px;
    padding: 3px;
    border-radius: 10px;
    object-fit: contain;
    background: #f6f8fb;
  }

  .website-pwa-intro h2 {
    margin: 0 0 4px;
    font-size: 1rem;
    line-height: 1.25;
  }

  .website-pwa-intro p {
    margin: 0;
    color: #c1d3e1;
    font-size: .8125rem;
    line-height: 1.4;
  }

  .website-pwa-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .website-pwa-offer a,
  .website-pwa-offer button,
  .website-pwa-choice {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: .8125rem;
    line-height: 1.3;
    cursor: pointer;
  }

  .website-pwa-offer .website-pwa-install {
    flex: 1 1 auto;
    padding: 6px 10px;
    background: #e9f6ff;
    color: #082339;
    font-weight: 750;
    text-align: center;
  }

  .website-pwa-later,
  .website-pwa-close {
    background: transparent;
    color: #e9f6ff;
  }

  .website-pwa-offer .website-pwa-later {
    padding: 6px 10px;
    border-color: #47677f;
  }

  .website-pwa-offer .website-pwa-close {
    width: 44px;
    margin: -6px -6px 0 0;
    font-size: 1.4rem;
  }

  .website-pwa-choice {
    justify-self: start;
    gap: 8px;
    min-height: 44px;
    margin-block: -4px -8px;
    color: #d3e3ee;
  }

  .website-pwa-choice input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--blue, #138fff);
  }

  .website-pwa-offer :focus-visible {
    outline: 2px solid #8bd1fa;
    outline-offset: 2px;
  }
}
