/* ============================================================
   7Tan AI 工具下载页  /ai-tool/
   ------------------------------------------------------------
   依赖 /css/home.css（变量、navbar、btn、feature-card、footer）
   本文件只放本页专属样式，全部类名以 .ait- 前缀，避免影响全站
   ============================================================ */

/* ---------- Hero ---------- */
.ait-hero-text { min-width: 0; }   /* 允许栅格收缩，防止长串英文/URL 溢出 */

/* 语言切换器里的语言名（renderLangSwitch 输出的全站通用类，home.css 未定义）*/
.lg-name { white-space: nowrap; }

.ait-hero {
  position: relative;
  padding: 132px 0 64px;
  overflow: hidden;
}
.ait-hero .glow-green { top: -260px; right: -180px; }
.ait-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.ait-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.ait-brand img {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(var(--ink-rgb), 0.090);
  border: 1px solid rgba(var(--ink-rgb), 0.144);
  padding: 4px;
}
.ait-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-light);
  letter-spacing: 0.5px;
}
.ait-badge-free {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  padding: 3px 12px;
  border-radius: 50px;
}
.ait-hero h1 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}
.ait-hero h1 .highlight {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ait-hero-sub {
  color: var(--gray-light);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 560px;
}
.ait-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero 右侧：主截图 */
.ait-hero-shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb), 0.144);
  box-shadow: 0 40px 90px rgba(31, 41, 55, 0.15), 0 0 60px rgba(var(--accent-rgb), 0.08);
  background: var(--dark3);
}
.ait-hero-shot img { width: 100%; display: block; }
.ait-hero-shot .ait-dots {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ait-hero-shot .ait-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: block;
}
.ait-hero-shot .ait-dots i:first-child { background: #ff5f57; }
.ait-hero-shot .ait-dots i:nth-child(2) { background: #febc2e; }
.ait-hero-shot .ait-dots i:nth-child(3) { background: #28c840; }

/* ---------- 元信息行 ---------- */
.ait-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--gray);
}
.ait-meta-row b { color: var(--gray-light); font-weight: 600; }

/* ---------- 下载卡片区 ---------- */
.ait-dl-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  margin-top: 44px;
}
.ait-dl-main {
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.10), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.ait-dl-main h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.ait-dl-main .ait-dl-ver {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}
.ait-dl-side {
  background: rgba(238, 243, 255, 0.6);
  border: 1px solid rgba(var(--ink-rgb), 0.108);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.ait-dl-side h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.ait-links { display: flex; flex-direction: column; gap: 10px; }
.ait-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--gray-light);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: rgba(var(--ink-rgb), 0.054);
  border: 1px solid transparent;
  transition: all 0.2s;
}
.ait-links a:hover {
  color: var(--green);
  border-color: rgba(var(--accent-rgb), 0.25);
  background: rgba(var(--accent-rgb), 0.06);
}
.ait-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.8;
}

/* ---------- 步骤 ---------- */
.ait-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.ait-step {
  background: linear-gradient(145deg, rgba(238, 243, 255, 0.8), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(var(--ink-rgb), 0.108);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.ait-step .ait-step-no {
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.ait-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.ait-step p { color: var(--gray); font-size: 14px; line-height: 1.7; }
.ait-step code {
  font-family: Consolas, Monaco, monospace;
  font-size: 12.5px;
  background: rgba(var(--ink-rgb), 0.126);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--green-light);
}

/* ---------- 截图画廊（单图轮播 · 左右翻看） ---------- */
.ait-gallery-wrap { position: relative; }
.ait-car {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px 0;
}
.ait-car-viewport { position: relative; }
.ait-gallery-track { display: block; }
.ait-shot { display: none; }
.ait-shot.is-active { display: block; animation: aitCarIn 0.32s ease; }
@keyframes aitCarIn {
  from { transform: translateY(10px); }
  to   { transform: none; }
}
.ait-shot .ait-shot-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb), 0.144);
  box-shadow: 0 18px 46px rgba(31, 41, 55, 0.13);
  background: var(--dark3);
  cursor: zoom-in;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.ait-shot .ait-shot-box:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 26px 60px rgba(31, 41, 55, 0.15), 0 0 30px rgba(var(--accent-rgb), 0.1);
}
.ait-shot img { width: 100%; display: block; }
.ait-shot-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.52);
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.ait-shot-zoom svg { display: block; width: 16px; height: 16px; }
.ait-shot .ait-shot-box:hover .ait-shot-zoom { opacity: 1; }
.ait-shot-label {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-light);
}
/* 左右翻看按钮（与灯箱按钮同款） */
.ait-car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #0b0b14;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(31, 41, 55, 0.17);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background 0.18s, color 0.18s, transform 0.18s, border-color 0.18s;
}
.ait-car-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}
.ait-car-btn:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }
.ait-car-prev { left: 42px; }
.ait-car-next { right: 42px; }
.ait-car-prev:hover,
.ait-car-next:hover { transform: translateY(-50%) scale(1.08); }
/* 底部：圆点 + 计数 */
.ait-car-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
}
.ait-car-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}
.ait-car-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.ait-car-dot:hover { background: rgba(255, 255, 255, 0.45); }
.ait-car-dot.on { background: var(--green); transform: scale(1.35); }
.ait-car-bar {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
  letter-spacing: 0.5px;
  background: rgba(var(--ink-rgb), 0.108);
  border: 1px solid rgba(var(--ink-rgb), 0.144);
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- FAQ ---------- */
.ait-faq { max-width: 860px; margin: 44px auto 0; }
.ait-faq details {
  background: linear-gradient(145deg, rgba(238, 243, 255, 0.7), rgba(255, 255, 255, 0.5));
  border: 1px solid rgba(var(--ink-rgb), 0.108);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.ait-faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--white);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ait-faq summary::-webkit-details-marker { display: none; }
.ait-faq summary::before {
  content: '+';
  color: var(--green);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.ait-faq details[open] summary::before { content: '−'; }
.ait-faq .ait-faq-body {
  padding: 0 22px 20px 50px;
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.85;
}

/* ---------- 灯箱 ---------- */
.ait-lb {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 8, 0.94);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.ait-lb.open { display: flex; }
.ait-lb-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 84px;
  pointer-events: none;          /* 点击穿透到遮罩 → 关闭 */
}
.ait-lb-stage img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 40px 100px rgba(31, 41, 55, 0.20);
}
.ait-lb-btn {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background 0.18s, color 0.18s, transform 0.18s, opacity 0.18s;
}
.ait-lb-btn:hover { background: var(--green); color: #ffffff; }
.ait-lb-btn:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }
.ait-lb-btn[disabled] { opacity: 0.28; cursor: default; }
.ait-lb-btn[disabled]:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.ait-lb-close { top: 22px; right: 22px; font-size: 20px; }
.ait-lb-prev  { left: 22px; top: 50%; transform: translateY(-50%); }
.ait-lb-next  { right: 22px; top: 50%; transform: translateY(-50%); }
.ait-lb-prev:hover,
.ait-lb-next:hover { transform: translateY(-50%) scale(1.08); }
.ait-lb-bar {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.45);
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- 内置网页版 ---------- */
.ait-web {
  position: relative;
  padding: 76px 0;
  overflow: hidden;
}
.ait-web .glow-green { bottom: -280px; left: -180px; }
.ait-web-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 26px;
  margin-top: 34px;
  align-items: start;
}
.ait-web-card {
  min-width: 0;
  background: rgba(var(--ink-rgb), 0.054);
  border: 1px solid rgba(var(--ink-rgb), 0.144);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.ait-web-addr-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.ait-web-addr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px dashed rgba(var(--accent-rgb), 0.38);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.ait-web-addr code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  color: var(--green-light);
  letter-spacing: 0.3px;
  word-break: break-all;
}
.ait-web-copy {
  margin-left: auto;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--green-light);
  font-size: 13px;
  padding: 7px 15px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.ait-web-copy:hover,
.ait-web-copy.done { background: var(--green); color: #ffffff; }
.ait-web-note {
  margin-top: 14px;
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.8;
}
.ait-web-shot { margin-top: 18px; }
.ait-web-shot .ait-shot-box {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb), 0.144);
  box-shadow: 0 18px 46px rgba(31, 41, 55, 0.13);
  cursor: zoom-in;
  transition: border-color 0.3s;
}
.ait-web-shot .ait-shot-box:hover { border-color: rgba(var(--accent-rgb), 0.3); }
.ait-web-shot img { width: 100%; height: auto; display: block; }
.ait-web-points { display: flex; flex-direction: column; gap: 16px; }
.ait-web-point {
  display: flex;
  gap: 14px;
  background: rgba(var(--ink-rgb), 0.054);
  border: 1px solid rgba(var(--ink-rgb), 0.126);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.ait-web-point .ico { font-size: 22px; line-height: 1.25; flex: 0 0 auto; }
.ait-web-point h3 { font-size: 16.5px; margin: 0 0 6px; color: var(--white); }
.ait-web-point p { margin: 0; color: var(--gray); font-size: 14px; line-height: 1.75; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .ait-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .ait-hero { padding: 116px 0 56px; }
  .ait-dl-grid { grid-template-columns: 1fr; }
  .ait-steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ait-hero { padding: 92px 0 40px; }
  .ait-hero h1 { font-size: 30px; }
  .ait-hero-sub { font-size: 15px; }
  .ait-hero-btns .btn-primary,
  .ait-hero-btns .btn-secondary { padding: 13px 26px; font-size: 15px; }
  .ait-car { padding: 6px 22px 0; }
  .ait-car-btn {
    width: 36px; height: 36px; font-size: 19px;
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(31, 41, 55, 0.14);
  }
  .ait-car-prev { left: -18px; }
  .ait-car-next { right: -18px; }
  .ait-car-dot { width: 7px; height: 7px; }
  .ait-car-foot { margin-top: 12px; gap: 8px 12px; }
  .ait-car-bar { font-size: 12.5px; padding: 3px 12px; }
  .ait-dl-main { padding: 26px 20px; }
  .ait-dl-side { padding: 22px 18px; }
  .ait-faq .ait-faq-body { padding-left: 24px; }
}
@media (max-width: 480px) {
  .ait-brand img { width: 52px; height: 52px; }
  .ait-car { padding: 4px 18px 0; }
  .ait-car-btn {
    width: 32px; height: 32px; font-size: 17px;
    background: rgba(255, 255, 255, 0.74);
  }
  .ait-car-prev { left: -16px; }
  .ait-car-next { right: -16px; }
}

/* ---------- 新增板块 / 灯箱：响应式 ---------- */
@media (max-width: 1024px) {
  .ait-web-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ait-web { padding: 54px 0; }
  .ait-web-card { padding: 22px 18px; }
  .ait-web-addr { padding: 12px 14px; }
  .ait-web-addr code { font-size: 15px; }
  .ait-web-copy { margin-left: 0; }
  .ait-web-point { padding: 16px 16px; gap: 12px; }
  .ait-lb { padding: 12px; }
  .ait-lb-stage { padding: 66px 58px; }
  .ait-lb-btn { width: 44px; height: 44px; font-size: 22px; }
  .ait-lb-close { top: 14px; right: 14px; font-size: 17px; }
  .ait-lb-prev { left: 10px; }
  .ait-lb-next { right: 10px; }
  .ait-lb-bar { bottom: 14px; font-size: 12.5px; padding: 4px 13px; }
}
@media (max-width: 480px) {
  .ait-lb-stage { padding: 62px 52px; }
  .ait-lb-btn { width: 38px; height: 38px; font-size: 19px; }
}

/* ---------- GitHub 开源 / 分流 ---------- */
.ait-btn-gh svg { width: 18px; height: 18px; }
.ait-gh-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.ait-gh-all {
  font-size: 13.5px;
  color: var(--gray);
  border-bottom: 1px dashed rgba(var(--ink-rgb), 0.180);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.ait-gh-all:hover { color: var(--green); border-color: var(--green); }
.ait-note.ait-gh-tip { margin-top: 12px; }

/* 杀毒软件冲突提示（AI 需要系统权限，安全软件常误拦） */
.ait-note.ait-av-tip {
  margin-top: 14px;
  color: #8A5A00;
  background: rgba(138, 90, 0, 0.10);
  border-left: 3px solid #E8A22B;
  border-radius: 6px;
  padding: 10px 14px;
  line-height: 1.75;
}
.ait-gh-sec { padding-top: 0; }
.ait-gh-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}
.ait-gh-card {
  display: block;
  min-width: 0;
  background: rgba(var(--ink-rgb), 0.054);
  border: 1px solid rgba(var(--ink-rgb), 0.144);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.ait-gh-card:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.05);
  transform: translateY(-3px);
}
.ait-gh-card .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  color: var(--green-light);
  margin-bottom: 16px;
}
.ait-gh-card .ico svg { width: 22px; height: 22px; }
.ait-gh-card h3 { font-size: 18px; margin: 0 0 8px; color: var(--white); }
.ait-gh-card p { margin: 0 0 14px; color: var(--gray); font-size: 14px; line-height: 1.75; }
.ait-gh-card code {
  display: inline-block;
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--green-light);
  background: rgba(0, 0, 0, 0.42);
  border: 1px dashed rgba(var(--accent-rgb), 0.32);
  border-radius: 999px;
  padding: 6px 14px;
}
.ait-gh-tip2 {
  margin: 26px auto 0;
  max-width: 780px;
  text-align: center;
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.85;
  word-break: break-word;
}
.ait-gh-tip2 a { color: var(--green-light); word-break: break-all; }
@media (max-width: 768px) {
  .ait-gh-cards { grid-template-columns: 1fr; gap: 16px; }
  .ait-gh-card { padding: 22px 20px; }
  .ait-gh-row { gap: 10px; }
  .ait-gh-tip2 { font-size: 13px; }
}
/* ================= 手机版（安卓 7Tan 管理器） ================= */
.ait-m-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:38px; align-items:start; }
.ait-m-card, .ait-m-dl { background:#FFFFFF; border:1px solid var(--border); border-radius:var(--radius); padding:28px 26px; }
.ait-m-card h3 { font-size:18px; margin:0 0 14px; }
.ait-m-list { list-style:none; display:flex; flex-direction:column; gap:14px; }
.ait-m-list li { position:relative; padding-left:26px; font-size:14.5px; color:var(--gray); line-height:1.7; }
.ait-m-list li::before { content:'\2713'; position:absolute; left:0; top:1px; color:var(--green); font-weight:800; }
.ait-m-list b { display:block; color:var(--gray-light); font-weight:700; }
.ait-m-dl { border-color:rgba(var(--accent-rgb),.35); box-shadow:0 14px 34px rgba(31,41,55,.07); }
.ait-m-tag { display:inline-block; font-size:12px; font-weight:700; color:var(--green); background:rgba(var(--accent-rgb),.10); border:1px solid rgba(var(--accent-rgb),.25); border-radius:999px; padding:3px 12px; margin-bottom:12px; }
.ait-m-dl h3 { font-size:20px; margin:0 0 12px; }
.ait-m-ver { color:var(--green); }
.ait-m-meta { display:flex; flex-wrap:wrap; gap:8px 20px; margin:0 0 18px; font-size:13.5px; color:var(--gray); }
.ait-m-meta b { color:var(--gray-light); font-weight:600; }
.ait-m-btn { width:100%; justify-content:center; text-align:center; }
.ait-m-md5 { font-family:ui-monospace, Consolas, monospace; font-size:12px; color:var(--gray); word-break:break-all; }
.ait-m-steps-title { font-size:20px; font-weight:800; text-align:center; margin:46px 0 0; }
.ait-m-steps { grid-template-columns:repeat(5, 1fr); }
.ait-m-steps .ait-step { padding:20px 16px; }
@media (max-width:1024px){ .ait-m-grid { grid-template-columns:1fr; } .ait-m-steps { grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .ait-m-steps { grid-template-columns:1fr; } }

/* ---------- 使用教程（/ai-tool/#tutorials，2026-11-20 新增） ---------- */
.ait-tut-list { display:flex; flex-direction:column; gap:12px; margin:28px 0 0; }
.ait-tut-item {
  display:flex; align-items:center; gap:14px; padding:15px 20px;
  background:#FFFFFF; border:1px solid var(--border); border-radius:var(--radius);
  text-decoration:none; color:inherit;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ait-tut-item:hover {
  transform:translateX(3px); box-shadow:0 8px 20px rgba(var(--ink-rgb), .08);
  border-color:rgba(var(--accent-rgb), .45);
}
.ait-tut-no { flex:0 0 auto; min-width:62px; font-size:12px; font-weight:700; letter-spacing:.4px; color:var(--green); }
.ait-tut-title { flex:1 1 auto; min-width:0; overflow-wrap:break-word; font-size:15.5px; line-height:1.55; font-weight:600; }
.ait-tut-badge {
  flex:0 0 auto; padding:3px 10px; border-radius:999px;
  font-size:12px; font-weight:700; color:var(--green);
  background:rgba(var(--accent-rgb), .09); border:1px solid rgba(var(--accent-rgb), .18);
}
.ait-tut-arrow { flex:0 0 auto; color:var(--green); font-size:15px; line-height:1; opacity:.75; transition:transform .18s ease, opacity .18s ease; }
.ait-tut-item:hover .ait-tut-arrow { opacity:1; transform:translateX(2px); }
.ait-tut-more { margin:24px 0 0; text-align:center; }
.ait-tut-more a { font-size:14.5px; font-weight:600; color:var(--green); text-decoration:none; }
.ait-tut-more a:hover { text-decoration:underline; }
@media (max-width:640px){
  .ait-tut-item { flex-wrap:wrap; gap:8px 12px; padding:14px 16px; }
  .ait-tut-title { flex:1 1 100%; order:3; font-size:15px; }
  .ait-tut-badge { margin-left:auto; order:2; }
  .ait-tut-arrow { display:none; }
}
