/* ==========================================================================
   香港文娱寄卖 — 全站公共样式
   主题色取自 LOGO：琥珀黄 #F9D25A + 朱红 #F03A2A + 近黑 #0D0D0D
   风格：简洁大气，减少圆角，结构化分割
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 品牌色 */
  --c-red: #F03A2A;          /* 朱红 · 主品牌色 / CTA / 强调 */
  --c-red-dark: #C42E20;     /* 朱红按下态 */
  --c-amber: #F9D25A;        /* 琥珀黄 · 点缀 / 标签 / 高亮 */
  --c-amber-dark: #E6B83A;   /* 琥珀黄按下态 */
  --c-ink: #0D0D0D;          /* 近黑 · 导航 / 深色区块 / 页脚 */
  --c-ink-2: #1A1A1A;        /* 正文深 */
  --c-ink-3: #333333;        /* 次级文字 */

  /* 中性 */
  --c-bg: #FFFFFF;
  --c-bg-soft: #F5F4F1;      /* 暖白浅灰，呼应 LOGO 暖调 */
  --c-bg-deep: #0D0D0D;      /* 深色区块 */
  --c-line: #E6E5E2;         /* 分割线 / 边框 */
  --c-line-dark: #2A2A2A;    /* 深底分割线 */
  --c-muted: #8A8784;        /* 辅助文字 */
  --c-text: #1A1A1A;

  /* 字体 */
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Roboto Mono", "Consolas", "Courier New", monospace;

  /* 尺寸 */
  --w-max: 1240px;           /* 主体内容宽度 */
  --w-nav: 1360px;           /* 导航/公告条宽度：比主体略宽，居中显示 */
  --gutter: 24px;            /* 导航/公告条左右留白 */
  --nav-h: 72px;
  --radius: 2px;             /* 极小圆角：减少但保留一丝 */
  --radius-img: 0;           /* 图片直角 */

  /* 动效 */
  --t: .22s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; border-radius: var(--radius-img); }
a { color: inherit; text-decoration: none; transition: color var(--t); }
a:hover { color: var(--c-red); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- 布局工具 ---------- */
.container { width: 100%; max-width: var(--w-max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-deep { background: var(--c-bg-deep); color: #fff; }
.dflex { display: flex; }
.grid { display: grid; }

/* 文本工具 */
.text-red { color: var(--c-red); }
.text-amber { color: var(--c-amber); }
.text-muted { color: var(--c-muted); }
.text-center { text-align: center; }
.mono { font-family: var(--font-mono); }

/* ==========================================================================
   顶部公告条
   ========================================================================== */
.topbar {
  background: var(--c-ink);
  color: #BFBFBA;
  font-size: 12.5px;
  line-height: 34px;
  border-bottom: 2px solid var(--c-red);
}
/* 公告条与导航同宽居中，左右留白对齐 */
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--w-nav); padding: 0 var(--gutter);
}
.topbar a { color: var(--c-amber); }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 20px; }
.topbar .tb-right { display: flex; gap: 16px; align-items: center; }
.topbar .tb-right .dot { width: 4px; height: 4px; background: #555; border-radius: 50%; }

/* ==========================================================================
   导航 Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
/* 导航内层：固定宽度居中，比主体内容（1240px）略宽 */
.header-inner {
  width: 100%;
  max-width: var(--w-nav);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; }
.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.2;
}
.brand-name .en {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--c-amber);
  margin-top: 2px;
}

/* 主导航：占满 brand 与 CTA 之间的全部空间，均匀铺开 */
.nav { display: flex; flex: 1; min-width: 0; align-items: center; justify-content: space-between; gap: 0; }
.nav-item { position: relative; flex-shrink: 0; }
.nav-link {
  display: flex;
  align-items: center;
  padding: 0 11px;
  height: var(--nav-h);
  font-size: 16px;
  color: #F2F2EC;
  font-weight: 500;
  position: relative;
  gap: 5px;
  letter-spacing: .3px;
  white-space: nowrap;
}
.nav-link:hover, .nav-item.active .nav-link { color: #fff; font-weight: 600; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 0;
  height: 2px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav-link:hover::after, .nav-item.active .nav-link::after { transform: scaleX(1); }

/* 子菜单箭头 */
.nav-link .caret {
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .5;
  transition: var(--t);
}
.nav-item.has-sub:hover .nav-link .caret { transform: rotate(180deg); opacity: 1; }

/* 二级下拉导航 */
.sub-nav {
  position: absolute;
  top: 100%; left: 0;
  min-width: 200px;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
  border-top: 2px solid var(--c-red);
  padding: 6px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  z-index: 101;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
.nav-item.has-sub:hover .sub-nav,
.nav-item.has-sub.focus .sub-nav { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-nav a {
  display: block;
  padding: 11px 22px;
  font-size: 14px;
  color: #BFBFBA;
  white-space: nowrap;
  transition: var(--t);
  border-left: 2px solid transparent;
}
.sub-nav a:hover { background: rgba(249,210,90,.06); color: var(--c-amber); border-left-color: var(--c-amber); padding-left: 28px; }

/* 导航 CTA */
.nav-cta { display: flex; gap: 10px; align-items: center; margin-left: 8px; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  border-radius: var(--radius);
  transition: all var(--t);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background: var(--c-red); color: #fff; }
.btn-primary:hover { background: var(--c-red-dark); color: #fff; }
.btn-amber { background: var(--c-amber); color: var(--c-ink); }
.btn-amber:hover { background: var(--c-amber-dark); color: var(--c-ink); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline:hover { border-color: var(--c-amber); color: var(--c-amber); }
.btn-dark { background: var(--c-ink); color: #fff; }
.btn-dark:hover { background: #000; color: var(--c-amber); }
.btn-lg { height: 48px; padding: 0 32px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  transition: var(--t);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   页面通用 — 面包屑
   ========================================================================== */
.breadcrumb {
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-line);
  font-size: 13px;
  color: var(--c-muted);
}
.breadcrumb .container { display: flex; align-items: center; height: 52px; gap: 8px; }
.breadcrumb a:hover { color: var(--c-red); }
.breadcrumb .sep { color: #CCC; }
.breadcrumb .current { color: var(--c-ink-2); }

/* ==========================================================================
   区块标题
   ========================================================================== */
.s-head { margin-bottom: 40px; }
.s-head .eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-red);
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.s-head .eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--c-red);
}
.s-head .title {
  font-size: 32px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.25;
}
.s-head .title .en {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--c-muted);
  margin-top: 8px;
}
.s-head .desc {
  margin-top: 14px;
  color: var(--c-muted);
  max-width: 640px;
  font-size: 14.5px;
}
.s-head-center { text-align: center; }
.s-head-center .desc { margin-left: auto; margin-right: auto; }

/* 标题左侧朱红竖条（用于内容页） */
.s-title-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.s-title-bar::before {
  content: "";
  width: 4px; height: 24px;
  background: var(--c-red);
  flex-shrink: 0;
}
.s-title-bar h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-ink);
}

/* ==========================================================================
   Hero 轮播（首页）
   ========================================================================== */
.hero {
  position: relative;
  background: var(--c-ink);
  color: #fff;
  overflow: hidden;
  min-height: 560px;
}
.hero-slider { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
  z-index: 1;
}
.hero-slide.active { opacity: 1; pointer-events: auto; z-index: 2; }
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-color: var(--c-ink);
}
.hero-slide[data-theme="amber"] .hero-slide-bg {
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 2px, transparent 2px 14px),
    radial-gradient(circle at 85% 15%, rgba(249,210,90,.20), transparent 55%),
    radial-gradient(circle at 8% 88%, rgba(240,58,42,.12), transparent 55%);
}
.hero-slide[data-theme="red"] .hero-slide-bg {
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 2px, transparent 2px 14px),
    radial-gradient(circle at 80% 20%, rgba(240,58,42,.24), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(249,210,90,.13), transparent 55%);
}
.hero-slide[data-theme="gold"] .hero-slide-bg {
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 2px, transparent 2px 14px),
    radial-gradient(circle at 78% 18%, rgba(249,210,90,.26), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(240,58,42,.15), transparent 55%);
}
/* 右侧品牌色斜向装饰条 */
.hero-slide-bg::before {
  content: "";
  position: absolute;
  right: 40px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--c-red) 30%, var(--c-amber) 70%, transparent);
  opacity: .55;
  transform: skewX(-12deg);
}
.hero-slide-bg::after {
  content: "";
  position: absolute;
  right: 72px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(249,210,90,.3), transparent);
  transform: skewX(-12deg);
}
/* 轮播控件 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.28);
  color: #fff;
  font-size: 24px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--t);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  user-select: none;
}
.hero-arrow:hover { background: var(--c-red); border-color: var(--c-red); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }
.hero-dots {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 28px; height: 3px;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: all var(--t);
}
.hero-dot.active { background: var(--c-amber); width: 42px; }
.hero-inner { position: relative; z-index: 2; max-width: 780px; padding: 96px 0 104px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(249,210,90,.4);
  background: rgba(249,210,90,.05);
  color: var(--c-amber);
  font-size: 12.5px;
  letter-spacing: 1.5px;
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.hero-tag .dot { width: 6px; height: 6px; background: var(--c-amber); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--c-amber); }
.hero h1 .accent-red { color: var(--c-red); }
.hero .lead {
  font-size: 17px;
  color: #C8C8C2;
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 620px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  flex: 1;
  min-width: 140px;
  padding-right: 28px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--c-amber);
  line-height: 1;
}
.hero-stat .num .unit { font-size: 16px; color: #fff; margin-left: 4px; font-weight: 400; }
.hero-stat .label {
  font-size: 13px;
  color: #9A9A94;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ==========================================================================
   快捷入口（三栏）
   ========================================================================== */
.quick-entry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--c-line); }
.qe-item {
  padding: 40px 32px;
  border-right: 1px solid var(--c-line);
  background: #fff;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.qe-item::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.qe-item:last-child { border-right: none; }
.qe-item:hover { background: var(--c-ink); color: #fff; }
.qe-item:hover::before { transform: scaleX(1); }
.qe-item:hover .qe-en { color: var(--c-amber); }
.qe-item:hover .qe-arrow { color: var(--c-amber); transform: translateX(6px); }
.qe-item:hover .qe-desc { color: #B5B5B0; }
.qe-item:hover .qe-num { color: rgba(249,210,90,.25); }
.qe-num { font-family: var(--font-mono); font-size: 13px; color: var(--c-line); font-weight: 700; margin-bottom: 18px; transition: var(--t); }
.qe-en { font-size: 11px; letter-spacing: 2.5px; color: var(--c-muted); text-transform: uppercase; margin-bottom: 10px; }
.qe-title { font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.qe-desc { font-size: 13.5px; color: var(--c-muted); margin-bottom: 22px; flex: 1; line-height: 1.8; }
.qe-arrow { font-size: 13px; color: var(--c-red); font-weight: 600; transition: var(--t); }

/* ==========================================================================
   信息披露列表（首页双栏）
   ========================================================================== */
.disclosure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.dcard {
  border: 1px solid var(--c-line);
  background: #fff;
  transition: box-shadow var(--t);
}
.dcard:hover { box-shadow: 0 12px 28px rgba(0,0,0,.06); }
.dcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 2px solid var(--c-red);
  background: linear-gradient(90deg, rgba(240,58,42,.04), transparent);
}
.dcard-head .t { font-size: 17px; font-weight: 700; color: var(--c-ink); display: flex; align-items: center; gap: 10px; }
.dcard-head .t::before { content: ""; width: 3px; height: 16px; background: var(--c-red); }
.dcard-head .more { font-size: 13px; color: var(--c-muted); }
.dcard-head .more:hover { color: var(--c-red); }
.dcard-list { padding: 8px 22px 18px; }
.dcard-list li {
  border-bottom: 1px dashed var(--c-line);
}
.dcard-list li:last-child { border-bottom: none; }
.dcard-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 14.5px;
  color: var(--c-ink-3);
}
.dcard-list a:hover { color: var(--c-red); }
.dcard-list .date {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--c-muted);
  flex-shrink: 0;
  width: 76px;
}
.dcard-list .tag-sm {
  flex-shrink: 0;
  font-size: 11px;
  padding: 1px 6px;
  border: 1px solid var(--c-red);
  color: var(--c-red);
  border-radius: var(--radius);
}
.dcard-list .tag-sm.amber { border-color: var(--c-amber-dark); color: #B8941E; }
.dcard-list .txt {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   产品卡片网格
   ========================================================================== */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod-card {
  border: 1px solid var(--c-line);
  background: #fff;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
  position: relative;
}
.prod-card:hover {
  border-color: var(--c-red);
  box-shadow: 0 12px 32px rgba(240,58,42,.12);
  transform: translateY(-4px);
}
.prod-card:hover .prod-name { color: var(--c-red); }
.prod-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--c-bg-soft);
  overflow: hidden;
}
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prod-card:hover .prod-thumb img { transform: scale(1.05); }
.prod-thumb .badge {
  position: absolute;
  top: 0; left: 0;
  background: var(--c-red);
  color: #fff;
  font-size: 11px;
  padding: 4px 12px;
  font-weight: 600;
  letter-spacing: .5px;
}
.prod-thumb .badge.amber { background: var(--c-amber); color: var(--c-ink); }
.prod-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.prod-name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prod-meta { font-size: 12.5px; color: var(--c-muted); line-height: 1.9; }
.prod-meta .mono { color: var(--c-ink-3); }
.prod-price {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.prod-price .lab { font-size: 12px; color: var(--c-muted); }
.prod-price .val { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--c-red); }
.prod-price .val .y { font-size: 13px; margin-left: 2px; }

/* ==========================================================================
   下载中心（PC 客户端 + Android App）
   ========================================================================== */
.download-band {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 2px, transparent 2px 16px),
    radial-gradient(circle at 85% 50%, rgba(249,210,90,.10), transparent 60%),
    var(--c-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 72px 0 80px;
}
.download-band::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--c-red), var(--c-amber));
}
.download-head { margin-bottom: 40px; }
.download-head .label {
  font-size: 12px; letter-spacing: 2.5px; color: var(--c-amber);
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.download-head .label::before { content: ""; width: 18px; height: 2px; background: var(--c-amber); }
.download-head h3 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.download-head p { color: #AEAEA8; font-size: 15px; max-width: 640px; line-height: 1.7; }
.dl-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; padding-bottom: 3px;
  font-size: 13.5px; color: var(--c-amber);
  border-bottom: 1px solid rgba(249,210,90,.45);
  transition: color var(--t), border-color var(--t);
}
.dl-more:hover { color: #fff; border-bottom-color: #fff; }

.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dl-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 132px;
  grid-template-areas:
    "head qr"
    "desc qr"
    "btn  btn"
    "file file";
  gap: 0 24px;
  transition: all var(--t);
  overflow: hidden;
}
.dl-card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--c-red), var(--c-amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.dl-card:hover { border-color: rgba(249,210,90,.45); background: rgba(255,255,255,.055); }
.dl-card:hover::before { transform: scaleX(1); }
.dl-card-head { grid-area: head; display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.dl-ico {
  width: 48px; height: 48px; flex-shrink: 0;
  border: 1px solid rgba(249,210,90,.5);
  color: var(--c-amber);
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .5px;
}
.dl-name { font-size: 19px; font-weight: 700; margin-bottom: 5px; }
.dl-meta { font-size: 12.5px; color: #9A9A94; }
.dl-desc {
  grid-area: desc; font-size: 13.5px; color: #B5B5B0;
  line-height: 1.8; margin-bottom: 26px; max-width: 330px;
}
.dl-qr-wrap { grid-area: qr; text-align: center; }
.dl-qr-wrap .qr-box {
  width: 132px; height: 132px;
  background: #fff;
  padding: 8px;
  display: flex; align-items: center; justify-content: center;
}
.dl-qr-wrap .qr-box img {
  width: 100%; height: 100%; display: block;
  image-rendering: pixelated;
}
.dl-qr-tip { font-size: 11.5px; color: #9A9A94; margin-top: 10px; line-height: 1.6; }
.dl-card .btn { grid-area: btn; height: 46px; }
.dl-file {
  grid-area: file; font-family: var(--font-mono);
  font-size: 11.5px; color: #7E7E78; margin-top: 14px;
  letter-spacing: .3px; line-height: 1.6;
}

/* 首页 PC 卡片：无二维码，改用规格信息填充 */
.dl-card--no-qr {
  grid-template-columns: 1fr;
  grid-template-areas: "head" "spec" "desc" "btn" "file";
}
.dl-card--no-qr .dl-spec { grid-area: spec; }
.dl-card--no-qr .dl-desc { margin-bottom: 24px; }

/* 下载规格信息表 */
.dl-spec { border-top: 1px solid var(--c-line); margin-bottom: 26px; }
.dl-spec-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; font-size: 13.5px;
  border-bottom: 1px solid var(--c-line);
}
.dl-spec-row .k { color: var(--c-muted); flex-shrink: 0; }
.dl-spec-row .v { color: var(--c-ink-2); font-weight: 500; text-align: right; }
.dl-card .dl-spec { border-top-color: rgba(255,255,255,.14); }
.dl-card .dl-spec-row { border-bottom-color: rgba(255,255,255,.10); }
.dl-card .dl-spec-row .k { color: #8E8E88; }
.dl-card .dl-spec-row .v { color: #E4E4DE; }

/* ==========================================================================
   下载中心页面
   ========================================================================== */
.dl-page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.dl-panel {
  position: relative; overflow: hidden;
  border: 1px solid var(--c-line);
  background: #fff;
  padding: 34px;
  transition: all var(--t);
  display: flex; flex-direction: column;
}
.dl-panel::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--c-red), var(--c-amber));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.dl-panel:hover { border-color: var(--c-red); box-shadow: 0 10px 30px rgba(13,13,13,.07); }
.dl-panel:hover::before { transform: scaleX(1); }
.dl-panel-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.dl-panel-ico {
  width: 52px; height: 52px; flex-shrink: 0;
  border: 1px solid var(--c-red);
  color: var(--c-red);
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; letter-spacing: .5px;
}
.dl-panel-name { font-size: 21px; font-weight: 700; color: var(--c-ink); margin-bottom: 5px; }
.dl-panel-meta { font-size: 13px; color: var(--c-muted); }
.dl-panel-desc { font-size: 14px; color: var(--c-ink-2); line-height: 1.85; margin-bottom: 24px; }
.dl-panel .btn { margin-top: auto; height: 48px; }
.dl-panel .dl-file { color: var(--c-muted); margin-top: 14px; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.6; }
.dl-panel-qr {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.dl-panel-qr .qr-box {
  width: 168px; height: 168px; padding: 10px;
  background: #fff; border: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: center;
}
.dl-panel-qr .qr-box img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.dl-panel-qr .qr-tip { font-size: 12.5px; color: var(--c-muted); text-align: center; line-height: 1.6; }
.dl-panel-qr .qr-tip strong { color: var(--c-red); font-weight: 600; }

/* 安装说明 */
.dl-notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dl-note { border: 1px solid var(--c-line); border-top: 3px solid var(--c-ink); padding: 28px; background: #fff; }
.dl-note h4 { font-size: 17px; font-weight: 700; color: var(--c-ink); margin-bottom: 16px; }
.dl-note ol { padding-left: 18px; }
.dl-note li { font-size: 13.5px; color: var(--c-ink-2); line-height: 1.9; }
.dl-tip {
  margin-top: 32px; padding: 18px 24px;
  background: var(--c-bg-soft); border-left: 3px solid var(--c-amber-dark);
  font-size: 13.5px; color: var(--c-ink-2); line-height: 1.8;
}

/* ==========================================================================
   通用列表表格（信息披露 / 产品参数）
   ========================================================================== */
.list-table { width: 100%; border-collapse: collapse; }
.list-table th, .list-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--c-line);
}
.list-table th {
  background: var(--c-bg-soft);
  font-weight: 600;
  color: var(--c-ink);
  font-size: 13px;
  border-bottom: 2px solid var(--c-ink);
}
.list-table tbody tr { transition: var(--t); }
.list-table tbody tr:hover { background: #FCFAF5; }
.list-table .code { font-family: var(--font-mono); color: var(--c-ink-3); }
.list-table .price { font-family: var(--font-mono); color: var(--c-red); font-weight: 600; }

/* 信息披露表格：类别列不换行 */
.disclosure-table td:first-child,
.disclosure-table th:first-child { white-space: nowrap; width: 88px; }
.disclosure-table td:last-child,
.disclosure-table th:last-child { white-space: nowrap; }
.disclosure-table .tag-cell {
  display: inline-block;
  font-size: 11px;
  padding: 1px 7px;
  border: 1px solid var(--c-red);
  color: var(--c-red);
  border-radius: var(--radius);
  line-height: 1.6;
  white-space: nowrap;
}
.disclosure-table .tag-cell.amber { border-color: var(--c-amber-dark); color: #B8941E; }

/* ==========================================================================
   分类标签筛选
   ========================================================================== */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--c-line); margin-bottom: 32px; }
.tab {
  padding: 14px 26px;
  font-size: 15px;
  color: var(--c-muted);
  font-weight: 500;
  position: relative;
  cursor: pointer;
  transition: var(--t);
}
.tab:hover { color: var(--c-ink); }
.tab.active { color: var(--c-red); font-weight: 700; }
.tab.active::after {
  content: "";
  position: absolute;
  left: 26px; right: 26px; bottom: -1px;
  height: 2px;
  background: var(--c-red);
}

/* ==========================================================================
   分页
   ========================================================================== */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pager a {
  min-width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  font-size: 14px;
  color: var(--c-ink-3);
  border-radius: var(--radius);
  padding: 0 12px;
}
.pager a:hover { border-color: var(--c-red); color: var(--c-red); }
.pager a.active { background: var(--c-red); color: #fff; border-color: var(--c-red); }
.pager .disabled { color: #CCC; pointer-events: none; }

/* ==========================================================================
   内容页主体（公告详情 / 关于我们）
   ========================================================================== */
.page-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 56px 0; align-items: start; }
/* 左侧分类导航 */
.side-nav { position: sticky; top: calc(var(--nav-h) + 20px); }
.side-nav .sn-title {
  font-size: 16px; font-weight: 700; color: var(--c-ink);
  padding: 14px 18px;
  background: var(--c-ink);
  color: #fff;
}
.side-nav ul { border: 1px solid var(--c-line); border-top: none; }
.side-nav li a {
  display: block;
  padding: 13px 18px;
  font-size: 14px;
  color: var(--c-ink-3);
  border-bottom: 1px solid var(--c-line);
  transition: var(--t);
}
.side-nav li:last-child a { border-bottom: none; }
.side-nav li a:hover { background: var(--c-bg-soft); color: var(--c-red); padding-left: 22px; }
.side-nav li a.active { background: var(--c-red); color: #fff; }

/* 文章主体 */
.article { max-width: 100%; }
.article-head { border-bottom: 1px solid var(--c-line); padding-bottom: 22px; margin-bottom: 28px; }
.article-head h1 {
  font-size: 26px; font-weight: 700; color: var(--c-ink); line-height: 1.4; margin-bottom: 14px;
}
.article-meta { display: flex; gap: 20px; font-size: 13px; color: var(--c-muted); }
.article-meta .mono { font-family: var(--font-mono); }
.article-body { font-size: 15px; line-height: 1.9; color: var(--c-ink-3); }
.article-body p { margin-bottom: 18px; }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--c-ink); margin: 28px 0 14px; }
.article-body h4 { font-size: 16px; font-weight: 700; color: var(--c-ink); margin: 24px 0 12px; }
.article-body ul.kv { margin: 14px 0; }
.article-body ul.kv li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--c-line);
  font-size: 14px;
}
.article-body .note {
  background: #FCF6E6;
  border-left: 3px solid var(--c-amber);
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14px;
  color: #7A5E0A;
}
.article-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-line); display: flex; justify-content: space-between; }
.article-footer a { font-size: 14px; color: var(--c-muted); }
.article-footer a:hover { color: var(--c-red); }

/* ==========================================================================
   关于我们 — 介绍块
   ========================================================================== */
.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.about-text h2 { font-size: 26px; font-weight: 700; color: var(--c-ink); margin-bottom: 8px; }
.about-text .en-sub { font-size: 13px; letter-spacing: 2px; color: var(--c-red); margin-bottom: 20px; }
.about-text p { color: var(--c-ink-3); margin-bottom: 16px; font-size: 15px; }
.about-img { aspect-ratio: 4/3; background: var(--c-bg-soft); border: 1px solid var(--c-line); overflow: hidden; }

/* 价值观卡片 */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  border: 1px solid var(--c-line);
  padding: 32px 26px;
  transition: var(--t);
}
.value-card:hover { border-color: var(--c-red); border-top: 3px solid var(--c-red); }
.value-card .num { font-family: var(--font-mono); font-size: 14px; color: var(--c-red); font-weight: 700; margin-bottom: 12px; }
.value-card h3 { font-size: 18px; font-weight: 700; color: var(--c-ink); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--c-muted); }

/* ==========================================================================
   交易指南 — 步骤
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step {
  padding: 34px 28px;
  border: 1px solid var(--c-line);
  border-right: none;
  position: relative;
  transition: var(--t);
  background: #fff;
}
.step:hover { background: var(--c-ink); color: #fff; }
.step:hover .step-num { color: var(--c-amber); }
.step:hover h3 { color: #fff; }
.step:hover p { color: #B5B5B0; }
.step:last-child { border-right: 1px solid var(--c-line); }
.step .step-num {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 800;
  color: var(--c-line);
  line-height: 1;
  margin-bottom: 18px;
  transition: var(--t);
}
.step.active .step-num { color: var(--c-red); }
.step h3 { font-size: 17px; font-weight: 700; color: var(--c-ink); margin-bottom: 8px; transition: var(--t); }
.step p { font-size: 13.5px; color: var(--c-muted); transition: var(--t); }

/* FAQ */
.faq-item { border: 1px solid var(--c-line); margin-bottom: 12px; }
.faq-q {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  transition: var(--t);
}
.faq-q:hover { background: var(--c-bg-soft); }
.faq-q .icon { font-size: 20px; color: var(--c-red); transition: var(--t); }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t);
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 22px 20px; font-size: 14.5px; color: var(--c-ink-3); line-height: 1.8; }

/* ==========================================================================
   规则制度 — 条款列表
   ========================================================================== */
.rule-list { border: 1px solid var(--c-line); }
.rule-item { display: flex; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--c-line); transition: var(--t); }
.rule-item:last-child { border-bottom: none; }
.rule-item:hover { background: var(--c-bg-soft); padding-left: 30px; }
.rule-item .r-num { font-family: var(--font-mono); color: var(--c-red); font-weight: 700; width: 60px; flex-shrink: 0; font-size: 14px; }
.rule-item .r-title { flex: 1; font-size: 15px; color: var(--c-ink-2); }
.rule-item .r-date { font-family: var(--font-mono); font-size: 13px; color: var(--c-muted); }
.rule-item .r-arrow { color: var(--c-muted); margin-left: 16px; }

/* ==========================================================================
   联系我们
   ========================================================================== */
/* 联系方式卡片网格 */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px; }
.contact-card {
  border: 1px solid var(--c-line);
  padding: 34px 30px;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
  background: #fff;
}
.contact-card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.contact-card:hover { border-color: var(--c-red); box-shadow: 0 12px 28px rgba(0,0,0,.06); }
.contact-card:hover::before { transform: scaleX(1); }
.contact-card .cc-icon {
  font-size: 26px;
  color: var(--c-red);
  margin-bottom: 18px;
  line-height: 1;
}
.contact-card h4 { font-size: 18px; font-weight: 700; color: var(--c-ink); margin-bottom: 14px; }
.contact-card .cc-item { font-size: 14.5px; color: var(--c-ink-3); line-height: 2; }
.contact-card .cc-item .lab { color: var(--c-muted); display: inline-block; width: 64px; }
.contact-card .cc-item .mono { font-family: var(--font-mono); }

/* 公司基本信息 */
.contact-info { border: 1px solid var(--c-line); padding: 34px 30px; background: var(--c-bg-soft); }
.contact-info h3 { font-size: 20px; font-weight: 700; color: var(--c-ink); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.contact-info h3::before { content: ""; width: 4px; height: 20px; background: var(--c-red); }
.contact-dl { display: grid; grid-template-columns: 90px 1fr; gap: 14px 20px; font-size: 15px; }
.contact-dl dt { color: var(--c-muted); }
.contact-dl dd { color: var(--c-ink-2); }
.contact-dl dd .mono { font-family: var(--font-mono); }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  background: var(--c-ink);
  color: #9A9A94;
  padding: 56px 0 0;
  border-top: 3px solid var(--c-red);
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 280px; }
.footer-col h4 { font-size: 15px; color: #fff; margin-bottom: 18px; font-weight: 600; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { font-size: 13.5px; color: #9A9A94; }
.footer-col ul a:hover { color: var(--c-amber); }
.footer-bottom { padding: 22px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #7A7A74; }
.footer-bottom a:hover { color: var(--c-amber); }
.footer-bottom .links { display: flex; gap: 16px; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
/* 低于 1200px，固定宽度容器放不下 8 项一级导航，切汉堡菜单 */
@media (max-width: 1200px) {
  .header-inner { gap: 16px; }
  .nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--c-ink);
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav.open .nav-item { width: 100%; }
  .nav.open .nav-link { height: 48px; line-height: 48px; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav.open .nav-link::after { display: none; }
  .sub-nav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; background: rgba(255,255,255,.03); min-width: 0; padding: 0; margin: 0; }
  .nav-item.has-sub:hover .sub-nav { transform: none; }
  .nav-link .caret { display: none; }
  .sub-nav a { padding: 11px 18px 11px 34px; border-left: 2px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.05) !important; }
  .sub-nav a:hover { padding-left: 40px; }
}
@media (max-width: 860px) {
  :root { --nav-h: 64px; --gutter: 16px; }
  .section { padding: 48px 0; }
  .hero { min-height: 480px; }
  .hero-inner { padding: 56px 0 64px; }
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 15px; }
  .hero-arrow { width: 38px; height: 38px; line-height: 36px; font-size: 20px; }
  .hero-arrow.prev { left: 12px; }
  .hero-arrow.next { right: 12px; }
  .hero-stats { gap: 20px; }
  .hero-stat { border-right: none; padding-right: 0; min-width: 45%; }

  .quick-entry { grid-template-columns: 1fr; }
  .qe-item { border-right: none; border-bottom: 1px solid var(--c-line); }
  .qe-item:last-child { border-bottom: none; }
  .disclosure-row { grid-template-columns: 1fr; gap: 24px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: 1px solid var(--c-line); border-bottom: none; }
  .step:nth-child(2n) { border-right: none; }
  .step:nth-child(3), .step:nth-child(4) { border-bottom: 1px solid var(--c-line); }
  .about-block { grid-template-columns: 1fr; gap: 28px; }
  .contact-cards { grid-template-columns: 1fr; }
  .page-wrap { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .download-grid { grid-template-columns: 1fr; }
  .dl-page-grid, .dl-notes { grid-template-columns: 1fr; }
  .download-band { padding: 56px 0 64px; }
  .download-head h3 { font-size: 26px; }
  .s-head .title { font-size: 24px; }
  .topbar .tb-left { display: none; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .prod-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none !important; border-bottom: 1px solid var(--c-line) !important; }
  .step:last-child { border-bottom: none !important; }
  .hero { min-height: 440px; }
  .hero h1 { font-size: 26px; }
  .dl-card {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "desc" "qr" "btn" "file";
    padding: 22px;
  }
  .dl-card--no-qr { grid-template-areas: "head" "spec" "desc" "btn" "file"; }
  .dl-desc { margin-bottom: 20px; }
  .dl-qr-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 24px; }
  .dl-panel { padding: 24px; }
  .dl-note { padding: 22px; }
  .footer-top { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .brand-name { font-size: 16px; }
  .brand-name .en { font-size: 9px; }
}

/* ==========================================================================
   SS CMS 模板专用：当前栏目导航高亮
   主导航由 stl:channels 循环生成，{stl:if type=current yes=active} 直接输出
   active 类（原静态站 CSS 已有 .nav-item.active 规则），新增栏目自动生效；
   下列 body[data-channel] 规则为兼容备份：后台栏目索引与模板一致时同样命中。
   ========================================================================== */
body[data-channel="home"] .nav-item[data-nav="home"] .nav-link,
body[data-channel="about"] .nav-item[data-nav="about"] .nav-link,
body[data-channel="products"] .nav-item[data-nav="products"] .nav-link,
body[data-channel="disclosure"] .nav-item[data-nav="disclosure"] .nav-link,
body[data-channel="guide"] .nav-item[data-nav="guide"] .nav-link,
body[data-channel="rules"] .nav-item[data-nav="rules"] .nav-link,
body[data-channel="contact"] .nav-item[data-nav="contact"] .nav-link,
body[data-channel="download"] .nav-item[data-nav="download"] .nav-link { color: #fff; font-weight: 600; }
body[data-channel="home"] .nav-item[data-nav="home"] .nav-link::after,
body[data-channel="about"] .nav-item[data-nav="about"] .nav-link::after,
body[data-channel="products"] .nav-item[data-nav="products"] .nav-link::after,
body[data-channel="disclosure"] .nav-item[data-nav="disclosure"] .nav-link::after,
body[data-channel="guide"] .nav-item[data-nav="guide"] .nav-link::after,
body[data-channel="rules"] .nav-item[data-nav="rules"] .nav-link::after,
body[data-channel="contact"] .nav-item[data-nav="contact"] .nav-link::after,
body[data-channel="download"] .nav-item[data-nav="download"] .nav-link::after { transform: scaleX(1); }

/* ==========================================================================
   SS CMS 模板专用：系统面包屑（完整层级）
   stl:location 输出平铺的 a + 分隔符，无外层包裹；层级多时允许换行
   ========================================================================== */
.breadcrumb .container { flex-wrap: wrap; min-height: 52px; height: auto;
  padding-top: 12px; padding-bottom: 12px; }
.breadcrumb .current, .breadcrumb a.current { color: var(--c-ink-2); }
.breadcrumb a.bc-link { white-space: nowrap; }

/* ==========================================================================
   SS CMS 模板专用：分页按钮统一盒模型
   stl:pageItem 的 stl:yes 输出 a.pager-btn、stl:no 输出 span.pager-btn，
   两者尺寸与边框完全一致，页码为纯数字，不再有方括号
   ========================================================================== */
.pager { align-items: center; flex-wrap: wrap; }
.pager .pager-btn {
  min-width: 38px; height: 38px; display: inline-flex;
  align-items: center; justify-content: center;
  border: 1px solid var(--c-line); font-size: 14px; color: var(--c-ink-3);
  border-radius: var(--radius); padding: 0 12px; background: #fff;
  line-height: 1; white-space: nowrap;
}
.pager a.pager-btn:hover { border-color: var(--c-red); color: var(--c-red); }
.pager .pager-btn.active { background: var(--c-red); color: #fff; border-color: var(--c-red); }
.pager .pager-btn.active:hover { color: #fff; border-color: var(--c-red); }
.pager .pager-btn.disabled { color: #CCC; background: var(--c-bg-soft); pointer-events: none; }

/* ==========================================================================
   SS CMS 模板专用：栏目页左侧菜单 / 带侧栏的产品网格
   侧栏加宽到 280px，一级栏目名单行显示，窄屏改为上下单列；一级标题由 stl:a 生成 a 元素需块级化
   ========================================================================== */
.page-wrap { grid-template-columns: 280px 1fr; gap: 32px; }
/* 右侧内容列允许收缩：固定三级分类的胶囊标签较长时，滚动留在标签栏内部，不撑出整页横向滚动条 */
.page-wrap > div { min-width: 0; }
.side-nav .sn-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-nav .sn-title:hover { background: var(--c-red); }
.page-wrap .prod-grid { grid-template-columns: repeat(3, 1fr); }
/* 窄屏侧栏改为上下单列，避免 280px 侧栏把右侧内容挤出屏幕（此条须写在上面的基础规则之后） */
@media (max-width: 860px) { .page-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; } .page-wrap .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .page-wrap .prod-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SS CMS 模板专用：公告流列表（替代原表格，无类别标签 / 无列头 / 无固定英文信息条）
   大号日期块 + 单条带圆点的时间轴线 + 标题摘要 + 箭头，与内容页形成版式区分
   ========================================================================== */
/* 顶部只留一条结构线，日期块右侧不再重复画一条竖线 */
.news-stream { border-top: 2px solid var(--c-ink); border-bottom: 1px solid var(--c-line); }
.news-item {
  position: relative;
  display: grid; grid-template-columns: 82px 22px minmax(0, 1fr) 22px; gap: 0 18px;
  align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--c-line);
  transition: var(--t);
}
.news-item:last-child { border-bottom: none; }
.news-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--c-red); opacity: 0; transition: var(--t);
}
.news-item:hover { background: #FCFAF5; }
.news-item:hover::before { opacity: 1; }
.news-date {
  display: flex; flex-direction: column; align-items: flex-start;
}
.news-date .n-day { font: 700 30px/1 var(--font-mono); color: var(--c-ink); }
.news-date .n-ym { font: 11px/1.6 var(--font-mono); letter-spacing: 1px; color: var(--c-muted); margin-top: 8px; }
.news-line { align-self: stretch; position: relative; }
.news-line::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--c-line); }
.news-line i {
  position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px; border: 1px solid var(--c-red);
  border-radius: 50%; background: #fff; transition: var(--t);
}
.news-item:hover .news-line i { background: var(--c-red); }
.news-main { min-width: 0; }
.news-title {
  font-size: 17px; font-weight: 600; line-height: 1.5; color: var(--c-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: var(--t);
}
.news-item:hover .news-title { color: var(--c-red); }
.news-summary {
  font-size: 13px; line-height: 1.7; color: var(--c-muted); margin-top: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-summary:empty { display: none; }
.news-arrow { font-size: 20px; color: #CCC; text-align: center; transition: var(--t); }
.news-item:hover .news-arrow { color: var(--c-red); transform: translateX(4px); }

/* ==========================================================================
   SS CMS 模板专用：内容页上下篇
   stl:navigation 解析后直接输出 a.pn / span.pn，标题来自后台相邻内容
   ========================================================================== */
.article-footer { align-items: stretch; gap: 16px; }
.article-footer .pn {
  display: flex; flex-direction: column; gap: 6px;
  width: 50%; min-width: 0; padding: 14px 18px;
  border: 1px solid var(--c-line); font-size: 14px; transition: var(--t);
}
.article-footer .pn-next { text-align: right; }
.article-footer .pn-lab { font-size: 12px; color: var(--c-muted); letter-spacing: 1px; }
.article-footer .pn-title {
  color: var(--c-ink); font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.article-footer a.pn:hover { border-color: var(--c-red); background: #FCFAF5; }
.article-footer a.pn:hover .pn-title { color: var(--c-red); }
.article-footer .pn-disabled { background: var(--c-bg-soft); }
.article-footer .pn-disabled .pn-title { color: #B5B2AE; font-weight: 400; }

/* ==========================================================================
   SS CMS 模板专用：产品栏目页标题区（分类名美化）
   左侧朱红竖条 + 底部朱红短线 + 右侧琥珀斜纹点阵，全部为纯 CSS 图形；
   文字仍只取后台当前栏目名，不引入任何写死的英文或副标题
   ========================================================================== */
.s-head-channel {
  position: relative; margin-bottom: 24px;
  padding: 4px 0 20px 22px; border-bottom: 1px solid var(--c-line);
}
.s-head-channel::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 5px; height: 34px; background: var(--c-red);
}
.s-head-channel::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 72px; height: 3px; background: var(--c-red);
}
.s-head-channel .title {
  font-size: 34px; font-weight: 700; letter-spacing: 1px;
  line-height: 1.25; color: var(--c-ink);
}
.s-head-channel .sh-deco {
  position: absolute; right: 0; top: 14px;
  width: 96px; height: 22px; opacity: .5;
  background: repeating-linear-gradient(135deg, var(--c-amber-dark) 0 2px, transparent 2px 9px);
}

/* ==========================================================================
   SS CMS 模板专用：子分类标签（分类名美化 + 常驻横向滚动条）
   分类项改为浅底细边的胶囊标签，当前项朱红实底，不再是纯文字；
   滚动条常驻可见，提示标签可左右滑动，窄屏也不会被挤成竖排
   ========================================================================== */
.tabs-sub {
  gap: 8px; align-items: center;
  padding: 10px 12px 12px;
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-line); border-bottom: none;
  overflow-x: scroll; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c-amber-dark) var(--c-bg-soft);
}
.tabs-sub::-webkit-scrollbar { height: 6px; }
.tabs-sub::-webkit-scrollbar-track { background: #E9E7E2; }
.tabs-sub::-webkit-scrollbar-thumb { background: var(--c-amber-dark); }
.tabs-sub::-webkit-scrollbar-thumb:hover { background: var(--c-red); }
.tabs-sub .tab {
  flex: 0 0 auto; white-space: nowrap;
  padding: 8px 16px; font-size: 14px; line-height: 1.4;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.tabs-sub .tab:hover { border-color: var(--c-amber-dark); color: var(--c-ink); }
.tabs-sub .tab.active {
  background: var(--c-red); color: #fff; border-color: var(--c-red); font-weight: 600;
}
.tabs-sub .tab.active::after { display: none; }
.tabs-sub .tab:not(.tab-all)::before {
  content: ""; display: inline-block; width: 5px; height: 5px;
  margin-right: 8px; vertical-align: middle; background: var(--c-amber-dark);
}
.tabs-sub .tab.active::before { background: #fff; }

@media (max-width: 860px) {
  .s-head-channel .sh-deco { display: none; }
  .s-head-channel .title { font-size: 26px; }
}

@media (max-width: 860px) {
  /* 窄屏同样保留带圆点的单条时间轴线，只压缩列宽 */
  .news-item { grid-template-columns: 68px 18px minmax(0, 1fr) 18px; gap: 0 10px; padding: 20px 4px; }
  .news-date .n-day { font-size: 24px; }
  .news-title { font-size: 15px; }
  .news-summary { margin-top: 4px; }
  .article-footer { flex-direction: column; }
  .article-footer .pn { width: 100%; }
  .article-footer .pn-next { text-align: left; }
}

/* ==========================================================================
   SS CMS 模板专用：产品卡底部双字段
   左「交易代码」右「挂牌数量」，标签在上、数值在下，窄卡也能放下
   ========================================================================== */
.prod-price-2 { align-items: flex-end; gap: 10px; }
.prod-price-2 .pi { display: flex; flex-direction: column; min-width: 0; }
.prod-price-2 .pi:last-child { align-items: flex-end; text-align: right; }
.prod-price-2 .lab { font-size: 11px; white-space: nowrap; }
.prod-price-2 .val {
  font-size: 16px; line-height: 1.35; white-space: nowrap;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 520px) { .prod-price-2 .val { font-size: 15px; } }

/* ==========================================================================
   SS CMS 模板专用：产品内容页（全部字段动态化）
   头部关键指标 / 属性速览 / 参数表 / 相关公告空态
   ========================================================================== */
.prod-gallery { min-width: 0; width: 100%; }
.prod-hero-img {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; min-width: 0; aspect-ratio: 1 / 1;
}
.prod-hero-photo { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.prod-hero-ph { display: none; font-size: 14px; letter-spacing: 2px; color: var(--c-muted); }
.prod-hero-img.no-image {
  background: repeating-linear-gradient(135deg, rgba(0,0,0,.02) 0 2px, transparent 2px 14px), var(--c-bg-soft);
}
.prod-hero-img.no-image .prod-hero-ph { display: block; }
.pg-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pg-thumb {
  flex: 0 0 auto; width: 84px; height: 84px;
  padding: 0; border: 1px solid var(--c-line); background: #fff;
  overflow: hidden; cursor: pointer; transition: var(--t);
}
.pg-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg-thumb:hover { border-color: var(--c-ink-3); }
.pg-thumb.active { border-color: var(--c-red); box-shadow: inset 0 0 0 1px var(--c-red); }
.prod-hero-info { min-width: 0; }
.prod-subline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 1px; color: var(--c-red); margin: 0 0 22px;
}
.prod-subline .sep-dot { color: var(--c-line); }
.prod-kpi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.prod-kpi .kpi {
  display: flex; flex-direction: column; gap: 6px; min-width: 0;
  padding: 14px 16px; background: #fff; border: 1px solid var(--c-line);
}
.prod-kpi .lab { font-size: 12px; color: var(--c-muted); }
.prod-kpi .val {
  font-size: 22px; font-weight: 700; color: var(--c-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.prod-quick { list-style: none; margin: 0 0 20px; padding: 0; }
.prod-quick li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0; border-bottom: 1px dashed var(--c-line);
  font-size: 14px; color: var(--c-muted);
}
.prod-quick li:last-child { border-bottom: none; }
.prod-quick li span { color: var(--c-ink); text-align: right; overflow-wrap: anywhere; }
.prod-meta-line { flex-wrap: wrap; gap: 8px 20px; margin-bottom: 0; }
.prod-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.param-table td:first-child { width: 200px; color: var(--c-muted); white-space: nowrap; }
.param-table td.v { color: var(--c-ink); overflow-wrap: anywhere; }
.param-table td.v.code { font-family: var(--font-mono); }
.rule-list .r-num.r-dot::before {
  content: ""; display: block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--c-red);
}
.rule-list .r-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty-tip { padding: 28px 24px; text-align: center; font-size: 14px; color: var(--c-muted); }
@media (max-width: 860px) {
  .prod-kpi .val { font-size: 18px; }
  .param-table td:first-child { width: 130px; }
}
@media (max-width: 520px) {
  .prod-kpi { grid-template-columns: 1fr; }
  .prod-hero-photo { padding: 18px; }
  .pg-thumb { width: 62px; height: 62px; }
  .param-table th, .param-table td { padding: 12px; font-size: 13px; }
  .rule-list .r-date { display: none; }
}

/* ==========================================================================
   SS CMS 模板专用：首页产品轮播 + 公告动态分类标签
   ========================================================================== */
.dcard-list .tag-sm { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prod-carousel { position: relative; }
.prod-track {
  display: flex; gap: 24px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 8px 2px 14px;
}
.prod-track::-webkit-scrollbar { display: none; }
.prod-track .prod-card { flex: 0 0 calc((100% - 72px) / 4); scroll-snap-align: start; }
.pc-arrow {
  position: absolute; top: 42%; z-index: 2;
  width: 40px; height: 40px; line-height: 36px;
  border: 1px solid var(--c-ink); background: #fff; color: var(--c-ink);
  font-size: 22px; cursor: pointer; transition: var(--t);
}
.pc-arrow:hover { background: var(--c-red); border-color: var(--c-red); color: #fff; }
.pc-arrow.prev { left: -20px; }
.pc-arrow.next { right: -20px; }
.pc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.pc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-line); cursor: pointer; transition: var(--t);
}
.pc-dot.active { width: 28px; border-radius: 5px; background: var(--c-red); }
.prod-carousel.single .pc-arrow, .prod-carousel.single .pc-dots { display: none; }
@media (max-width: 1100px) { .prod-track .prod-card { flex-basis: calc((100% - 48px) / 3); } }
@media (max-width: 860px) {
  .prod-track .prod-card { flex-basis: calc((100% - 24px) / 2); }
  .pc-arrow.prev { left: -8px; }
  .pc-arrow.next { right: -8px; }
}
@media (max-width: 520px) {
  .prod-track { gap: 14px; }
  .prod-track .prod-card { flex-basis: 82%; }
  .pc-arrow { display: none; }
}

/* ==========================================================================
   SS CMS 模板专用：页脚独立宽度 + 紧凑菜单列 / 下载中心说明文字单行
   页脚内容区比正文窄并整体居中；菜单列按文字宽度排布、列间留固定间距，
   不再拉伸成等宽大列，后台增减一级栏目时自然换行；
   下载中心说明原 max-width:640px 会被挤成两行，放开宽度后 PC 端一行显示。
   ========================================================================== */
:root { --w-footer: 1040px; }
.footer > .container { max-width: var(--w-footer); }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start;
  justify-content: center; gap: 30px 36px; }
.footer-brand { flex: 0 1 280px; }
.footer-col { flex: 0 0 auto; min-width: 72px; max-width: 140px; }
.footer-col h4 a { color: #fff; }
.footer-col h4 a:hover { color: var(--c-amber); }
.footer-col ul a { display: inline-block; max-width: 100%; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
@media (max-width: 1024px) {
  .footer-top { justify-content: flex-start; gap: 26px 28px; }
  .footer-brand { flex: 1 1 100%; }
  .footer-col { flex: 0 0 calc(25% - 21px); max-width: none; }
}
@media (max-width: 640px) {
  .footer-col { flex: 0 0 calc(50% - 14px); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom > span { max-width: 100%; overflow-wrap: anywhere; }
}
.download-head p { max-width: none; }
@media (min-width: 861px) { .download-head p { white-space: nowrap; } }
