/* App 下载页沿用官网品牌令牌，仅调整独立移动页面的布局。 */
.app-page { background: var(--paper); }
.app-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1000px; margin: auto; padding: 24px 32px; }
.app-home-link { color: var(--muted); font-size: 13px; white-space: nowrap; }
.app-home-link:hover { color: var(--coral-dark); }
.app-hero { max-width: 1000px; margin: auto; padding: 44px 48px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.app-intro .eyebrow { margin-bottom: 18px; }
.app-icon { width: 96px; height: 96px; margin-bottom: 24px; object-fit: contain; }
.app-hero h1 { font-size: 42px; }
.app-lead { margin-top: 18px; color: var(--muted); font-size: 15px; }
.app-download-actions { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
.app-download-button { width: 100%; min-width: 0; min-height: 68px; padding: 12px; gap: 8px; justify-content: center; text-align: left; color: var(--ink); background: #fff; border-color: var(--line); }
.app-download-button > svg { width: 18px; height: 18px; flex-shrink: 0; }
.app-download-button small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; opacity: .85; }
.app-download-button:hover { border-color: var(--coral); }
.app-android-button { background: var(--coral-dark); border-color: var(--coral-dark); color: #fff; }
.app-android-button:hover { background: #b83b59; border-color: #b83b59; }
.app-android-button:disabled { opacity: .65; cursor: wait; }
.app-download-status { min-height: 24px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.app-download-status:empty { display: none; }
.app-download-status.is-error { color: var(--coral-dark); }
.app-companion { padding: 32px 24px; background: transparent; text-align: center; }
.app-companion img { width: 100%; max-width: 310px; margin: 0 auto; }
.app-companion p { margin-top: 24px; color: var(--muted); font-size: 16px; }
.app-features { max-width: 1000px; padding: 56px 48px; margin: auto; border-top: 1px solid var(--line); }
.app-features h2 { font-size: 28px; }
.app-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.app-feature-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.app-feature-grid img { margin-bottom: 18px; }
.app-feature-grid h3 { font-size: 16px; }
.app-feature-grid p { margin-top: 10px; color: var(--muted); font-size: 13px; }
.app-install-note { max-width: 904px; margin: 0 auto; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.app-install-note h2 { font-size: 16px; }
.app-install-note p { margin-top: 10px; color: var(--muted); font-size: 13px; }
.app-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 32px 24px calc(32px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 12px; }
.app-footer a { text-decoration: underline; text-underline-offset: 3px; }
/* 微信引导使用品牌图形与清楚的操作步骤，弹层支持键盘关闭。 */
.app-browser-guide { width: min(420px, calc(100% - 40px)); max-height: calc(100dvh - 80px); overflow-y: auto; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.app-browser-guide::backdrop { background: #29213bc4; }
.app-browser-guide > img { margin-bottom: 20px; }
.app-browser-guide h2 { font-size: 23px; }
.app-browser-guide p { margin-top: 12px; font-size: 14px; color: var(--muted); }
.app-browser-guide ol { padding-left: 22px; margin: 20px 0 24px; font-size: 14px; }
.app-browser-guide li + li { margin-top: 12px; }
.app-browser-guide .button { width: 100%; background: var(--coral-dark); }
.app-guide-arrow { position: absolute; right: 18px; top: 14px; width: 68px; height: 68px; color: var(--coral-dark); }
@media (max-width: 760px) {
  .app-header { padding: calc(20px + env(safe-area-inset-top)) 24px 16px; }
  .app-header .brand-logo { width: 123px; }
  .app-hero { grid-template-columns: 1fr; gap: 28px; padding: 24px 28px 40px; }
  .app-intro { text-align: center; }
  .app-icon { width: 84px; height: 84px; margin: 0 auto 20px; }
  .app-hero h1 { font-size: clamp(28px, 8vw, 36px); }
  .app-lead { font-size: 14px; margin-top: 16px; }
  .app-download-actions { margin-top: 24px; gap: 10px; }
  .app-download-button { min-height: 64px; padding: 10px 8px; gap: 6px; font-size: 13px; }
  .app-companion { display: flex; align-items: center; gap: 18px; padding: 16px; text-align: left; }
  .app-companion img { width: 44%; margin: 0; }
  .app-companion p { margin: 0; font-size: 13px; }
  .app-features { padding: 36px 24px; }
  .app-features .eyebrow { margin-bottom: 12px; }
  .app-features h2 { font-size: 24px; }
  .app-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
  .app-feature-grid article { padding: 18px 16px; }
  .app-feature-grid h3 { font-size: 15px; }
  .app-feature-grid p { font-size: 12px; }
  .app-install-note { margin: 0 24px; padding: 20px; }
}
