.pp-pwa-install[hidden],
.pp-pwa-install-panel[hidden] {
  display: none !important;
}

.pp-pwa-install-panel {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #536878;
  border-radius: 10px;
  background: #0c1925;
  text-align: left;
}

.pp-pwa-install-panel-first {
  margin: 0 0 24px;
  border-color: #c0df4f;
}

.pp-pwa-install-panel h2 {
  margin: 0 0 8px;
  color: #f9f9f9;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.pp-pwa-install-intro,
.pp-pwa-install-note {
  color: #bdcad4;
  font-size: 14px;
  line-height: 1.5;
}

.pp-pwa-install-intro { margin: 0 0 14px; }
.pp-pwa-install-note { margin: 12px 0 0; }
.pp-pwa-install-note strong { color: #f9f9f9; }

.pp-pwa-install {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 12px;
  border: 1px solid #c0df4f;
  border-radius: 7px;
  background: #c0df4f;
  color: #10180d;
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
}

.pp-pwa-install-platforms,
.pp-pwa-install-platforms > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pp-pwa-install-platforms {
  flex-wrap: wrap;
  column-gap: 16px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.pp-pwa-install-platforms svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

.pp-pwa-install:hover {
  background: #cee86f;
  border-color: #cee86f;
}

.pp-pwa-install:disabled {
  opacity: .65;
  cursor: wait;
}

.pp-pwa-help {
  box-sizing: border-box;
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 22px;
  overflow-y: auto;
  border: 1px solid #536878;
  border-radius: 14px;
  color: #f9f9f9;
  background: #0c1925;
  font-family: inherit;
  box-shadow: 0 20px 80px #0008;
}

.pp-pwa-help::backdrop {
  background: #010812cc;
}

.pp-pwa-help-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pp-pwa-help-heading img {
  flex-shrink: 0;
  border-radius: 10px;
}

.pp-pwa-help-heading h2 {
  flex: 1;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.pp-pwa-help-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #bdcad4;
  font: inherit;
  font-size: 28px;
  cursor: pointer;
}

.pp-pwa-help p,
.pp-pwa-help li {
  color: #bdcad4;
  font-size: 15px;
  line-height: 1.6;
}

.pp-pwa-help p {
  margin: 18px 0 12px;
}

.pp-pwa-help ol {
  margin: 0 0 20px;
  padding-left: 23px;
}

.pp-pwa-help li + li {
  margin-top: 9px;
}

.pp-pwa-help-done {
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border: 0;
  border-radius: 7px;
  background: #c0df4f;
  color: #10180d;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.pp-pwa-install:focus-visible,
.pp-pwa-help button:focus-visible {
  outline: 2px solid #c0df4f;
  outline-offset: 3px;
}

/* Safari: point to the browser menu before asking the user to Share. */
.pp-pwa-help-ios { padding: 18px; }
.pp-pwa-help-ios .pp-pwa-help-heading { gap: 10px; }
.pp-pwa-help-ios .pp-pwa-help-heading img { width: 38px; height: 38px; }
.pp-pwa-help-ios .pp-pwa-help-heading h2 { font-size: 18px; }
.pp-pwa-help-ios #pp-pwa-help-text { margin: 14px 0 16px; font-size: 14px; line-height: 1.45; }
.pp-pwa-help-ios ol { list-style: none; counter-reset: pp-ios-step; margin: 0; padding: 0; }
.pp-pwa-help-ios li { position: relative; counter-increment: pp-ios-step; padding-left: 32px; line-height: 1.4; }
.pp-pwa-help-ios li + li { margin-top: 16px; }
.pp-pwa-help-ios li::before { content: counter(pp-ios-step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #c0df4f; color: #10180d; font-size: 13px; font-weight: 750; }
.pp-pwa-help-ios li strong { color: #f9f9f9; font-size: 15px; }
.pp-pwa-help-ios li p { margin: 5px 0 0; font-size: 13px; line-height: 1.45; }
.pp-pwa-help-ios .pp-pwa-ios-hint { color: #bdcad4; font-size: 12px; }
.pp-pwa-safari-example { margin: 10px 0 8px; }
.pp-pwa-safari-bar { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 5px; border: 1px solid #536878; border-radius: 25px; background: #223443; color: #f9f9f9; }
.pp-pwa-safari-menu { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 2px solid #c0df4f; border-radius: 50%; color: #f9f9f9; }
.pp-pwa-safari-example svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pp-pwa-safari-domain { min-width: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 650; }
.pp-pwa-safari-share { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 8px; color: #f9f9f9; font-size: 14px; }
.pp-pwa-safari-share > span { color: #bdcad4; font-size: 12px; }
.pp-pwa-safari-share svg { color: #c0df4f; }
.pp-pwa-help-ios .pp-pwa-help-done { display: none; }
