/* 打牌计分器官网公共样式
   所有站点页面（首页 / 用户协议 / 隐私政策 / 下载页）共用，
   保证微信开放平台审核要求的「常规网站」形态：统一导航 + 统一页脚
   （含版权所有者、备案信息、联系方式）。 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: #F4F7F5; color: #3D4943; line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}
a { color: #06A652; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ---------- 顶部导航 ---------- */
.site-header {
  background: #fff; border-bottom: 1px solid #E6ECE8; position: sticky; top: 0; z-index: 20;
}
.site-header .inner {
  max-width: 1040px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.site-header .brand { display: flex; align-items: center; gap: 10px; }
.site-header .brand img { width: 38px; height: 38px; border-radius: 10px; }
.site-header .brand .name { font-size: 17px; font-weight: 800; color: #17231D; white-space: nowrap; }
.site-header .brand .slogan { font-size: 11px; color: #A9B2AD; }
.site-nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.site-nav a { font-size: 14px; color: #3D4943; font-weight: 600; }
.site-nav a:hover { color: #06A652; text-decoration: none; }

/* ---------- 通用容器 ---------- */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.section { padding: 44px 0; }
.section h2 { font-size: 22px; font-weight: 800; color: #17231D; margin-bottom: 8px; }
.section .sub { font-size: 13px; color: #7B8781; margin-bottom: 22px; }
.card {
  background: #fff; border: 1px solid #E6ECE8; border-radius: 12px; padding: 18px 20px;
}

/* ---------- 首屏 ---------- */
.hero { background: #fff; border-bottom: 1px solid #E6ECE8; }
.hero .inner {
  max-width: 1040px; margin: 0 auto; padding: 40px 20px 44px;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: center;
}
.hero h1 { font-size: 30px; font-weight: 800; color: #17231D; line-height: 1.3; }
.hero .lead { font-size: 15px; color: #3D4943; margin: 14px 0 8px; }
.hero .meta { font-size: 12px; color: #A9B2AD; margin-bottom: 22px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 23px; font-size: 15px; font-weight: 700;
  border: 1px solid transparent;
}
.btn-primary { background: #07C160; color: #fff; }
.btn-primary:hover { background: #06A652; text-decoration: none; }
.btn-ghost { background: #fff; color: #06A652; border-color: #B7E3C9; }
.btn-ghost:hover { text-decoration: none; background: #F2FBF6; }
.hero .phone { justify-self: center; }
.hero .phone img {
  width: 200px; border-radius: 18px; border: 1px solid #E6ECE8;
  box-shadow: 0 10px 30px rgba(23,35,29,.10);
}

/* ---------- 功能卡片 ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { background: #fff; border: 1px solid #E6ECE8; border-radius: 12px; padding: 18px; }
.feature .ico {
  width: 36px; height: 36px; border-radius: 10px; background: #E8F8EE; color: #06A652;
  display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 10px;
}
.feature h3 { font-size: 15px; font-weight: 800; color: #17231D; margin-bottom: 6px; }
.feature p { font-size: 13px; color: #7B8781; }

/* ---------- 截图 ---------- */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.shot { text-align: center; }
.shot img {
  width: 100%; border-radius: 12px; border: 1px solid #E6ECE8; background: #fff;
}
.shot .cap { font-size: 12px; color: #7B8781; margin-top: 8px; }

/* ---------- 应用介绍正文 ---------- */
.prose p { font-size: 14px; margin-bottom: 12px; color: #3D4943; }
.prose h3 { font-size: 15px; font-weight: 800; color: #17231D; margin: 16px 0 6px; }
.prose ul { margin: 0 0 12px 20px; }
.prose li { font-size: 14px; margin-bottom: 5px; }

/* ---------- 下载区 / 信息表 ---------- */
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
table.info { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
table.info th, table.info td { border: 1px solid #E6ECE8; padding: 9px 12px; text-align: left; }
table.info th { background: #F7FAF8; font-weight: 700; color: #17231D; width: 150px; }

/* ---------- FAQ ---------- */
.faq .q { font-size: 14px; font-weight: 800; color: #17231D; margin-top: 14px; }
.faq .a { font-size: 13px; color: #7B8781; }

/* ---------- 页脚 ---------- */
.site-footer { background: #fff; border-top: 1px solid #E6ECE8; margin-top: 20px; }
.site-footer .inner {
  max-width: 1040px; margin: 0 auto; padding: 26px 20px 34px;
  font-size: 12px; color: #7B8781; line-height: 2;
}
.site-footer .row { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.site-footer .copy { color: #3D4943; font-weight: 600; }
.site-footer a { color: #7B8781; }
.site-footer a:hover { color: #06A652; }

/* ---------- 协议页正文（沿用原有排版） ---------- */
.doc h1 { font-size: 22px; color: #17231D; font-weight: 800; margin-bottom: 6px; }
.doc .company { font-size: 13px; color: #7B8781; margin-bottom: 20px; }
.doc h2 { font-size: 15px; color: #17231D; font-weight: 700; margin: 18px 0 6px; }
.doc p { font-size: 13px; margin-bottom: 6px; }
.doc .date { margin-top: 24px; font-size: 11px; color: #A9B2AD; }

@media (max-width: 720px) {
  .hero .inner { grid-template-columns: 1fr; }
  .hero .phone { order: -1; }
  .hero .phone img { width: 168px; }
  .hero h1 { font-size: 24px; }
}
