.orange-pwa-prompt {
  position: fixed;
  right: 14px;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 14px;
  z-index: 2147483000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(110, 157, 183, 0.22);
  border-radius: 16px;
  background: rgba(252, 251, 246, 0.96);
  color: #263238;
  box-shadow: 0 16px 38px rgba(52, 81, 96, 0.18);
  backdrop-filter: blur(16px);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

.orange-pwa-prompt__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.orange-pwa-prompt__copy strong {
  font-size: 14px;
  line-height: 1.25;
}

.orange-pwa-prompt__copy span {
  color: #5f7079;
  font-size: 12px;
  line-height: 1.55;
}

.orange-pwa-prompt__actions {
  display: flex;
  gap: 8px;
}

.orange-pwa-prompt button {
  min-height: 38px;
  border-radius: 12px;
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.orange-pwa-prompt__ghost {
  border: 1px solid rgba(110, 157, 183, 0.25);
  background: rgba(255, 255, 255, 0.7);
  color: #60727d;
}

.orange-pwa-prompt__primary {
  border: 0;
  background: #3f6f8a;
  color: #fff;
}

.pwa-standalone .orange-pwa-prompt {
  display: none;
}

@media (min-width: 821px) {
  .orange-pwa-prompt {
    display: none;
  }
}

@media (max-width: 420px) {
  .orange-pwa-prompt {
    grid-template-columns: minmax(0, 1fr);
  }

  .orange-pwa-prompt__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .orange-pwa-prompt {
    animation: orangePwaPromptIn 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
}

@keyframes orangePwaPromptIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
