/* 文文的减肥日记 · 安装到手机的样式
 * 依赖 app.css 里的设计变量（--card / --ink / --muted / --work 等）。
 * 只负责两件事：登录页底部的小入口、手动引导弹层。
 */

/* ---------- 登录页底部入口 ---------- */

.install-hint {
  display: block;
  margin: 20px auto 0;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  border-radius: 10px;
}
.install-hint:active { background: rgba(0, 0, 0, .04); }

/* 安卓端：直接变成下载按钮，比灰色小字更明确 */
.install-hint-dl {
  display: block;
  margin: 20px auto 0;
  padding: 13px 18px;
  border-radius: 14px;
  background: var(--work-soft);
  color: var(--work);
  font-size: 14.5px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
.install-hint-dl:active { background: #d9efe7; }

/* ---------- 手动引导弹层 ---------- */

.inst-mask {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(17, 20, 28, .42);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.inst-mask.on { opacity: 1; }

.inst-sheet {
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--card);
  border-radius: 24px 24px 0 0;
  padding: 8px 20px calc(20px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform .26s cubic-bezier(.22, .68, .35, 1);
  -webkit-overflow-scrolling: touch;
}
.inst-mask.on .inst-sheet { transform: translateY(0); }

.inst-handle {
  width: 38px;
  height: 4px;
  border-radius: 99px;
  background: #e3e5ea;
  margin: 2px auto 14px;
}

.inst-title { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.inst-sub { font-size: 12.5px; color: var(--muted); line-height: 1.65; margin: 0 0 16px; }

.inst-steps { display: flex; flex-direction: column; gap: 13px; }

.inst-step { display: flex; gap: 11px; align-items: flex-start; }

.inst-num {
  flex: 0 0 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--work-soft);
  color: var(--work);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inst-step-body { flex: 1; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }

.inst-step-body svg {
  width: 17px;
  height: 17px;
  vertical-align: -3.5px;
  margin: 0 1px;
  color: var(--work);
}

.inst-close {
  width: 100%;
  margin-top: 20px;
  padding: 13px;
  border-radius: 14px;
  background: #f2f3f6;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
}
.inst-close:active { background: #e9ebef; }

/* ---------- 安卓安装包下载 ---------- */

.inst-download {
  display: block;
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: var(--work);
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(47, 158, 138, .22);
}
.inst-download:active { opacity: .88; }

.inst-download-sub {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

.inst-or {
  margin: 20px 0 12px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
