.qw-pwa-install {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 9998;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(87, 255, 143, .28);
  border-radius: 8px;
  background: rgba(10, 26, 20, .94);
  color: #f2fff7;
  font: 700 13px/1.1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.qw-pwa-install.show { display: inline-flex; }
.qw-pwa-install svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #57ff8f;
}
.qw-pwa-install span { white-space: nowrap; }
.qw-pwa-install:focus-visible {
  outline: 2px solid #57ff8f;
  outline-offset: 3px;
}
.qw-pwa-sheet {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, .48);
  padding: 16px;
}
.qw-pwa-sheet.show { display: flex; }
.qw-pwa-card {
  position: relative;
  width: min(420px, 100%);
  border: 1px solid rgba(87, 255, 143, .18);
  border-radius: 8px;
  background: #0a1a14;
  color: #f2fff7;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .36);
  padding: 18px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.qw-pwa-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(242, 255, 247, .6);
  font: 700 22px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.qw-pwa-close:hover { color: #f2fff7; background: rgba(255, 255, 255, .06); }
.qw-pwa-close:focus-visible { outline: 2px solid #57ff8f; outline-offset: 2px; }
.qw-pwa-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
}
.qw-pwa-card p,
.qw-pwa-card li {
  color: rgba(242, 255, 247, .78);
  font-size: 14px;
  line-height: 1.5;
}
.qw-pwa-card ol {
  margin: 12px 0 16px;
  padding-left: 22px;
}
.qw-pwa-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.qw-pwa-actions button {
  min-height: 42px;
  border-radius: 8px;
  padding: 10px 14px;
  font: 700 14px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}
.qw-pwa-dismiss {
  border: 1px solid rgba(255, 255, 255, .14);
  background: transparent;
  color: rgba(242, 255, 247, .82);
}
.qw-pwa-primary {
  border: 1px solid #57ff8f;
  background: #57ff8f;
  color: #06110d;
}
@media (max-width: 520px) {
  .qw-pwa-install {
    right: 12px;
    bottom: 12px;
    padding: 10px;
    min-width: 44px;
    justify-content: center;
    gap: 0;
  }
  .qw-pwa-install span { display: none; }
}
