/* 版式 06 · 卡片网格
   规则：CSS 只放在 wp-content/uploads/css/site-{blog_id}.css，
   由 mu-plugin xw-site-css.php 自动加载；页面正文里不写 style/link。
*/

/* ---------- 基础 ---------- */
.xw6 *{box-sizing:border-box}
.xw6{
  --pri:#0ea5e9;
  --ink:#111827;
  --mut:#6b7280;
  --bg:#fafafa;
  --card:#ffffff;
  --line:#eceef1;
  --r:16px;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ink);
  background:var(--bg);
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
.xw6 a{color:inherit;text-decoration:none}
.xw6 img{max-width:100%;height:auto;display:block}
.xw6{overflow-x:hidden}
/* 网格子项默认 min-width:auto，图片会把列撑破，统一放开 */
.xw6-grid>*,.xw6-shots>*,.xw6-steps>*,.xw6-dlbox>*{min-width:0}

/* ---------- 横幅 ---------- */
.xw6-banner{
  background:linear-gradient(180deg,#ffffff 0%,#f4f7fa 100%);
  border-bottom:1px solid var(--line);
  padding:64px 20px 56px;
  text-align:center;
}
.xw6-banner h1{
  margin:0 0 14px;
  font-size:34px;
  line-height:1.3;
  font-weight:700;
  letter-spacing:-.5px;
}
.xw6-banner p{
  margin:0 auto;
  max-width:560px;
  font-size:16px;
  color:var(--mut);
}
.xw6-meta{
  margin-top:22px;
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}
.xw6-meta span{
  font-size:13px;
  color:#374151;
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:5px 12px;
}

/* ---------- 通用容器 ---------- */
.xw6-wrap{max-width:1000px;margin:0 auto;padding:0 20px}
.xw6-sec{padding:56px 0}
.xw6-h2{
  font-size:22px;
  font-weight:600;
  margin:0 0 8px;
}
.xw6-sub{
  margin:0 0 28px;
  color:var(--mut);
  font-size:15px;
}

/* ---------- 六宫格功能卡 ---------- */
.xw6-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.xw6-card{
  background:var(--card);
  border-radius:var(--r);
  padding:26px 24px;
  box-shadow:0 4px 16px rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.02);
  transition:transform .18s ease,box-shadow .18s ease;
}
.xw6-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(0,0,0,.09)}
.xw6-no{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;height:30px;
  border-radius:9px;
  background:rgba(14,165,233,.1);
  color:var(--pri);
  font-size:14px;
  font-weight:700;
  margin-bottom:14px;
}
.xw6-card h3{
  margin:0 0 8px;
  font-size:16px;
  font-weight:600;
}
.xw6-card p{
  margin:0;
  font-size:14px;
  color:var(--mut);
  line-height:1.65;
}

/* ---------- 截图带 ---------- */
.xw6-shots{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
/* 只有两张截图时居中并收窄，避免右侧空一大块 */
.xw6-shots.xw6-shots-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:620px;
  margin:0 auto;
}
.xw6-shot{
  margin:0;
  background:var(--card);
  border-radius:var(--r);
  padding:10px;
  box-shadow:0 4px 16px rgba(0,0,0,.05);
}
.xw6-shot img{
  width:100%;
  border-radius:10px;
}
.xw6-shot figcaption{
  text-align:center;
  font-size:13px;
  color:var(--mut);
  padding:8px 0 2px;
}

/* ---------- 使用步骤 ---------- */
.xw6-steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  counter-reset:s;
}
.xw6-step{
  position:relative;
  background:var(--card);
  border-radius:var(--r);
  padding:30px 24px 24px;
  box-shadow:0 4px 16px rgba(0,0,0,.05);
}
.xw6-step::before{
  counter-increment:s;
  content:counter(s);
  position:absolute;
  top:-14px;left:24px;
  width:30px;height:30px;
  border-radius:50%;
  background:var(--pri);
  color:#fff;
  font-size:14px;
  font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.xw6-step h3{margin:0 0 6px;font-size:15px;font-weight:600}
.xw6-step p{margin:0;font-size:14px;color:var(--mut)}

/* ---------- FAQ ---------- */
.xw6-faq{border-top:1px solid var(--line)}
.xw6-faq .xw6-item{
  padding:20px 0;
  border-bottom:1px solid var(--line);
}
.xw6-item h3{
  margin:0 0 6px;
  font-size:16px;
  font-weight:600;
}
.xw6-item p{
  margin:0;
  font-size:14px;
  color:var(--mut);
  line-height:1.75;
}

/* ---------- 下载区（深色收尾） ---------- */
.xw6-dl{
  margin-top:56px;
  background:#111827;
  color:#fff;
  padding:56px 20px 64px;
  text-align:center;
}
.xw6-dl h2{
  margin:0 0 8px;
  font-size:24px;
  font-weight:700;
  color:#fff;
}
.xw6-dl>p{
  margin:0 0 30px;
  color:#9ca3af;
  font-size:14px;
}
.xw6-dlbox{
  max-width:1000px;
  margin:0 auto 28px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.xw6-dlcell{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:16px 10px;
}
.xw6-dlcell b{
  display:block;
  font-size:18px;
  font-weight:600;
  margin-bottom:4px;
}
.xw6-dlcell span{font-size:12px;color:#9ca3af}
.xw6-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:260px;
  height:52px;
  border-radius:10px;
  background:var(--pri);
  color:#fff !important;
  font-size:16px;
  font-weight:600;
  box-shadow:0 8px 24px rgba(14,165,233,.35);
  transition:transform .18s ease,box-shadow .18s ease;
}
.xw6-btn:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(14,165,233,.45)}
.xw6-tip{
  margin:18px 0 0;
  font-size:12px;
  color:#6b7280;
}

/* ---------- 页脚 ---------- */
.xw6-foot{
  background:#0b1220;
  color:#6b7280;
  text-align:center;
  padding:24px 20px 30px;
  font-size:12px;
  line-height:1.9;
}
.xw6-foot a{color:#9ca3af}

/* ---------- 响应式 ---------- */
@media (max-width:860px){
  .xw6-banner{padding:44px 18px 38px}
  .xw6-banner h1{font-size:26px}
  .xw6-sec{padding:40px 0}
  .xw6-grid,.xw6-steps,.xw6-shots{grid-template-columns:1fr;gap:12px}
  .xw6-shots{grid-template-columns:repeat(2,1fr);gap:10px}
  .xw6-shot{padding:8px}
  .xw6-shot figcaption{font-size:12px;padding:6px 0 0}
  .xw6-dlbox{grid-template-columns:1fr 1fr}
  .xw6-btn{width:100%;min-width:0}
  .xw6-dl{padding:40px 18px 48px}
}

/* ============================================================
   顶部下载抬头条（2026-11-20）
   七夕站原本没有页头，手机与 PC 首屏都看不到下载入口；
   这里补一个与 xw6 卡片网格风格一致的抬头条。
   说明：.xw6 容器有 overflow-x:hidden，会让 position:sticky
   失效，所以这里用普通静态布局，不做吸顶误伤。
   ============================================================ */
.xw6-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0 14px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(15, 23, 42, .09);
}
.xw6-top-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
  min-width: 0;
}
.xw6-top-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
  flex: 0 0 auto;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .14);
}
.xw6-top-brand span {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.xw6-top-brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #94a3b8;
  margin-top: 2px;
  letter-spacing: 0;
}
.xw6-top-dl {
  flex: 0 0 auto;
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  background: #0ea5e9;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(14, 165, 233, .28);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.xw6-top-dl:hover {
  background: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(14, 165, 233, .34);
}
@media (max-width: 640px) {
  .xw6-top {
    padding: 12px 0 11px;
    gap: 10px;
  }
  .xw6-top-brand img {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }
  .xw6-top-brand span { font-size: 14px; }
  .xw6-top-brand small { display: none; }
  .xw6-top-dl {
    padding: 8px 15px;
    font-size: 12.5px;
  }
}

/* ============================================================
   首屏第二块下载按钮（2026-11-20）
   页头 xw6-top 已有一块，这里在 banner 里补一块大的，
   与 AO3 站「页头 + 首屏」两块的结构一致。
   配色沿用页头的天蓝 #0ea5e9，位置在 meta 标签下方居中。
   ============================================================ */
.xw6-cta {
  margin: 24px 0 4px;
  text-align: center;
}
.xw6-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 40px;
  border-radius: 999px;
  background: #0ea5e9;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(14, 165, 233, .30);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.xw6-cta-btn:hover {
  background: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(14, 165, 233, .36);
}
.xw6-cta-ico {
  font-size: 15px;
  line-height: 1;
}
@media (max-width: 640px) {
  .xw6-cta {
    margin: 20px 0 2px;
  }
  .xw6-cta-btn {
    display: flex;
    width: 100%;
    padding: 13px 0;
    font-size: 14.5px;
  }
}
