/* ==========================================================================
   Shadowrocket官方下载 · download.css
   仅用于 zh-CN/download.html(App Store 正版核验页):
   首屏双列 + 核验面板 / 页内锚点导航 / 正文段落 / 核验清单 / 截图带 /
   步骤序号 / 核对清单 / 页尾内链
   ========================================================================== */

/* ---------- 首屏 ---------- */
.dl-hero{
  padding-top:56px;
  padding-bottom:60px;
}

.dl-hero-inner{
  display:grid;
  grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  gap:clamp(32px,4.4vw,64px);
  align-items:center;
}

.dl-hero-copy{
  min-width:0;
}

.dl-hero-title{
  margin:0 0 18px;
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(30px,3.3vw,46px);
  line-height:1.08;
  letter-spacing:-.035em;
  color:var(--text);
}

.dl-hero-title .accent{
  color:var(--accent-dark);
}

@supports (background-clip:text){
  .dl-hero-title .accent{
    background-image:linear-gradient(96deg,var(--accent-dark) 8%,var(--accent) 92%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    -webkit-text-fill-color:transparent;
  }
}

.dl-hero-lede{
  margin:0 0 26px;
  max-width:58ch;
  font-size:17px;
  line-height:1.78;
  color:var(--text-muted);
}

.dl-hero-lede strong{
  font-weight:700;
  color:var(--accent-dark);
}

.dl-hero-cta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
  margin-bottom:22px;
}

.dl-hero .store-btn{
  min-height:64px;
  padding:12px 30px;
  box-shadow:var(--shadow-btn-hi);
}

.dl-hero .store-btn svg{
  width:26px;
  height:26px;
}

.dl-hero .store-btn-main{
  font-size:17.5px;
}

.dl-hero .store-btn-top{
  font-size:11.5px;
  letter-spacing:.08em;
}

.dl-hero-note{
  margin:0 0 26px;
  font-size:13px;
  line-height:1.7;
  color:var(--text-muted);
}

.dl-hero-facts{
  margin-bottom:0;
}

.dl-hero .fact{
  white-space:normal;
  overflow-wrap:anywhere;
}

/* ---------- 首屏右侧核验面板 ---------- */
.dl-hero-side{
  min-width:0;
}

.verify-slab{
  width:100%;
  max-width:480px;
  margin-left:auto;
  padding:clamp(24px,2.6vw,34px);
}

.verify-slab-tag{
  margin:0 0 16px;
  font-family:var(--font-mono);
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--on-dark-60);
}

.verify-slab-list{
  display:flex;
  flex-direction:column;
  margin:0;
  padding:0;
  list-style:none;
}

.verify-slab-list li{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
  padding-top:14px;
  padding-bottom:14px;
  border-top:1px solid var(--on-dark-16);
}

.verify-slab-list li:first-child{
  padding-top:0;
  border-top:0;
}

.verify-slab-key{
  font-size:12.5px;
  line-height:1.5;
  color:var(--on-dark-60);
}

.verify-slab-val{
  font-family:var(--font-mono);
  font-size:13.5px;
  line-height:1.6;
  color:var(--bg);
  overflow-wrap:anywhere;
}

.verify-slab-note{
  display:flex;
  gap:10px;
  margin:16px 0 0;
  padding-top:16px;
  border-top:1px solid var(--on-dark-16);
  font-size:13.5px;
  line-height:1.7;
  color:var(--on-dark-72);
}

.verify-slab-note svg{
  width:16px;
  height:16px;
  flex:0 0 auto;
  margin-top:5px;
  color:var(--success);
}

/* ---------- 页内锚点导航 ---------- */
.dl-toc{
  padding-top:40px;
}

.dl-toc .toc{
  margin-bottom:0;
}

/* ---------- 正文段落 ---------- */
.dl-body{
  min-width:0;
  max-width:84ch;
}

.dl-body > p{
  margin:0 0 1.15em;
  font-size:16.5px;
  line-height:1.8;
  color:var(--text-muted);
}

.dl-body > p:last-child{
  margin-bottom:0;
}

.dl-body strong{
  font-weight:700;
  color:var(--text);
}

.dl-body h3{
  margin:1.8em 0 .5em;
  font-size:19px;
}

.dl-body h3:first-child{
  margin-top:0;
}

.dl-sub{
  margin:0 0 18px;
  font-size:19px;
  letter-spacing:-.015em;
}

/* ---------- 表格横向滚动容器 ---------- */
.table-scroll{
  max-width:100%;
  min-width:0;
  margin:0 0 1.4em;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border-radius:var(--r-card-sm);
}

.table-scroll .data-table{
  min-width:520px;
}

/* ---------- 正版核验清单 ---------- */
.verify-list{
  display:flex;
  flex-direction:column;
  min-width:0;
  margin:0 0 32px;
  padding:0;
  list-style:none;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--r-card);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}

.verify-row{
  display:flex;
  gap:18px;
  min-width:0;
  padding:20px 22px;
  border-top:1px solid var(--border);
}

.verify-row:first-child{
  border-top:0;
}

.verify-num{
  flex:0 0 auto;
  padding-top:4px;
  font-family:var(--font-mono);
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  color:var(--accent-dark);
}

.verify-main{
  flex:1 1 auto;
  min-width:0;
}

.verify-head{
  margin:0 0 8px;
  font-size:17px;
  letter-spacing:-.01em;
}

.verify-code{
  margin:0 0 8px;
  font-family:var(--font-mono);
  font-size:13.5px;
  line-height:1.65;
  color:var(--text);
  overflow-wrap:anywhere;
}

.verify-desc{
  margin:0;
  font-size:15.5px;
  line-height:1.75;
  color:var(--text-muted);
}

/* ---------- 官方截图带 ---------- */
.shot-band{
  min-width:0;
  margin:0 0 30px;
  padding:24px;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--r-card);
}

.shot-band-title{
  margin:0 0 18px;
  font-size:14px;
  font-weight:700;
  line-height:1.6;
  color:var(--text);
}

.shot-pair{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,280px));
  gap:22px;
  justify-content:start;
}

/* ---------- 步骤序号列表 ---------- */
.steps{
  counter-reset:dlstep;
  display:flex;
  flex-direction:column;
  gap:20px;
  margin:0 0 32px;
  padding:0;
  list-style:none;
}

.steps > li{
  counter-increment:dlstep;
  position:relative;
  min-width:0;
  padding-left:48px;
}

.steps > li::before{
  content:counter(dlstep,decimal-leading-zero);
  position:absolute;
  left:0;
  top:0;
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border:1px solid var(--accent-38);
  border-radius:var(--r-pill);
  background:var(--accent-06);
  font-family:var(--font-mono);
  font-size:11.5px;
  font-weight:600;
  color:var(--accent-dark);
}

.steps h3{
  margin:0 0 6px;
  font-size:17px;
}

.steps p{
  margin:0;
  font-size:15.5px;
  line-height:1.78;
  color:var(--text-muted);
}

/* ---------- 核对清单 ---------- */
.check-list{
  display:flex;
  flex-direction:column;
  gap:16px;
  margin:0 0 30px;
  padding:0;
  list-style:none;
}

.check-list li{
  display:flex;
  gap:12px;
  min-width:0;
}

.check-list svg{
  width:18px;
  height:18px;
  flex:0 0 auto;
  margin-top:5px;
  color:var(--accent-dark);
}

.check-list h3{
  margin:0 0 5px;
  font-size:16.5px;
}

.check-list p{
  margin:0;
  font-size:15.5px;
  line-height:1.78;
  color:var(--text-muted);
}

/* ---------- 页尾内链 ---------- */
.next-links{
  display:flex;
  flex-direction:column;
  min-width:0;
  margin:0;
  padding:0;
  list-style:none;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--r-card);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}

.next-links li{
  border-top:1px solid var(--border);
}

.next-links li:first-child{
  border-top:0;
}

.next-links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:56px;
  padding:14px 20px;
  font-size:15.5px;
  font-weight:600;
  color:var(--text);
  transition:background .18s ease,color .18s ease;
}

.next-links a:hover{
  background:var(--bg-panel);
  color:var(--accent-dark);
}

.next-links svg{
  width:15px;
  height:15px;
  flex:0 0 auto;
  color:var(--accent-dark);
  transition:transform .18s ease;
}

.next-links a:hover svg{
  transform:translateX(3px);
}

/* ---------- 响应式 ---------- */
@media (max-width:960px){
  .dl-hero{
    padding-top:36px;
    padding-bottom:44px;
  }

  .dl-hero-inner{
    grid-template-columns:minmax(0,1fr);
    gap:36px;
  }

  .verify-slab{
    max-width:none;
    margin-left:0;
  }

  .dl-hero-title{
    font-size:clamp(26px,6.4vw,32px);
  }
}

@media (max-width:768px){
  .dl-hero-title{
    font-size:clamp(24px,7vw,30px);
    letter-spacing:-.03em;
  }

  .shot-band{
    padding:18px;
  }
}

@media (max-width:640px){
  .dl-hero-cta{
    flex-direction:column;
    align-items:stretch;
  }

  .dl-hero .store-btn{
    width:100%;
    justify-content:center;
  }

  .shot-pair{
    grid-template-columns:minmax(0,1fr);
  }

  .steps > li{
    padding-left:40px;
  }

  .steps > li::before{
    width:28px;
    height:28px;
    font-size:11px;
  }

  .verify-row{
    flex-direction:column;
    gap:10px;
    padding:18px;
  }

  .verify-num{
    padding-top:0;
  }
}