/* AI 爱好分享 - 站点样式 v2（深色科技主题）
   纯静态、无外部依赖，字体使用系统字体栈 */

:root {
  --bg: #060912;
  --bg-2: #0a0f1c;
  --card: #0e1626;
  --card-2: #121b2d;
  --text: #e8eef9;
  --muted: #93a3bd;
  --muted-2: #6b7c96;
  --border: rgba(120, 160, 220, .16);
  --border-strong: rgba(120, 190, 255, .28);
  --accent: #22d3ee;
  --accent-2: #8b5cf6;
  --accent-soft: rgba(34, 211, 238, .10);
  --gold: #d9b47a;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .28);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 12% -6%, rgba(34, 211, 238, .13), transparent 62%),
    radial-gradient(760px 560px at 96% 8%, rgba(139, 92, 246, .14), transparent 62%),
    linear-gradient(180deg, #070b15 0%, #060912 52%, #05070f 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(110, 170, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 170, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 9, 18, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--text);
  letter-spacing: .2px;
}
.brand:hover { text-decoration: none; }

.brand .logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121a;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .5px;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .35), 0 6px 22px rgba(34, 211, 238, .28);
}

.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }

.site-nav a {
  color: var(--muted);
  padding: 6px 13px;
  border-radius: 10px;
  font-size: 14.5px;
  transition: color .18s ease, background .18s ease;
}
.site-nav a:hover { background: rgba(34, 211, 238, .08); color: var(--accent); text-decoration: none; }
.site-nav a.active { color: #c9f5ff; background: rgba(34, 211, 238, .12); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .22); }

/* ---------- 首页头部 ---------- */
.hero {
  padding: 62px 0 30px;
  position: relative;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, .26);
  background: rgba(34, 211, 238, .07);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
}
.hero .eyebrow i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .12), 0 0 12px var(--accent);
  display: inline-block;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.3;
  letter-spacing: -.6px;
  background: linear-gradient(120deg, #ffffff 18%, #a8e6ff 52%, #bda4ff 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 720px;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

.tag {
  font-size: 12.5px;
  color: #a9e9f7;
  background: rgba(34, 211, 238, .07);
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 999px;
  padding: 3px 12px;
}
.tag.purple { color: #cbb9ff; background: rgba(139, 92, 246, .10); border-color: rgba(139, 92, 246, .26); }

/* ---------- 新上架 Banner ---------- */
.banner {
  margin: 26px 0 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(34, 211, 238, .08);
  isolation: isolate;
}
.banner img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center;
}
.banner .banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 16, .92) 0%, rgba(5, 8, 16, .62) 42%, rgba(5, 8, 16, .12) 78%),
    linear-gradient(180deg, rgba(5, 8, 16, .1) 55%, rgba(5, 8, 16, .82) 100%);
}
.banner .banner-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 34px;
  gap: 12px;
}
.banner .flag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: #ffe6b8;
  background: rgba(217, 180, 122, .14);
  border: 1px solid rgba(217, 180, 122, .38);
  border-radius: 999px;
  padding: 3px 11px;
}
.banner h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: -.3px;
  max-width: 560px;
  color: #f3f8ff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .6);
}
.banner p {
  margin: 0;
  color: #b7c7df;
  font-size: 14.5px;
  max-width: 520px;
}
.banner .banner-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  color: #04121a;
  background: linear-gradient(135deg, #67e8f9, #22d3ee 55%, #7dd3fc);
  box-shadow: 0 10px 26px rgba(34, 211, 238, .3);
}
.btn-ghost {
  color: #cfe0f5;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- AI Code 专区 ---------- */
.code-section {
  margin: 56px 0 10px;
  padding: 34px 30px 30px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(1200px 420px at 8% -30%, rgba(34, 211, 238, .10), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(139, 92, 246, .10), transparent 62%),
    linear-gradient(180deg, rgba(18, 27, 45, .72), rgba(11, 17, 30, .72));
  box-shadow: var(--shadow);
}

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head .kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.section-head h2 { margin: 0; font-size: 24px; letter-spacing: -.3px; }
.section-head .desc { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; max-width: 560px; }

.platform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 22px;
}
.platform-tabs a, .platform-tabs span {
  font-size: 13px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
  transition: all .16s ease;
}
.platform-tabs a:hover, .platform-tabs .on {
  color: #c9f5ff;
  border-color: rgba(34, 211, 238, .4);
  background: rgba(34, 211, 238, .1);
  text-decoration: none;
}
.platform-tabs span.dim { color: var(--muted-2); border-style: dashed; }

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, .34);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .42), 0 0 0 1px rgba(34, 211, 238, .14);
}
.tool-card .cover {
  aspect-ratio: 16 / 9;
  height: auto; position: relative; }
.tool-card .cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tool-card .cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 16, 28, .92) 100%);
}
.tool-card .body { padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tool-card h3 { margin: 0; font-size: 18px; letter-spacing: -.2px; }
.tool-card h3 a { color: var(--text); }
.tool-card h3 a:hover { color: var(--accent); text-decoration: none; }
.tool-card .sub { font-size: 12.5px; color: var(--muted-2); font-family: var(--mono); letter-spacing: .06em; }
.tool-card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }

.badge-row { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  font-size: 11.5px;
  padding: 2px 9px;
  border-radius: 7px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
}
.badge.on { color: #b6f2ff; border-color: rgba(34, 211, 238, .34); background: rgba(34, 211, 238, .09); }
.badge.soon { color: #ffd9a8; border-color: rgba(217, 180, 122, .3); border-style: dashed; }
.badge.ai { color: #d8c8ff; border-color: rgba(139, 92, 246, .34); background: rgba(139, 92, 246, .1); }

.tool-card .enter {
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--accent);
}
.tool-card .enter:hover { text-decoration: none; }

.code-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted-2);
  border-top: 1px dashed var(--border);
  padding-top: 14px;
  line-height: 1.8;
}

/* ---------- 主体布局 ---------- */
main { padding: 46px 0 24px; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 30px;
  align-items: start;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
}
.section-title h2 { margin: 0; font-size: 20px; }
.section-title .more { font-size: 13.5px; color: var(--muted); }

/* ---------- 文章卡片 ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(262px, 1fr));
  gap: 18px;
}

.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, .28);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .38);
}

.post-card h3 { margin: 0; font-size: 16.5px; line-height: 1.55; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--accent); text-decoration: none; }

.post-card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }

.post-meta { font-size: 12.5px; color: var(--muted-2); display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 侧栏 ---------- */
.side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.side-card h3 { margin: 0 0 10px; font-size: 14.5px; color: #d6e4f7; }
.side-card p { margin: 0 0 8px; font-size: 13.8px; color: var(--muted); }
.side-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13.6px; }
.side-card li { margin-bottom: 6px; }
.side-card li:last-child { margin-bottom: 0; }

/* ---------- 版权说明 ---------- */
.legal {
  margin: 52px 0 20px;
  padding: 30px 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(14, 22, 38, .7), rgba(9, 14, 25, .7));
  box-shadow: var(--shadow);
}
.legal h2 { margin: 0 0 6px; font-size: 19px; }
.legal .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--accent-2); text-transform: uppercase; }
.legal ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); font-size: 13.8px; line-height: 1.85; }
.legal li { margin-bottom: 7px; }
.legal strong { color: #cfdcef; font-weight: 600; }

/* ---------- 工具详情页 ---------- */
.tool-hero {
  margin-top: 30px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  position: relative;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .45);
}
.tool-hero img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.tool-hero .tool-hero-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 7, 14, .42) 0%, rgba(4, 7, 14, .82) 58%, rgba(4, 7, 14, .95) 100%);
}
.tool-hero.is-screenshot { background: linear-gradient(180deg, #0b1220 0%, #0a0f1c 100%); }
.tool-hero.is-screenshot .tool-hero-overlay { display: none; }
.tool-hero.is-screenshot .tool-hero-inner {
  position: static;
  padding: 22px 26px 26px;
  border-top: 1px solid var(--border);
}
.tool-hero.is-screenshot h1 { font-size: 26px; }

.tool-hero .tool-hero-inner {
  position: absolute; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  padding: 26px 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.tool-hero h1 { margin: 0; font-size: 30px; letter-spacing: -.4px; }
.tool-hero .tagline { margin: 0; color: #b5c6dd; font-size: 14.5px; max-width: 620px; }

.tool-body { max-width: 1000px; margin: 0 auto; padding: 34px 0 10px; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 26px;
}
.fact {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  padding: 12px 14px;
}
.fact dt { font-size: 11.5px; letter-spacing: .08em; color: var(--muted-2); font-family: var(--mono); text-transform: uppercase; }
.fact dd { margin: 4px 0 0; font-size: 14.5px; color: var(--text); }

.spec {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.spec h2 {
  margin: 0 0 12px;
  font-size: 19px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  line-height: 1.4;
}
.spec h3 { margin: 20px 0 8px; font-size: 15.5px; color: #cfe0f5; }
.spec p { margin: 0 0 14px; color: #cdd9ea; font-size: 15px; }
.spec ul { margin: 0 0 14px; padding-left: 22px; color: #cdd9ea; font-size: 14.8px; }
.spec li { margin-bottom: 6px; }
.spec code {
  background: rgba(120, 170, 255, .1);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 13.5px;
  font-family: var(--mono);
  color: #a6e9ff;
}
.shot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 6px 0 4px; }
.shot-grid figure { margin: 0; }
.shot-grid img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--border); }
.shot-grid figcaption { margin-top: 6px; font-size: 12.5px; color: var(--muted-2); text-align: center; }

.download-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, .24);
  background: rgba(34, 211, 238, .06);
  margin: 6px 0 10px;
}
.download-box .meta { font-size: 13px; color: var(--muted); }
.hash { font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); word-break: break-all; }

.copyright-note {
  margin: 20px 0 0;
  font-size: 12.8px;
  color: var(--muted-2);
  line-height: 1.85;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}

/* ---------- 文章正文 ---------- */
.article { max-width: 780px; }

.article-header { margin-bottom: 24px; }
.article-header h1 { margin: 0 0 12px; font-size: 28px; line-height: 1.42; letter-spacing: -.3px; }

.article-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--shadow);
  color: #dfe8f5;
}
.article-body h2 {
  margin: 32px 0 12px;
  font-size: 19.5px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  line-height: 1.5;
  color: #eef5ff;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 24px 0 8px; font-size: 16.5px; color: #e6efff; }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 24px; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote {
  margin: 0 0 16px;
  padding: 12px 18px;
  background: rgba(120, 170, 255, .07);
  border-left: 3px solid rgba(139, 92, 246, .55);
  border-radius: 0 8px 8px 0;
  color: #c6d4e8;
}
.article-body code {
  background: rgba(120, 170, 255, .1);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 14px;
  font-family: var(--mono);
  color: #a6e9ff;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14.5px; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.article-body th { background: rgba(120, 170, 255, .07); }

.back-link { display: inline-block; margin-top: 22px; font-size: 14px; }

/* ---------- 关于页 ---------- */
.page-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--shadow);
  max-width: 840px;
  color: #dfe8f5;
}
.page-card h1 { margin: 0 0 8px; font-size: 26px; color: #f2f8ff; }
.page-card h2 { margin: 28px 0 10px; font-size: 17.5px; color: #e8f1ff; }
.page-card p { margin: 0 0 14px; }
.page-card ul { padding-left: 22px; }
.page-card li { margin-bottom: 6px; }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--border);
  background: rgba(7, 11, 20, .75);
  padding: 28px 0 36px;
  color: var(--muted-2);
  font-size: 13.5px;
}
.site-footer .footer-links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.site-footer .footer-links a { color: var(--muted); }
.site-footer p { margin: 0 0 6px; }
.beian { margin-top: 8px; font-size: 13px; }
.beian a { color: var(--muted-2); }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 70px 0 30px; }
.error-page .code { font-size: 62px; font-weight: 700; color: var(--accent); line-height: 1; }
.error-page p { color: var(--muted); }

/* ---------- 文章配图与视频 ---------- */
.article-figure { margin: 0 0 24px; }
.article-figure img,
.article-figure video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0a1220;
}
.article-figure iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  background: #0a1220;
}
.article-figure figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted-2);
  text-align: center;
}

/* ---------- 工具页：大图、灯箱与开发声明 ---------- */
.tool-hero img { height: auto; }

/* 开发主体与用途声明 */
.dev-notice {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  margin: 18px 0 4px;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1px solid rgba(217, 180, 122, .34);
  background: linear-gradient(90deg, rgba(217, 180, 122, .12), rgba(217, 180, 122, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  font-size: 13.5px;
  line-height: 1.6;
}
.dev-notice .dev-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(217, 180, 122, .16);
  border: 1px solid rgba(217, 180, 122, .4);
  color: var(--gold);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .4px;
  white-space: nowrap;
}
.dev-notice .dev-text { color: #c3d2e6; }
.dev-notice .dev-text em { font-style: normal; color: var(--gold); font-weight: 600; }

/* 大图展示 */
.img-hint {
  display: flex; align-items: center; gap: 8px;
  margin: 2px 0 16px;
  font-size: 13px; color: var(--muted-2);
}
.img-hint svg { width: 14px; height: 14px; opacity: .8; }

.shot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin: 10px 0 6px;
}
.shot-grid figure { margin: 0; }
.shot-grid img {
  width: 100%; height: auto; display: block;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
  cursor: zoom-in;
  transition: transform .18s ease, box-shadow .18s ease;
}
.shot-grid img:hover { transform: translateY(-2px); box-shadow: 0 24px 54px rgba(0, 0, 0, .42); }
.shot-grid figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }


/* 横向图集：一屏一张，可左右切换、可放大 */
.rail-wrap { position: relative; margin: 12px 0 4px; }
.rail {
  display: flex; gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
.rail img {
  width: 100%; height: auto; display: block;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: #0a1220;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
  cursor: zoom-in;
}
.rail figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }

.rail-bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.rail-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(34, 211, 238, .09);
  border: 1px solid rgba(34, 211, 238, .32);
  color: var(--accent);
  font-size: 17px; line-height: 1;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.rail-btn:hover { background: rgba(34, 211, 238, .18); border-color: rgba(34, 211, 238, .55); }
.rail-btn:active { transform: scale(.94); }
.rail-btn:disabled { opacity: .3; cursor: default; }
.rail-count { font-size: 13px; color: var(--muted-2); min-width: 54px; text-align: center; font-variant-numeric: tabular-nums; }

/* 灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  display: none; align-items: center; justify-content: center;
  padding: 22px;
  background: rgba(3, 6, 12, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 95vw; max-height: 90vh; width: auto; height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
}
.lightbox .lb-hint {
  position: absolute; left: 0; right: 0; bottom: 16px;
  text-align: center; font-size: 12.5px; color: #8ea2bd; letter-spacing: .6px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 44px 0 24px; }
  .hero h1 { font-size: 30px; }
  .banner img { height: 260px; }
  .banner .banner-inner { padding: 20px 22px; }
  .banner h2 { font-size: 21px; }
  .code-section { padding: 26px 20px; }
  .tool-hero img { height: auto; max-height: 68vw; }
  .tool-hero h1 { font-size: 24px; }
}

@media (max-width: 560px) {
  body { overflow-x: hidden; }
  .wrap { padding: 0 16px; }
  .article-body, .page-card, .spec { padding: 22px 16px; }
  .site-header .wrap { min-height: 56px; flex-wrap: wrap; gap: 6px; }
  .site-nav { gap: 14px; font-size: 13.5px; flex-wrap: wrap; }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 32px 0 18px; }
  .hero h1 { font-size: 25px; letter-spacing: -.2px; }
  .hero .lead { font-size: 15px; }
  .banner img { height: 240px; }
  .banner .banner-inner { padding: 20px 18px; justify-content: flex-end; background: linear-gradient(to top, rgba(6,10,20,.94) 40%, rgba(6,10,20,.5) 100%); }
  .banner h2 { font-size: 19px; }
  .banner p { display: none; }
  .banner-actions .btn { padding: 8px 14px; font-size: 13px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head .btn { align-self: flex-start; }
  .platform-tabs { flex-wrap: wrap; gap: 6px; }
  .platform-tabs > * { font-size: 12.5px; padding: 6px 10px; }
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .tool-card .cover { height: 150px; }
  .code-section { padding: 22px 16px; border-radius: 16px; }
  .legal { padding: 22px 16px; }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-hero img { height: auto; }
  .download-box .btn { width: 100%; text-align: center; }
  .hash { word-break: break-all; }
}
