/* ============================================================
   dl.css · 名爵安卓apk下载 内页骨架：下载任务队列
   冷白 + 青绿，卡片式传输面板，进度条与校验行
   ============================================================ */

.page-dl {
  --paper: #f2f8f7;
  --ink: #0a2724;
  --ink-soft: #41605c;
  --ink-faint: #7c9692;
  --line: rgba(10, 39, 36, 0.12);
  --accent: #0e7c6f;
  --accent-ink: #ffffff;
  --mint: #b8f2e6;
  --warn: #c2410c;
  --header-bg: rgba(242, 248, 247, 0.9);
  --header-fg: #0a2724;
  --header-line: rgba(10, 39, 36, 0.1);
  --tab-on: #0e7c6f;
  --tab-on-fg: #ffffff;
  background: var(--paper);
}

/* hero */
.dl-hero { padding: 46px 0 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.dl-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(14, 124, 111, 0.16), transparent);
  pointer-events: none;
}
.dl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr); gap: 46px; align-items: center; position: relative; }
.dl-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(14, 124, 111, 0.1);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.dl-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: dl-pulse 2s infinite; }
@keyframes dl-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.dl-title {
  margin-top: 16px;
  font-size: clamp(36px, 5.2vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.dl-title span { color: var(--accent); }
.dl-lead { max-width: 35em; margin-top: 20px; font-size: 15.5px; color: var(--ink-soft); }
.dl-lead b { color: var(--ink); }
.dl-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.dl-actions .btn-primary { border-radius: 12px; }
.dl-actions .btn-room { border-radius: 12px; }
.dl-figure { position: relative; }
.dl-figure img { width: 100%; height: auto; }
.dl-figcap { margin-top: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--ink-faint); text-align: right; }

/* section */
.dl-sec { padding: 70px 0; border-bottom: 1px solid var(--line); }
.dl-sec:last-of-type { border-bottom: 0; }
.dl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.dl-head h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.22; }
.dl-head .k { display: block; margin-bottom: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--accent); }
.dl-head p { max-width: 46em; margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }
.dl-head .side { flex: 0 0 auto; font-size: 12.5px; color: var(--ink-faint); text-align: right; }

/* queue */
.dl-queue { display: grid; gap: 14px; }
.dl-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 190px;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.dl-item:hover { border-color: rgba(14, 124, 111, 0.4); transform: translateX(3px); }
.dl-item .ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(14, 124, 111, 0.1);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}
.dl-item h3 { font-size: 15.5px; font-weight: 800; }
.dl-item .meta { margin-top: 4px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); letter-spacing: 0.04em; }
.dl-item .state { text-align: right; }
.dl-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(14, 124, 111, 0.12);
  color: var(--accent);
}
.dl-pill.wait { background: rgba(10, 39, 36, 0.08); color: var(--ink-soft); }
.dl-pill.warn { background: rgba(194, 65, 12, 0.1); color: var(--warn); }
.dl-bar { margin-top: 10px; height: 6px; border-radius: 3px; background: rgba(10, 39, 36, 0.08); overflow: hidden; }
.dl-bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.dl-bar.wait i { background: var(--ink-faint); }

/* checks */
.dl-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dl-check {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.dl-check .n {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--mint);
  color: #063b34;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.dl-check h3 { margin-top: 14px; font-size: 15.5px; font-weight: 800; }
.dl-check p { margin-top: 6px; font-size: 13px; color: var(--ink-soft); }

/* two col */
.dl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.dl-copy p { font-size: 14.5px; color: var(--ink-soft); }
.dl-copy p + p { margin-top: 12px; }
.dl-copy b { color: var(--ink); }
.dl-callout {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(14, 124, 111, 0.25);
  background: rgba(184, 242, 230, 0.35);
  font-size: 13.5px;
}
.dl-callout b { color: var(--accent); }

/* speed table */
.dl-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.dl-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.dl-table th, .dl-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.dl-table th { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-faint); background: rgba(10, 39, 36, 0.03); }
.dl-table tr:last-child td { border-bottom: 0; }
.dl-table code { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); }

/* hash */
.dl-hash {
  padding: 22px 24px;
  border-radius: 14px;
  background: #082b27;
  color: #c7e6e1;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 2;
  overflow-x: auto;
}
.dl-hash b { color: var(--mint); }
.dl-hash span { color: #6f918c; }

/* compare */
.dl-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dl-compare > div { padding: 24px; border-radius: 16px; }
.dl-compare .a { background: var(--accent); color: #fff; }
.dl-compare .b { background: #fff; border: 1px solid var(--line); }
.dl-compare h3 { font-size: 15px; font-weight: 800; }
.dl-compare ul { margin-top: 12px; display: grid; gap: 9px; font-size: 13.5px; }
.dl-compare li { padding-left: 18px; position: relative; }
.dl-compare li::before { content: "—"; position: absolute; left: 0; opacity: 0.5; }
.dl-compare .a li { color: rgba(255, 255, 255, 0.85); }

/* faq */
.dl-faq { max-width: 900px; border-top: 1px solid var(--line); }

/* steps */
.dl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: ds; }
.dl-step {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.dl-step::before {
  counter-increment: ds;
  content: counter(ds);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.dl-step h3 { font-size: 14.5px; font-weight: 800; }
.dl-step p { margin-top: 5px; font-size: 12.5px; color: var(--ink-soft); }

/* related */
.dl-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dl-related a { padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: border-color 0.2s, transform 0.2s; }
.dl-related a:hover { border-color: rgba(14, 124, 111, 0.5); transform: translateY(-3px); }
.dl-related em { display: block; font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--ink-faint); }
.dl-related b { display: block; margin-top: 6px; font-size: 15.5px; }
.dl-related span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-faint); }

/* cta */
.dl-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 32px;
  border-radius: 18px;
  background: #082b27;
  color: #e6f4f1;
}
.dl-cta h2 { font-size: clamp(20px, 2.4vw, 27px); font-weight: 900; }
.dl-cta p { margin-top: 6px; font-size: 13.5px; opacity: 0.7; }
.dl-cta .btn-primary { background: var(--mint); color: #063b34; box-shadow: none; }
.dl-cta .tg-link { color: var(--mint); }

/* responsive */
@media (max-width: 1080px) {
  .dl-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .dl-figure { max-width: 560px; }
  .dl-checks { grid-template-columns: repeat(2, 1fr); }
  .dl-steps { grid-template-columns: repeat(2, 1fr); }
  .dl-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .dl-head .side { text-align: left; }
  .dl-related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .dl-hero { padding: 32px 0 40px; }
  .dl-sec { padding: 50px 0; }
  .dl-title { font-size: clamp(34px, 10vw, 46px); }
  .dl-item { grid-template-columns: 40px 1fr; }
  .dl-item .state { grid-column: 1 / -1; text-align: left; }
  .dl-checks { grid-template-columns: 1fr; }
  .dl-two { grid-template-columns: 1fr; gap: 24px; }
  .dl-compare { grid-template-columns: 1fr; }
  .dl-steps { grid-template-columns: 1fr; }
  .dl-related { grid-template-columns: 1fr; }
  .dl-cta { padding: 24px; }
}
