/* ===== 基础：移动优先 ===== */
:root{
  --bg:#0b0b0b;
  --fg:#ffffff;
  --muted:#b5b5b5;
  --accent:#9fe870;
  --card:#141414;
  --radius:16px;
}

*{ box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html,body{ height:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,"Noto Sans SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  /* 字体大小随屏宽轻微流式变化：15px~18px */
  font-size: clamp(15px, 2.4vw, 18px);
  line-height:1.65;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
           env(safe-area-inset-bottom) env(safe-area-inset-left);
}

main{
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  text-align: center;
}

h1{
  margin: 10px 0 8px;
  font-size: clamp(22px, 6vw, 32px);
  font-weight: 800;
  letter-spacing: .5px;
}

.sub{ margin: 6px 0 12px; opacity: .9; }
.muted{ opacity: .8; }

/* ===== 下载按钮（移动端上下排） ===== */
.cta{
  display:flex;
  flex-direction: column;         /* 手机：上下排 */
  gap: 10px;
  align-items:center;
  margin: 6px 0 8px;
}
@media (min-width: 640px){
  .cta{ flex-direction: row; gap: 12px; justify-content:center; } /* 桌面：横排 */
}

.btn{
  display:block;
  width: min(320px, 92vw);
  padding: 12px 18px;             /* ≥44px 触控高度 */
  border-radius: var(--radius);
  background: var(--accent);
  color: #0b0b0b;
  font-weight: 700;
  text-decoration: none;
  transition: transform .06s ease, opacity .2s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.btn:active{ transform: scale(.98); }
.btn.outline{
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  box-shadow: none;
}

/* ===== 结果列表（大触控区） ===== */
.list{
  list-style:none;
  padding:0;
  margin:12px 0 0;
}
.list a{
  display:block;
  margin: 8px auto;
  width: min(360px, 92vw);
  padding: 12px 16px;             /* ≥44px 触控高度 */
  border-radius: var(--radius);
  background: var(--card);
  color: var(--accent);
  text-decoration:none;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.list a:hover{ filter:brightness(1.06); }
.list a:active{ transform: scale(.98); }

/* ===== 可访问性与动效偏好 ===== */
@media (prefers-reduced-motion: reduce){
  .btn, .list a{ transition:none; }
}
