* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65; color: #24292f; background: #f6f8fa;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 48px; }
a { color: #0969da; text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 26px; margin: 0 0 6px; }
h2 { font-size: 17px; margin: 0 0 12px; color: #57606a; }
.ver { font-size: 14px; color: #8b949e; font-weight: 400; }

.site-footer { text-align: center; padding: 24px; color: #8b949e; font-size: 13px; }

/* 首屏 */
.hero {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid #e1e4e8; border-radius: 14px;
  padding: 24px; margin-bottom: 16px;
}
.hero-icon {
  width: 76px; height: 76px; flex: 0 0 76px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8f0ff, #f0f6ff);
  border-radius: 18px; font-size: 38px;
}
.hero-text { min-width: 0; flex: 1; }
.tagline { margin: 0 0 12px; color: #57606a; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #8b949e; margin-bottom: 18px; }
.meta span::before { content: "·"; margin-right: 6px; color: #d0d7de; }
.meta span:first-child::before { content: none; }

.btn-download, .btn-disabled {
  display: inline-block; padding: 11px 32px; border-radius: 8px;
  font-size: 16px; font-weight: 600;
}
.btn-download { background: #1f883d; color: #fff; }
.btn-download:hover { background: #1a7f37; text-decoration: none; }
.btn-disabled { background: #eaeef2; color: #8b949e; cursor: not-allowed; }

/* 内容卡片 */
.card {
  background: #fff; border: 1px solid #e1e4e8; border-radius: 12px;
  padding: 20px 24px; margin-bottom: 16px;
}
.card p { margin: 0; }

.features { margin: 0; padding-left: 0; list-style: none; }
.features li { padding-left: 24px; position: relative; margin-bottom: 6px; }
.features li::before { content: "✓"; position: absolute; left: 4px; color: #1f883d; font-weight: 700; }

.changelog { margin: 0; padding-left: 0; list-style: none; font-size: 14px; color: #57606a; }
.changelog li { padding-left: 16px; position: relative; }
.changelog li::before { content: "–"; position: absolute; left: 0; color: #d0d7de; }
.changelog li.cl-version { font-weight: 600; color: #24292f; margin-top: 10px; }
.changelog li.cl-version::before { content: none; }
.changelog li.cl-version:first-child { margin-top: 0; }

.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.shots img { width: 100%; border-radius: 8px; border: 1px solid #eaeef2; display: block; }

/* 表单 / 后台 */
label { display: block; margin-bottom: 14px; font-weight: 600; font-size: 14px; }
input, textarea {
  width: 100%; margin-top: 6px; padding: 8px 10px;
  border: 1px solid #d0d7de; border-radius: 6px;
  font: inherit; font-weight: 400; background: #fff;
}
input[type=file] { padding: 6px; }
textarea { resize: vertical; }
.row { display: flex; gap: 12px; }
.row > label { flex: 1; }
button {
  padding: 9px 24px; border: 0; border-radius: 6px;
  background: #1f883d; color: #fff; font: inherit; cursor: pointer;
}
button:hover { background: #1a7f37; }
.form-narrow { max-width: 360px; }
.hint { color: #8b949e; font-size: 13px; margin-top: 10px; }
.logout { font-size: 14px; font-weight: 400; float: right; color: #cf222e; }
.errors {
  background: #ffebe9; border: 1px solid #ff8182; color: #cf222e;
  border-radius: 6px; padding: 12px 16px 12px 32px; margin-bottom: 16px;
}
.flash {
  background: #dafbe1; border: 1px solid #4ac26b; color: #116329;
  border-radius: 6px; padding: 12px 16px; margin-bottom: 16px;
}

@media (max-width: 560px) {
  .hero { flex-direction: column; }
  .row { flex-direction: column; gap: 0; }
}