/* 电脑端手机APP下载页 - 由版本 1.0.1 前端样式一比一迁移。
   主色（蓝/紫/青/绿）与页面背景是后台可配置项，全部走 CSS 变量；
   module.js 在渲染前把后台配置写入 .xqw-download 的 style 变量。 */

.xqw-download i.remix-icon.ri-wechat-fill,
.xqw-download i.remix-icon.ri-wechat-line {
  font-size: 40px;
}
.xqw-download i.remix-icon.ri-android-fill,
.xqw-download i.remix-icon.ri-android-line {
  font-size: 40px;
}

.xqw-download *, .xqw-download *::before, .xqw-download *::after,
.xqw-modal-mask *, .xqw-modal-mask *::before, .xqw-modal-mask *::after { box-sizing: border-box; }
@keyframes xqwFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes xqwShine { 0% { background-position: -200% 50%; } 100% { background-position: 200% 50%; } }
@keyframes xqwFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes xqwGlow { 0%, 100% { box-shadow: 0 8px 24px rgba(59,130,246,.18); } 50% { box-shadow: 0 12px 32px rgba(99,56,246,.28); } }
@keyframes xqwDot { 0%, 100% { transform: scale(1); opacity: .4; } 50% { transform: scale(1.4); opacity: 1; } }
@keyframes xqwRing { 0%, 100% { transform: scale(1); opacity: .35; } 50% { transform: scale(1.15); opacity: 0; } }

.xqw-download {
  --blue: #3b82f6; --violet: #6338f6; --ink: #0f172a;
  --text: #334155; --muted: #64748b; --line: #e2e8f0;
  --green: #10b981; --green-d: #059669;
  --cyan: #06b6d4; --violet-d: #6d28d9; --blue-d: #2563eb;
  min-height: 100vh; min-height: 100dvh; color: var(--ink);
  background: var(--xqw-bg, transparent);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
.xqw-download a { color: inherit; }
.xqw-wrap { width: 100%; max-width: 1140px; margin: 0 auto !important; padding: 28px 24px 30px; }

.xqw-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 32px;
  align-items: stretch;
  min-height: 560px;
}

.xqw-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
}
.xqw-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  width: fit-content;
  min-height: 34px; padding: 0 14px 0 7px;
  border: 1px solid #dbe7ff; border-radius: 999px;
  background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
  color: #2457c5;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 2px 8px rgba(59,130,246,.08);
  animation: xqwFadeUp .55s ease .05s both;
}
.xqw-kicker img {
  width: 22px; height: 22px; border-radius: 5px;
  object-fit: cover; background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  animation: xqwFloat 3.2s ease-in-out infinite;
}
.xqw-title {
  margin: 18px 0 0; max-width: 520px;
  font-size: 30px;
  font-size: clamp(24px, 3vw, 33px);
  line-height: 1.28; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink);
  animation: xqwFadeUp .55s ease .15s both;
}
.xqw-title span {
  display: block;
  margin-top: 4px;
  color: transparent;
  background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 35%, var(--cyan) 65%, var(--blue) 95%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  font-weight: 900;
  animation: xqwShine 5s linear infinite;
}
.xqw-desc {
  margin: 13px 0 0; max-width: 470px;
  color: var(--text); font-size: 13.5px; line-height: 1.75;
  letter-spacing: .015em;
  animation: xqwFadeUp .55s ease .25s both;
}
.xqw-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-top: 16px;
  animation: xqwFadeUp .55s ease .32s both;
}
.xqw-stat {
  padding: 10px 10px;
  background: linear-gradient(145deg, #ffffff 0%, #fafbff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15,23,42,.04);
  transition: all .25s ease;
}
.xqw-stat:hover {
  box-shadow: 0 8px 24px rgba(15,23,42,.1);
  transform: translateY(-3px);
  border-color: #cbd5e1;
}
.xqw-stat-num {
  display: block;
  font-size: 19px; font-weight: 800; line-height: 1.1;
  color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.xqw-stat-label {
  display: block;
  color: var(--muted); font-size: 12px; font-weight: 500;
  letter-spacing: .02em;
}

.xqw-downloads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
  animation: xqwFadeUp .55s ease .42s both;
}
.xqw-dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff 0%, #fafbff 100%);
  box-shadow: 0 4px 16px rgba(15,23,42,.06);
  transition: all .25s ease;
  cursor: default;
}
.xqw-dl-card.is-clickable { cursor: pointer; }
.xqw-dl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15,23,42,.12);
  border-color: #cbd5e1;
}
.xqw-dl-icon {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #10b981;
  box-shadow: 0 4px 12px rgba(16,185,129,.2), inset 0 0 0 1px rgba(16,185,129,.15);
  margin-bottom: 12px;
}
.xqw-dl-icon::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 18px;
  border: 1px solid rgba(16,185,129,.25);
  animation: xqwRing 2.4s ease-in-out infinite;
  pointer-events: none;
}
.xqw-dl-icon.blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59,130,246,.2), inset 0 0 0 1px rgba(59,130,246,.15);
}
.xqw-dl-icon.blue::after { border-color: rgba(59,130,246,.25); }
.xqw-dl-icon.violet {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: #7c3aed;
  box-shadow: 0 4px 12px rgba(124,58,237,.2), inset 0 0 0 1px rgba(124,58,237,.15);
}
.xqw-dl-icon.violet::after { border-color: rgba(124,58,237,.25); }
.xqw-dl-title {
  font-size: 14px; font-weight: 700; color: var(--ink);
  margin-bottom: 2px;
  letter-spacing: -.005em;
}
.xqw-dl-sub {
  font-size: 11px; color: var(--muted);
  margin-bottom: 10px;
  min-height: 15px;
  line-height: 1.5;
}
.xqw-dl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  width: 100%;
  min-height: 32px; padding: 0 12px; border-radius: 8px;
  font-size: 12px; font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-d));
  box-shadow: 0 6px 16px rgba(16,185,129,.25);
  transition: all .2s ease;
  cursor: pointer;
  border: none;
  letter-spacing: .02em;
}
.xqw-dl-btn.violet {
  background: linear-gradient(135deg, var(--violet), var(--violet-d));
  box-shadow: 0 6px 16px rgba(124,58,237,.25);
}
.xqw-dl-btn.blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-d));
  box-shadow: 0 6px 16px rgba(59,130,246,.25);
}
.xqw-dl-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16,185,129,.35);
}
.xqw-dl-btn:active { transform: translateY(0); }

.xqw-dl-qr {
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(5px) scale(.96);
  opacity: 0; pointer-events: none;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 11px 11px 9px;
  box-shadow: 0 18px 44px rgba(15,23,42,.18);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 20; white-space: nowrap;
}
.xqw-dl-qr::after {
  content: ""; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: #fff;
}
.xqw-dl-qr.is-visible {
  opacity: 1; transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}
.xqw-qr-close {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(15,23,42,.08);
  color: #64748b; font-size: 12px; font-weight: 700;
  cursor: pointer; border: none;
  transition: all .2s ease;
  line-height: 1;
  z-index: 5;
}
.xqw-qr-close:hover {
  background: rgba(239,68,68,.15); color: #ef4444;
  transform: rotate(90deg);
}
.xqw-qr-img { width: 144px; height: 144px; display: block; border-radius: 4px; }
.xqw-qr-tip { margin-top: 5px; color: var(--muted); font-size: 12px; text-align: center; }

.xqw-meta {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-top: 14px;
  animation: xqwFadeUp .55s ease .52s both;
}
.xqw-meta-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
  color: #334155;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(59,130,246,.08);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: .01em;
}
.xqw-meta-tag::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(59,130,246,.06) 60%, transparent 80%);
  background-size: 300% 100%;
  animation: xqwShine 4s linear infinite;
  pointer-events: none;
}
.xqw-meta-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59,130,246,.15);
  border-color: #c7d2fe;
  color: #1e293b;
}
.xqw-meta-tag:nth-child(1) {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #a7f3d0;
  color: #065f46;
}
.xqw-meta-tag:nth-child(1):hover {
  border-color: #6ee7b7;
  box-shadow: 0 6px 16px rgba(16,185,129,.18);
}
.xqw-meta-tag:nth-child(3) {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #bfdbfe;
  color: #1e3a5f;
}
.xqw-meta-tag:nth-child(3):hover {
  border-color: #93c5fd;
  box-shadow: 0 6px 16px rgba(59,130,246,.18);
}
.xqw-meta-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 12px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.xqw-meta-text {
  position: relative;
  z-index: 1;
  letter-spacing: .01em;
}

.xqw-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}
/* ===== tcping 同款点阵地球地图（无底色、无外框） ===== */
.xqw-expo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 720px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
}
/* 老旧 WebView（不支持 aspect-ratio 时的高度兜底） */
@supports not (aspect-ratio: 1 / 1) {
  .xqw-expo { height: 480px; max-height: 66vh; }
}
.xqw-expo-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  transform-origin: 50% 50%;
}
.xqw-expo-links {
  position: absolute; inset: 6% 7% 5% 7%;
  pointer-events: none;
  z-index: 2;
  transform-origin: 50% 50%;
}
.xqw-expo { cursor: default; touch-action: pan-y; }
/* 地图区域：禁止文本选择与触摸呼出，平板/触屏拖动不再被文本选择截走 */
.xqw-expo,
.xqw-expo * {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
/* 链路标签卡纯展示，不参与任何指针交互 */
.xqw-link-card { pointer-events: none; }
/* 探测链路标签卡：绿点 + 城市A → 城市B + 蓝色时延 */
.xqw-link-card {
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(59, 130, 246, .18);
  box-shadow: 0 4px 14px rgba(15, 23, 42, .10);
  color: #0f172a;
  font-size: 11px; font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}
.xqw-link-card .xqw-link-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, .8);
  animation: xqwDot 2s ease-in-out infinite;
  flex-shrink: 0;
}
.xqw-link-card {
  opacity: 0;
  transform: translateY(8px) scale(.9);
  transition: opacity .5s ease, transform .5s cubic-bezier(.25, .46, .45, .94);
}
.xqw-link-card.is-in { opacity: 1; transform: none; }
.xqw-link-card.is-out { opacity: 0; transform: translateY(10px) scale(.85); transition-duration: .55s; }
.xqw-link-card b { font-weight: 600; }
.xqw-link-card i {
  font-style: normal;
  color: #2563eb;
  font-weight: 700;
}
/* 底部标题：位于球体下方安全位置（随视觉列排布，不与球穿插） */
.xqw-probe-caption {
  display: block;
  width: 100%;
  margin-top: 6px;
  text-align: center;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .45em;
  text-indent: .45em;
  user-select: none;
}
.xqw-visual { flex-direction: column; gap: 0; }

/* ===== 科技网格 ＋ 钓鱼社区主题背景 ===== */
.xqw-download { position: relative; }
/* 背景：无底色，仅 tcping 同款浅蓝网格；左右下边缘渐变过滤渐隐 */
.xqw-download.xqw-tech {
  background: transparent;
}
.xqw-download.xqw-tech::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(37, 99, 235, .09) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, rgba(37, 99, 235, .09) 0 1px, transparent 1px 72px);
  /* 左右边缘羽化淡出 + 底部轻淡出（双层 mask 交集） */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%),
    linear-gradient(180deg, #000 0%, #000 76%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%),
    linear-gradient(180deg, #000 0%, #000 76%, transparent 100%);
  mask-composite: intersect;
  /* 单层清爽网格（对照图），静态 */
}
/* 无波纹装饰：背景只保留网格 */
/* 深色内容自动切换：tech 背景下的文字卡片亮色不变，仅容器微调 */
.xqw-download.xqw-tech .xqw-wrap { position: relative; z-index: 1; }
/* 水波纹涟漪与鱼群装饰（由 module.js 按 tech 模式注入） */
.xqw-bg-deco {
  position: absolute; z-index: 0; pointer-events: none;
  animation: xqwDecoDrift 26s ease-in-out infinite;
}
.xqw-bg-ring {
  position: absolute; z-index: 0; pointer-events: none;
  border: 1px solid rgba(37, 99, 235, .25);
  border-radius: 50%;
  animation: xqwRipple 5.5s ease-out infinite;
}
@keyframes xqwRipple {
  0% { transform: scale(.4); opacity: .7; }
  100% { transform: scale(2.1); opacity: 0; }
}
@keyframes xqwDecoDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -10px); }
}

/* ========== 文字框样式 ========== */

/* 区块标题样式 */
.xqw-section-title { margin-top: 34px; }
.xqw-section-title h2 {
  margin: 0; font-size: 24px; font-weight: 800; color: var(--ink);
  display: inline-flex; align-items: center; gap: 12px;
  letter-spacing: -.01em;
  position: relative;
}
.xqw-section-title h2::before {
  content: ""; display: inline-block;
  width: 4px; height: 20px; border-radius: 2px;
  background: linear-gradient(180deg, var(--blue), var(--violet));
}
.xqw-section-title p {
  margin: 10px 0 0 16px; color: var(--muted); font-size: 14px;
  letter-spacing: .01em;
}

/* 功能卡片 - 扁平简约风格 */
.xqw-platforms {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 16px;
}
.xqw-platform {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.xqw-platform::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  opacity: 0;
  transition: opacity .3s ease;
}
.xqw-platform:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  border-color: #d1d5db;
}
.xqw-platform:hover::before {
  opacity: 1;
}
.xqw-pf-icon {
  flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 1;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
  box-shadow: 0 2px 8px rgba(99,102,241,.12);
  transition: transform .3s ease;
}
.xqw-platform:hover .xqw-pf-icon {
  transform: scale(1.08);
}
.xqw-platform > div { flex: 1; min-width: 0; }
.xqw-platform strong {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: #111827;
  margin-bottom: 10px;
  letter-spacing: -.005em;
  line-height: 1.4;
}
.xqw-platform p {
  margin: 0; color: #6b7280;
  font-size: 13.5px; line-height: 1.75;
  letter-spacing: .01em;
}

/* 标签文字 - 圆角胶囊风格 */
.xqw-pf-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 14px;
}
.xqw-pf-tag {
  display: inline-block; padding: 5px 12px;
  font-size: 11.5px; font-weight: 600;
  color: #64748b; background: #f3f4f6;
  border-radius: 20px;
  letter-spacing: .01em;
  transition: all .2s ease;
}
.xqw-pf-tag:hover {
  background: #e5e7eb;
  color: #374151;
  transform: translateY(-1px);
}

/* 状态标签 - 渐变填充风格 */
.xqw-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 20px;
  color: #fff; background: linear-gradient(135deg, var(--green) 0%, var(--green-d) 100%);
  font-size: 11px; font-weight: 700;
  text-decoration: none; flex-shrink: 0;
  transition: all .2s ease;
  letter-spacing: .02em;
  box-shadow: 0 2px 6px rgba(16,185,129,.3);
}
.xqw-badge::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.8);
  animation: xqwDot 1.6s ease-in-out infinite;
}
.xqw-badge:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(16,185,129,.4);
}
.xqw-badge.soon {
  background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
  box-shadow: 0 2px 6px rgba(107,114,128,.3);
}
.xqw-badge.soon::before {
  display: none;
}
.xqw-badge.soon:hover {
  box-shadow: 0 4px 10px rgba(107,114,128,.4);
}
.xqw-badge.live {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-d) 100%);
  box-shadow: 0 2px 6px rgba(16,185,129,.3);
}

/* 安装步骤 - 编号卡片风格 */
.xqw-install {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 20px;
  counter-reset: step;
}
.xqw-step {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: all .3s ease;
  counter-increment: step;
}
.xqw-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  border-color: #d1d5db;
}
.xqw-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -12px; left: 20px;
  min-width: 40px; height: 26px; padding: 0 12px;
  border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  box-shadow: 0 4px 12px rgba(99,102,241,.35);
  letter-spacing: .02em;
}
.xqw-step b {
  display: flex; align-items: center; gap: 8px;
  margin: 4px 0 12px;
  font-size: 16px; font-weight: 700; color: #111827;
  letter-spacing: -.005em;
  line-height: 1.4;
}
.xqw-step b::after {
  content: "";
  flex: 1; height: 1px;
  background: linear-gradient(90deg, #e5e7eb, transparent);
  transform: scaleX(0.3);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.xqw-step:hover b::after {
  transform: scaleX(1);
}
.xqw-step span {
  display: block;
  color: #6b7280; font-size: 13.5px; line-height: 1.8;
  letter-spacing: .01em;
}

/* 步骤高亮 - 渐变边框风格 */
.xqw-step-highlight {
  margin-top: 14px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
  font-size: 13px; font-weight: 600;
  color: #4f46e5;
  letter-spacing: .01em;
  position: relative;
  overflow: hidden;
}
.xqw-step-highlight::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.1));
  pointer-events: none;
}

/* 底部提示 - 文字框卡片（点击回到顶部） */
.xqw-note {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 16px;
  margin-top: 18px; padding: 18px 22px 16px;
  border: 1.5px solid #c8b8f5;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f0ff 100%);
  box-shadow: 0 10px 26px rgba(124, 58, 237, .22), 0 3px 10px rgba(15, 23, 42, .10);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* 顶部蓝紫渐变饰条，强化"框"感 */
.xqw-note::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, #818cf8 0%, #a78bfa 50%, #f0abfc 100%);
}
.xqw-note:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(124, 58, 237, .28), 0 4px 12px rgba(15, 23, 42, .12);
  border-color: #a78bfa;
}
  border: 1px solid #ddd6fe;
  border-radius: 16px;
  background: linear-gradient(135deg, #faf5ff 0%, #f0f4ff 100%);
  box-shadow: 0 8px 24px rgba(139,92,246,.18), 0 2px 8px rgba(15,23,42,.08);
  font-size: 13.5px; line-height: 1.85;
  color: #1e2a4a;
  letter-spacing: .01em;
}
.xqw-note::before {
  content: ""; position: absolute;
  top: -50px; right: -50px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.12), transparent 70%);
  pointer-events: none;
}
.xqw-note-icon {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  box-shadow: 0 6px 16px rgba(99,102,241,.35);
  animation: xqwGlow 3s ease-in-out infinite;
}
.xqw-note-body { flex: 1; }
.xqw-note-body strong {
  display: block; margin-bottom: 6px;
  font-size: 15.5px; font-weight: 700; color: #1e2a4a;
  letter-spacing: -.005em;
  line-height: 1.4;
}
.xqw-note-body p { margin: 0; color: #64748b; font-size: 13.5px; line-height: 1.8; }
.xqw-note-domain {
  display: inline-block; margin-top: 4px;
  padding: 3px 10px; border-radius: 6px;
  background: rgba(99,102,241,.12); color: #6366f1;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .02em;
  border: 1px solid rgba(99,102,241,.2);
}
.xqw-note-arrow {
  flex-shrink: 0;
  color: #6366f1; font-size: 20px; font-weight: 700;
  animation: xqwFloat 2.4s ease-in-out infinite;
}

.xqw-modal-mask {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15, 23, 42, .6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.xqw-modal-mask.is-open {
  opacity: 1; pointer-events: auto;
}
.xqw-modal {
  width: 100%; max-width: 560px;
  background: linear-gradient(145deg, #ffffff 0%, #fafbff 100%);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .3);
  overflow: hidden;
  transform: scale(.94) translateY(16px);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.xqw-modal-mask.is-open .xqw-modal {
  transform: scale(1) translateY(0);
}
.xqw-modal-head {
  position: relative;
  padding: 22px 24px 20px;
  background: linear-gradient(135deg, #f8faff 0%, #f5f3ff 100%);
  border-bottom: 1px solid #e2e8f0;
}
.xqw-modal-head h3 {
  margin: 0; padding-right: 36px;
  font-size: 18px; font-weight: 800; color: #111827;
  display: flex; align-items: center; gap: 10px;
  letter-spacing: -.01em;
}
.xqw-modal-head h3 img {
  width: 28px; height: 28px; border-radius: 7px; object-fit: cover;
  background: #fff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .1);
}
.xqw-modal-head p {
  margin: 6px 0 0 38px; font-size: 13px; color: #6b7280; line-height: 1.6;
  letter-spacing: .01em;
}
.xqw-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(15, 23, 42, .06);
  color: #4b5563; font-size: 16px; font-weight: 700;
  cursor: pointer; border: none;
  transition: all .2s ease;
  line-height: 1;
}
.xqw-modal-close:hover {
  background: rgba(239, 68, 68, .12); color: #ef4444;
  transform: rotate(90deg);
}
.xqw-modal-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px; padding: 24px;
  align-items: center;
}
.xqw-modal-qr {
  text-align: center;
  padding: 12px;
  background: linear-gradient(135deg, #f8faff, #f5f3ff);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.xqw-modal-qr canvas,
.xqw-modal-qr img {
  width: 172px; height: 172px;
  display: block; margin: 0 auto;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
}
.xqw-modal-qr-img {
  width: 172px; height: 172px;
  display: block; margin: 0 auto;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
}
.xqw-modal-qr-tip {
  margin-top: 8px; color: #475569; font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
}
.xqw-modal-qr-link {
  display: block; margin-top: 4px;
  color: #94a3b8; font-size: 11px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  word-break: break-all;
}
.xqw-modal-extra-img {
  display: block; width: 100%; margin-top: 8px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.xqw-modal-options {
  display: flex; flex-direction: column; gap: 10px;
}
.xqw-modal-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0; border-radius: 12px;
  background: linear-gradient(145deg, #ffffff 0%, #fafbff 100%);
  text-decoration: none; color: inherit;
  transition: all .2s ease;
  position: relative;
  cursor: pointer;
}
.xqw-modal-opt:hover {
  border-color: var(--blue);
  background: linear-gradient(135deg, #f3f7ff 0%, #ede9fe 100%);
  transform: translateX(2px);
  box-shadow: 0 6px 14px rgba(59, 130, 246, .15);
}
.xqw-modal-opt-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.xqw-modal-opt-icon.android { background: linear-gradient(135deg, #ecfdf5, #d1fae5); color: #10b981; }
.xqw-modal-opt-icon.ios { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: #475569; }
.xqw-modal-opt-icon.harmony { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.xqw-modal-opt-text { flex: 1; min-width: 0; }
.xqw-modal-opt-text strong {
  display: flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 700; color: #111827;
  margin-bottom: 3px;
  letter-spacing: -.005em;
}
.xqw-modal-opt-text small {
  display: block;
  font-size: 12px; color: #6b7280; line-height: 1.55;
  letter-spacing: .01em;
}
.xqw-modal-opt-text small code {
  display: inline-block;
  padding: 1px 6px; border-radius: 4px;
  background: #f1f5f9; color: #475569;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
}
.xqw-modal-opt-arrow {
  color: #94a3b8; font-size: 14px; font-weight: 700;
  transition: all .2s ease;
  flex-shrink: 0;
}
.xqw-modal-opt:hover .xqw-modal-opt-arrow {
  color: var(--blue); transform: translateX(3px);
}
.xqw-modal-opt.disabled {
  opacity: .55; cursor: not-allowed; pointer-events: none;
  background: #fafbfc;
}
.xqw-modal-opt.disabled .xqw-modal-opt-arrow { color: #cbd5e1; }

.xqw-modal-foot {
  padding: 12px 22px 18px;
  border-top: 1px dashed #e2e8f0;
  text-align: center;
  color: #94a3b8; font-size: 12px;
  letter-spacing: .01em;
}
.xqw-modal-foot b { color: #475569; font-weight: 700; }

body.xqw-locked { overflow: hidden; }

@media (max-width: 920px) {
  .xqw-wrap { padding: 24px 14px 28px; }
  .xqw-hero { grid-template-columns: 1fr; min-height: auto; gap: 24px; align-items: center; }
  .xqw-copy { justify-content: flex-start; padding: 0; }
  .xqw-title { margin-top: 22px; font-size: clamp(28px, 8.5vw, 40px); line-height: 1.16; }
  .xqw-desc { margin-top: 16px; font-size: 14.5px; line-height: 1.75; }
  .xqw-downloads { grid-template-columns: 1fr; gap: 10px; }
  .xqw-stats { grid-template-columns: 1fr; }
  .xqw-meta { margin-top: 16px; gap: 8px; }
  .xqw-expo { width: min(330px, 76vw); max-height: 500px; }
  .xqw-visual { align-items: center; }
  .xqw-section-title { margin-top: 36px; }
  .xqw-section-title h2 { font-size: 19px; }
  .xqw-section-title p { display: none; }
  .xqw-platforms { grid-template-columns: 1fr; }
  .xqw-install { grid-template-columns: 1fr; }
  .xqw-note { flex-direction: column; align-items: flex-start; padding: 16px; }
  .xqw-note-arrow { display: none; }

  .xqw-modal-body { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
  .xqw-modal-qr canvas,
  .xqw-modal-qr img { width: 152px; height: 152px; }
  .xqw-modal-head { padding: 18px 18px 16px; }
  .xqw-modal-head p { margin-left: 0; }
}
@media (max-width: 420px) {
  .xqw-title { font-size: 26px; }
  .xqw-expo { width: min(260px, 72vw); }
}
/* 推荐角标 - 丝带风格 */
.xqw-recommend-ribbon {
  position: absolute;
  top: 1px;
  right: -1px;
  width: 50px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  transform: rotate(0deg);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(239, 68, 68, .35);
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
  overflow: hidden;
}
.xqw-recommend-ribbon::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: xqwRibbonShine 2.5s ease-in-out infinite;
}
@keyframes xqwRibbonShine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}
.xqw-dl-card:hover .xqw-recommend-ribbon {
  box-shadow: 0 6px 20px rgba(239, 68, 68, .5);
}
