:root{
  --brand: #1677ff;
  --bg: #f5f6f8;
  --card: #fff;
  --text: #111;
  --muted: #6b7280;
  --radius: 18px;
}

*{ box-sizing: border-box; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "PingFang SC", "Microsoft YaHei", Arial;
  background: var(--bg);
  color: var(--text);
}

.page{
  max-width: 520px;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.card{
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.hero{
  display:flex;
  gap: 12px;
  align-items:center;
}
.app-icon{
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  background:#eee;
}
.app-name{ margin:0; font-size: 22px; font-weight: 800; }
.rating-line{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-top: 6px;
}
.stars{ color: #f5b50a; letter-spacing: 2px; font-size: 16px; }
.rating-num{ color: var(--muted); font-weight: 700; }

.actions{ display:grid; gap:10px; }
.btn-primary{
  width:100%;
  padding: 14px 16px;
  border:0;
  border-radius: 999px;
  background: var(--brand);
  color:#fff;
  font-size: 18px;
  font-weight: 800;
}
.badges{ display:flex; gap:10px; flex-wrap:wrap; }
.badge{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(22,119,255,.12);
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
}

.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align:center;
}
.stat-icon{ font-size: 18px; }
.stat-value{ font-size: 20px; font-weight: 900; margin-top: 6px; }
.stat-label{ font-size: 12px; color: var(--muted); margin-top: 4px; }

.desc-title{ font-weight: 900; }
.desc-text{ margin: 8px 0 0; color: var(--muted); line-height: 1.5; }

.score{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items:center;
}
.score-big{ font-size: 48px; font-weight: 950; }
.score-sub{ color: var(--muted); margin-top: 6px; font-size: 13px; }
.bar-row{
  display:grid;
  grid-template-columns: 18px 1fr;
  gap:10px;
  align-items:center;
  margin: 6px 0;
}
.bar-star{ color: var(--muted); font-size: 12px; }
.bar-track{
  height: 8px;
  background: #e9edf3;
  border-radius: 999px;
  overflow:hidden;
}
.bar-fill{
  height: 100%;
  background: var(--brand);
}

.section-title{ margin:0 0 10px; font-size: 16px; font-weight: 900; }
.review{ padding: 12px; border-radius: 16px; background: #f6f7fb; }
.review-head{ display:flex; justify-content:space-between; align-items:center; }
.review-user{ font-weight: 900; }
.review-date{ color: var(--muted); font-size: 12px; }
.review-stars{ color: #f5b50a; margin: 6px 0; letter-spacing:2px; }
.review-text{ margin:0; color:#111; line-height:1.5; }

.kv{ display:grid; gap: 10px; }
.kv-row{
  display:grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items:center;
}
.kv-k{ color: var(--brand); font-weight: 900; }
.kv-v{ color:#111; }

.disclaimer{
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* 底部固定条 */
.bottom-bar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 10px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.bottom-left{ display:flex; align-items:center; gap: 10px; }
.bottom-icon{ width: 40px; height: 40px; border-radius: 12px; object-fit:cover; background:#eee; }
.bottom-name{ font-weight: 950; }
.bottom-tip{ color: var(--muted); font-size: 12px; margin-top: 2px; }

.btn-secondary{
  border:0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--brand);
  color:#fff;
  font-weight: 900;
}
