* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: #eef3f8;
  color: #071827;
}

body {
  -webkit-text-size-adjust: 100%;
}

.install-page {
  width: min(100vw, 760px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 28px 18px max(28px, env(safe-area-inset-bottom));
  background: #fff;
}

.install-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: block;
  box-shadow: 0 14px 26px rgba(22, 119, 255, 0.22);
}

h1 {
  margin: 4px 0 0;
  font-size: 28px;
  line-height: 1.18;
}

p {
  margin: 0;
  color: #587087;
  font-size: 15px;
  line-height: 1.55;
}

.actions {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.primary,
.secondary {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  border: 1px solid #c9d7e6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
}

.primary {
  border-color: #1677ff;
  background: #1677ff;
  color: #fff;
}

.secondary {
  background: #f7fbff;
  color: #0f4c91;
}

button.secondary {
  font-family: inherit;
}

.installed {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #b7ebc6;
  background: #eefcf3;
  color: #0f7a3a;
  font-size: 15px;
  font-weight: 700;
}

.tips {
  margin-top: 8px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #d5e0ea;
  background: #f8fbff;
}

.tips h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.tips p + p {
  margin-top: 8px;
}

.hidden {
  display: none !important;
}
