/* ============================================================
   平台服务团队 · 碳交易与碳金融品牌站
   设计语言：品牌红（公司品牌主色，源自公司宣传册红体系）
             + 低碳绿（碳主题辅助色）
   架构：纯静态多页 + 云端服务动态能力
   ============================================================ */

:root {
  /* 品牌色（品牌红，取样自公司宣传册封面红带 #B42936–#C82439） */
  --c-brand-900: #5f101b;
  --c-brand-700: #8f1d29;
  --c-brand-600: #a8212f;
  --c-brand-500: #c02434;
  --c-brand-300: #e2848e;
  --c-brand-050: #fbeef0;

  --c-green-700: #147a44;
  --c-green-600: #1e9e5a;
  --c-green-500: #25b866;
  --c-green-300: #8fd9ae;
  --c-green-050: #eafaf1;

  /* 中性色 */
  --c-ink: #16202e;
  --c-ink-2: #44505f;
  --c-muted: #5b6675;
  --c-line: #e4e9f0;
  --c-bg: #ffffff;
  --c-bg-soft: #f7f6f6;
  --c-bg-dark: #2b1115;

  /* 排版 */
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Segoe UI", Roboto, Helvetica, Arial, system-ui, sans-serif;

  /* 间距与圆角 */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(95, 16, 27, 0.06);
  --shadow: 0 10px 30px rgba(95, 16, 27, 0.1);
  --shadow-lg: 0 24px 60px rgba(95, 16, 27, 0.16);
  --container: 1180px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
p {
  margin: 0 0 1em;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

/* 焦点可见性（无障碍） */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--c-brand-300);
  outline-offset: 2px;
}

/* ---------- 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide {
  max-width: 1480px;
}
.section {
  padding: 84px 0;
  scroll-margin-top: 72px;
}
.section--soft {
  background: var(--c-bg-soft);
}
.section--dark {
  background: linear-gradient(135deg, var(--c-brand-900), var(--c-brand-700));
  color: #fff;
}
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section--dark .eyebrow {
  color: var(--c-brand-300);
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-brand-600);
  margin-bottom: 14px;
}
.section__head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section__head h2 {
  font-size: clamp(26px, 4vw, 38px);
}
.section__head p {
  color: var(--c-ink-2);
  margin-top: 14px;
  font-size: 17px;
}
.section--dark .section__head p {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: linear-gradient(135deg, var(--c-brand-600), var(--c-brand-500));
  color: #fff;
  box-shadow: 0 8px 20px rgba(192, 36, 52, 0.28);
}
.btn--primary:hover {
  box-shadow: 0 12px 26px rgba(192, 36, 52, 0.36);
}
.btn--green {
  background: linear-gradient(135deg, var(--c-green-600), var(--c-green-500));
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 158, 90, 0.26);
}
.btn--ghost {
  background: transparent;
  border-color: var(--c-brand-700);
  color: var(--c-brand-700);
}
.btn--ghost:hover {
  background: var(--c-brand-050);
}
.btn--light {
  background: #fff;
  color: var(--c-brand-700);
}
.btn--light:hover {
  box-shadow: var(--shadow);
}
.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn--block {
  width: 100%;
}
.btn--sm {
  padding: 9px 18px;
  font-size: 14px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 18px;
  color: var(--c-brand-900);
}
.brand .logo {
  width: 38px;
  height: 38px;
  flex: none;
}
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-brand-600);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--c-ink-2);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__links a:hover {
  background: var(--c-brand-050);
  color: var(--c-brand-700);
}
.nav__links a.is-active {
  color: var(--c-brand-700);
  background: var(--c-brand-050);
}
/* 下拉二级菜单（五大智能模块 / 碳市场行情速览） */
.nav__item {
  position: relative;
}
a.nav__trigger::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
}
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 196px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 80;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav__links .nav__dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--c-ink-2);
}
.nav__links .nav__dropdown a:hover {
  background: var(--c-brand-050);
  color: var(--c-brand-700);
}
/* 「碳市图览 · 碳市场交易每日观察」日报卡片 */
.dr-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 18px 18px 14px;
  color: #1f2733;
}
.dr-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 2px solid #7a1f22;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.dr-brand b {
  display: block;
  font-size: 19px;
  color: #a52a2e;
  letter-spacing: 0.06em;
}
.dr-brand span {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #98a1b3;
}
.dr-title {
  flex: 1;
  text-align: center;
}
.dr-title b {
  display: block;
  font-size: 17px;
  color: #17356b;
  letter-spacing: 0.04em;
}
.dr-title span {
  font-size: 11px;
  color: #8a93a6;
}
.dr-date {
  text-align: right;
}
.dr-date b {
  display: block;
  font-size: 16px;
  color: #1f2733;
}
.dr-date span {
  font-size: 11px;
  color: #8a93a6;
}
.dr-sec {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 15px;
  margin: 14px 0 8px;
  color: #1f2733;
}
.dr-sec i {
  width: 4px;
  height: 14px;
  background: #17356b;
  border-radius: 2px;
}
.dr-sec-hint {
  margin-left: auto;
  font-size: 11px;
  font-weight: 400;
  color: #98a1b3;
}
.dr-quote {
  display: grid;
  grid-template-columns: 212px 1fr;
  gap: 10px;
}
.dr-hero {
  background: #1c212b;
  border-radius: 12px;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dr-hero-label {
  font-size: 11px;
  color: #9aa3b2;
}
.dr-hero-price {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.dr-hero-price small {
  font-size: 12px;
  font-weight: 400;
  margin-left: 4px;
  color: #9aa3b2;
}
.dr-hero-chg {
  font-size: 14px;
  font-weight: 700;
}
.dr-hero-chg.is-up {
  color: #ff8a80;
}
.dr-hero-chg.is-down {
  color: #7bd9a6;
}
/* 涨红跌绿（A 股/碳市惯例）：卡片数值通用 */
.is-up {
  color: #d8493f;
}
.is-down {
  color: #23a55b;
}
.dr-hero-prev {
  font-size: 11px;
  color: #9aa3b2;
}
.dr-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.dr-tiles--5 {
  grid-template-columns: repeat(5, 1fr);
}
.dr-tile {
  background: #f5f7fa;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dr-tile span {
  font-size: 11px;
  color: #8a93a6;
}
.dr-tile b {
  font-size: 16px;
  font-weight: 700;
  color: #1f2733;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dr-tile small {
  font-size: 10px;
  color: #98a1b3;
}
.dr-tile .is-buy {
  color: #17356b;
}
.dr-tile .is-sell {
  color: #d8493f;
}
.dr-tile b.is-up {
  color: #d8493f;
}
.dr-tile b.is-down {
  color: #23a55b;
}
.dr-view {
  border-left: 4px solid #17356b;
  background: #f2f5fa;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 12px 0 4px;
}
.dr-view-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dr-view-head b {
  font-size: 15px;
  color: #17356b;
}
.dr-tag {
  border: 1px solid #17356b;
  color: #17356b;
  border-radius: 6px;
  padding: 1px 10px;
  font-size: 12px;
  font-weight: 600;
}
.dr-view p {
  margin: 6px 0 2px;
  font-size: 14px;
  line-height: 1.65;
  color: #1f2733;
}
.dr-kline {
  width: 100%;
  height: auto;
  display: block;
  background: #fbfcfe;
  border: 1px solid #eef1f6;
  border-radius: 10px;
}
.dr-power-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #1f2733;
  margin: 10px 0 4px;
}
.dr-power-bar {
  flex: 1;
  display: flex;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
}
.dr-power-bar i.is-buy {
  background: #2f5aa8;
}
.dr-power-bar i.is-sell {
  background: #b8c2d2;
}
.dr-signal {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  margin-top: 8px;
}
.dr-signal b {
  color: #17356b;
}
.dr-signal .is-sell {
  color: #d8493f;
  font-weight: 700;
}
.dr-signal .is-buy {
  color: #2f5aa8;
  font-weight: 700;
}
@media (max-width: 720px) {
  .dr-head {
    flex-wrap: wrap;
  }
  .dr-title {
    order: 3;
    flex-basis: 100%;
    text-align: left;
  }
  .dr-quote {
    grid-template-columns: 1fr;
  }
  .dr-tiles,
  .dr-tiles--5 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-ink);
  position: relative;
  transition: 0.2s;
}
.nav__toggle span::before {
  position: absolute;
  top: -6px;
}
.nav__toggle span::after {
  position: absolute;
  top: 6px;
}
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 7px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink-2);
}
.user-chip .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-brand-500), var(--c-brand-700));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      1200px 600px at 85% -10%,
      rgba(37, 184, 102, 0.14),
      transparent 60%
    ),
    radial-gradient(
      1000px 500px at 0% 0%,
      rgba(192, 36, 52, 0.1),
      transparent 55%
    ),
    linear-gradient(180deg, #fffafa, #ffffff);
  padding: 92px 0 76px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(192, 36, 52, 0.08), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  display: block;
  background: linear-gradient(120deg, var(--c-brand-600), var(--c-brand-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 18px;
  color: var(--c-ink-2);
  margin: 22px 0 30px;
  max-width: 540px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero__stats .stat strong {
  display: block;
  font-size: 28px;
  color: var(--c-brand-700);
}
.hero__stats .stat span {
  font-size: 13px;
  color: var(--c-muted);
}
.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--c-brand-900), var(--c-brand-700));
  color: #fff;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero__visual h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
}
.ticker {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.ticker:first-of-type {
  border-top: none;
}
.ticker .price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ticker .up {
  color: #ff6b6b;
} /* 中国习惯：涨红 */
.ticker .down {
  color: #34d399;
}

/* ---------- 信任条 ---------- */
.trustbar {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: #fff;
  padding: 22px 0;
}
.trustbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.trustbar span {
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- 模块卡片（首页四模块） ---------- */
.modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.module-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--c-brand-300);
}
.module-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--c-brand-050);
  color: var(--c-brand-600);
}
.module-card h3 {
  font-size: 20px;
}
.module-card p {
  color: var(--c-ink-2);
  font-size: 15px;
  margin: 0;
  flex: 1;
}
.module-card .tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--c-green-050);
  color: var(--c-green-700);
}
.module-card .go {
  margin-top: 6px;
  font-weight: 700;
  color: var(--c-brand-700);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* 作为链接使用的模块卡（如策略大师跳转独立页）：去掉下划线与默认链接色 */
a.module-card {
  text-decoration: none;
  color: inherit;
}

/* ---------- 特性列表（选择理由，四块） ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.feature .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--c-brand-050);
  color: var(--c-brand-600);
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
}
.feature p {
  color: var(--c-ink-2);
  font-size: 14.5px;
  margin: 0;
}

/* ---------- 一体化服务（核心定位） ---------- */
.pillars-band {
  background: linear-gradient(135deg, var(--c-brand-050), #fff 70%);
}
.pillars {
  grid-template-columns: repeat(3, 1fr);
}
.pillars .feature {
  border-top: 3px solid var(--c-brand-500);
}
.pillars .feature h3 {
  font-size: 18px;
}
.pillars__outcome {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--c-brand-700);
  color: #fff;
  box-shadow: var(--shadow);
}
.pillars__outcome strong {
  font-size: 22px;
  letter-spacing: 0.5px;
}
.pillars__outcome span {
  font-size: 14.5px;
  color: var(--c-brand-300);
}

/* ---------- 历史业绩与荣誉 ---------- */
.honors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.honor-stat {
  background: #fff;
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-brand-500);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.honor-stat strong {
  display: block;
  font-size: 22px;
  line-height: 1.3;
  color: var(--c-brand-700);
}
.honor-stat span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--c-ink-2);
}
.honor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}
.honor-chip {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  color: var(--c-ink-2);
  box-shadow: var(--shadow-sm);
}
.honor-chip b {
  color: var(--c-brand-700);
}
.honor-note {
  margin: 20px 0 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--c-muted);
}

/* ---------- 流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 15px;
  font-weight: 800;
  color: var(--c-brand-300);
}
.step h3 {
  font-size: 17px;
  margin: 10px 0 6px;
}
.step p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  margin-bottom: 16px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 26px;
}
.cta-note {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
  max-width: 520px;
  margin: -14px auto 26px;
}

/* ---------- 页面标题 ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--c-brand-900), var(--c-brand-700));
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 14px;
  max-width: 640px;
  font-size: 17px;
}
.brand-slogan {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 600;
}
.brand-slogan--hero {
  color: var(--c-brand-700);
  border-color: var(--c-brand-500);
  background: rgba(192, 36, 52, 0.06);
  font-size: 16px;
}

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.about-grid img,
.about-grid .media {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--c-brand-500), var(--c-brand-700));
}
.value-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.value-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px;
}
.value-list .icon {
  color: var(--c-brand-600);
  flex: none;
}
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.member {
  text-align: center;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px 16px;
  box-shadow: var(--shadow-sm);
}
.member .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--c-brand-500), var(--c-brand-700));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 700;
}
.member h3 {
  font-size: 16px;
}
.member span {
  color: var(--c-muted);
  font-size: 13px;
}

/* ---------- 产品服务 ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.svc-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--c-brand-050);
  color: var(--c-brand-600);
  margin-bottom: 16px;
}
.svc-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.svc-card p {
  color: var(--c-ink-2);
  font-size: 15px;
}
.svc-card ul {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.svc-card li {
  position: relative;
  padding-left: 24px;
  color: var(--c-ink-2);
  font-size: 14.5px;
}
.svc-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-green-600);
  font-weight: 800;
}

/* ---------- 表单 ---------- */
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 7px;
  color: var(--c-ink);
}
.field label .req {
  color: #e5484d;
  margin-left: 2px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--c-ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--c-brand-500);
  box-shadow: 0 0 0 3px var(--c-brand-050);
  outline: 2px solid var(--c-brand-500);
  outline-offset: 0;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-note {
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 6px;
}
.demo-banner {
  font-size: 13px;
  line-height: 1.6;
  color: #8a6d1f;
  background: #fdf6e3;
  border: 1px solid #f0d999;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0 0 16px;
}
.demo-banner b { color: #9a6a12; }
.news-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-ink);
  margin: 18px 0 10px;
}
.news-item {
  border-left: 3px solid var(--c-brand-500);
  background: rgba(192, 36, 52, 0.06);
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
  margin: 0 0 12px;
}
.news-head {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-ink);
  font-weight: 600;
}
.tag {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
}
.tag--cn { background: var(--c-brand-600); }
.tag--intl { background: #a3722a; }
.news-comment {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-ink-2);
  margin: 8px 0 0;
}
.field--check .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--c-ink-2);
  font-weight: 500;
  cursor: pointer;
}
.field--check .check input {
  width: auto;
  margin-top: 3px;
  flex: none;
}
.form-msg {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.form-msg.is-ok {
  display: block;
  background: var(--c-green-050);
  color: var(--c-green-700);
}
.form-msg.is-err {
  display: block;
  background: #fdecec;
  color: #c0392b;
}

/* ---------- 弹窗（模块详情） ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(43, 17, 21, 0.55);
  backdrop-filter: blur(3px);
}
.modal.is-open {
  display: flex;
}
.modal__panel {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: pop 0.18s ease;
}
/* 日报卡片版式内容多，弹窗放宽 */
.modal__panel.is-wide {
  max-width: 880px;
}
@keyframes pop {
  from {
    transform: translateY(12px) scale(0.98);
    opacity: 0;
  }
}
.modal__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 26px 14px;
  border-bottom: 1px solid var(--c-line);
}
.modal__head .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--c-brand-050);
  color: var(--c-brand-600);
  flex: none;
}
.modal__head h3 {
  font-size: 20px;
}
.modal__head .close {
  margin-left: auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--c-line);
  background: #fff;
  font-size: 20px;
  line-height: 1;
  color: var(--c-ink-2);
}
.modal__body {
  padding: 22px 26px;
}
.modal__body p {
  color: var(--c-ink-2);
  font-size: 15px;
}
.modal__preview {
  background: var(--c-bg-soft);
  border: 1px dashed var(--c-line);
  border-radius: var(--radius);
  padding: 18px;
  margin: 16px 0;
  font-size: 14px;
}
.modal__preview h4 {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--c-brand-700);
}
.modal__preview .row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--c-line);
}
.modal__preview .row:last-child {
  border-bottom: none;
}
.modal__preview .row .v {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.modal__foot {
  padding: 0 26px 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-green-700);
}
.badge-live .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green-500);
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.modal-risk {
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
}
.ticker-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 10px;
  letter-spacing: 0.03em;
}

/* ---------- 提示条 / Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--c-brand-900);
  color: #fff;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 200;
}
.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--c-bg-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer .brand {
  color: #fff;
}
.site-footer .brand small {
  color: var(--c-brand-300);
}
.footer-grid p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
}
.footer-grid h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
}
.footer-grid a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  padding: 5px 0;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.disclaimer {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .features,
  .steps,
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .honors {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .section {
    padding: 56px 0;
  }
  .nav__links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.is-open {
    display: flex;
  }
  .nav__links a {
    padding: 13px 10px;
    border-radius: 10px;
  }
  /* 移动端：下拉菜单改为点击展开，收纳在父项下方 */
  .nav__item {
    display: flex;
    flex-direction: column;
  }
  .nav__dropdown {
    position: static;
    transform: none;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: 0 0 4px 16px;
    display: none;
  }
  .nav__item.is-open .nav__dropdown {
    display: flex;
  }
  .nav__toggle {
    display: inline-flex;
  }
  .modules,
  .features,
  .steps,
  .team,
  .svc-grid,
  .value-list,
  .honors {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .hero__stats {
    gap: 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 24px 18px;
  }
  /* ---- 移动端头部与全局收窄 ---- */
  .container {
    padding: 0 16px;
  }
  .nav {
    height: 58px;
    gap: 8px;
  }
  .brand {
    font-size: 15.5px;
    gap: 8px;
    min-width: 0;
  }
  .brand > span {
    white-space: nowrap;
  }
  .brand .logo {
    width: 32px;
    height: 32px;
  }
  .brand small {
    display: none;
  }
  .nav__actions {
    gap: 6px;
    flex-shrink: 0;
  }
  .nav__actions .btn {
    padding: 7px 12px;
    font-size: 13px;
  }
  .user-chip {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .user-menu__pop {
    position: fixed;
    right: 12px;
    top: 64px;
  }
  /* ---- 通栏卡片与图表 ---- */
  .panel,
  .card,
  .kpi-grid {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* 尊重减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ---------- 数据水印（行情数据页，含登录身份，防数据外传溯源） ---------- */
.cp-watermark {
  position: fixed;
  inset: -40%;
  z-index: 2147483000;
  pointer-events: none;
  white-space: pre-wrap;
  word-break: break-all;
  text-align: center;
  line-height: 4.2;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(90, 100, 110, 0.055);
  transform: rotate(-18deg);
  user-select: none;
  overflow: hidden;
}
@media print {
  .cp-watermark { color: rgba(90, 100, 110, 0.18); }
}


/* ============================================================
   首页「关于我们」板块（含业务介绍 PPT / 视频预留位）
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.about-intro p {
  color: var(--c-ink-2);
  font-size: 15.5px;
  line-height: 1.85;
  margin: 0 0 20px;
}
.about-facts {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.about-facts li {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}
.about-facts li b {
  color: var(--c-brand-700);
  font-size: 15px;
}
.about-facts li span {
  color: var(--c-muted);
  font-size: 13px;
}
.about-media {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.about-media h4 {
  margin: 0;
  font-size: 16px;
}
.about-media__ppt,
.about-media__video {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.about-media__ppt {
  background: var(--c-brand-050);
  border: 1px solid var(--c-brand-300);
  color: var(--c-brand-700);
}
.about-media__ppt:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.about-media__ppt.is-pending {
  opacity: 0.65;
  cursor: not-allowed;
}
.about-media__video {
  background: #f4f6f9;
  border: 1px dashed var(--c-line);
  color: var(--c-muted);
}
.about-media__video:disabled {
  cursor: not-allowed;
}
.about-media__ico {
  font-size: 18px;
}
.about-media__note {
  margin: 0;
  font-size: 12.5px;
  color: var(--c-muted);
  line-height: 1.7;
}

/* ============================================================
   交流广场（square）：登录门禁 / 发布入口 / 需求列表 / 撮合
   ============================================================ */
.square-gate__card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  box-shadow: var(--shadow-sm);
}
.square-gate__card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.square-gate__card p {
  color: var(--c-ink-2);
  font-size: 14.5px;
  margin: 0 0 22px;
}
.square-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.square-actions__note {
  font-size: 13px;
  color: var(--c-muted);
}
.btn--lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius);
}
.square-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.square-empty {
  color: var(--c-muted);
  font-size: 14px;
  text-align: center;
  padding: 28px 0;
  margin: 0;
}
.post {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.post.is-closed {
  opacity: 0.62;
}
.post__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.post__dir {
  font-size: 13px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  color: #fff;
}
.post__dir--buy {
  background: var(--c-brand-500);
}
.post__dir--sell {
  background: var(--c-green-600);
}
.post__variety {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-ink);
}
.post__status {
  font-size: 12px;
  color: var(--c-muted);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 2px 10px;
}
.post__no {
  margin-left: auto;
  font-size: 12px;
  color: var(--c-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13.5px;
  color: var(--c-muted);
  margin-bottom: 8px;
}
.post__meta b {
  color: var(--c-ink);
  font-weight: 600;
}
.post__price {
  color: var(--c-brand-700);
  font-weight: 600;
}
.post__remark {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--c-ink-2);
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}
.post__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px dashed var(--c-line);
  padding-top: 10px;
}
.post__who {
  font-size: 12.5px;
  color: var(--c-muted);
}
.square-privacy {
  font-size: 13px;
  color: var(--c-ink-2);
  background: var(--c-brand-050);
  border: 1px solid var(--c-brand-300);
  border-radius: var(--radius);
  padding: 12px 16px;
  line-height: 1.75;
  margin: 0 0 22px;
}
.square-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--c-line);
  padding-top: 18px;
}
.square-tools__label {
  font-size: 13px;
  color: var(--c-muted);
}
.module-card--chip {
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: none;
}
.module-card--chip:hover {
  transform: translateY(-1px);
}

/* 弹窗内单选组（复用：需求方向） */
.mode {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 0 0 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.mode legend {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-ink);
  padding: 0 6px;
}
.mode__opt {
  flex: 1 1 180px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  cursor: pointer;
}
.mode__opt strong {
  display: block;
  font-size: 14px;
}
.mode__opt em {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  color: var(--c-muted);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.7;
  margin-top: 4px;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .about-facts {
    grid-template-columns: 1fr;
  }
  .post__foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .post__no {
    margin-left: 0;
  }
}

/* ============================================================
   行情速览增强：实时圆点 + 悬浮详情小窗（market.js 驱动）
   ============================================================ */
.ticker {
  cursor: pointer;
  transition: background 0.15s ease;
}
.ticker:hover,
.ticker:focus-visible {
  background: rgba(192, 57, 43, 0.06);
  outline: none;
}
.ticker.is-live > span:first-child::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-radius: 50%;
  background: #c0392b;
  animation: mkt-pulse 1.6s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes mkt-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* ---------- 行情速览 → 完整行情引导（首页 hero 面板） ---------- */
.hero__visual h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.hero-visual-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 3px 10px 3px 8px;
}
.hero-visual-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b5e;
  animation: mkt-pulse 1.6s ease-in-out infinite;
}
.hero-visual-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: -8px 0 10px;
}
/* 行内交互：深底面板上的悬停/箭头反馈（覆盖通用红色淡纹） */
.hero__visual .ticker {
  border-radius: 9px;
  padding: 12px 10px;
  margin: 0 -10px;
}
.hero__visual .ticker:hover,
.hero__visual .ticker:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}
.hero__visual .ticker:active {
  background: rgba(255, 255, 255, 0.18);
}
.ticker-arrow {
  color: rgba(255, 255, 255, 0.4);
  font-size: 19px;
  line-height: 1;
  margin-left: 8px;
  transition: transform 0.18s ease, color 0.18s ease;
}
.hero__visual .ticker:hover .ticker-arrow,
.hero__visual .ticker:focus-visible .ticker-arrow {
  transform: translateX(3px);
  color: #fff;
}
/* 面板级 CTA：查看完整行情 */
.hero-visual-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.hero-visual-cta:hover,
.hero-visual-cta:focus-visible {
  background: #fff;
  color: var(--c-brand-800, #14532d);
  transform: translateY(-1px);
  outline: none;
}
.hero-visual-cta svg {
  transition: transform 0.18s ease;
}
.hero-visual-cta:hover svg {
  transform: translateX(3px);
}

.mkt-pop {
  position: absolute;
  z-index: 90;
  width: 264px;
  padding: 14px 16px 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(20, 20, 30, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  pointer-events: none;
}
.mkt-pop.is-on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mkt-pop__title {
  font-size: 13px;
  font-weight: 600;
  color: #8a8f98;
  margin-bottom: 6px;
}
.mkt-pop__price {
  font-size: 26px;
  font-weight: 700;
  color: #1c1e21;
  line-height: 1.2;
}
.mkt-pop__price small {
  font-size: 12px;
  font-weight: 400;
  color: #8a8f98;
}
.mkt-pop__price em {
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  margin-left: 4px;
}
.mkt-pop__price em.up, .mkt-pop__kv b.up { color: #c0392b; }
.mkt-pop__price em.down, .mkt-pop__kv b.down { color: #1e8449; }
.mkt-pop__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin: 10px 0;
}
.mkt-pop__kv {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
}
.mkt-pop__kv b {
  font-weight: 600;
  color: #1c1e21;
  font-variant-numeric: tabular-nums;
}
.mkt-pop__spark {
  width: 100%;
  height: 56px;
  display: block;
}
.mkt-pop__src {
  font-size: 11px;
  color: #a0a6ae;
  margin-top: 6px;
  line-height: 1.5;
}
.mkt-pop__foot {
  margin-top: 8px;
  padding: 8px 6px 6px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(192, 57, 43, 0.06);
  font-size: 12.5px;
  font-weight: 600;
  color: #c0392b;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.mkt-pop__foot:hover {
  background: rgba(192, 57, 43, 0.13);
}

/* ---------- 行情详情页（market.html） ---------- */
.cea-board {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: stretch;
}
.cea-quote {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 22px;
}
.cea-quote__price {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.cea-quote__price small {
  font-size: 14px;
  font-weight: 400;
  color: #8a8f98;
}
.cea-quote__chg {
  font-size: 16px;
  font-weight: 600;
  margin: 4px 0 14px;
}
.cea-quote__chg.up { color: #c0392b; }
.cea-quote__chg.down { color: #1e8449; }
.cea-quote__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.cea-quote__grid li {
  font-size: 12px;
  color: #6b7280;
}
.cea-quote__grid b {
  display: block;
  font-size: 15px;
  color: #1c1e21;
  font-weight: 600;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.cea-quote__src {
  margin-top: 14px;
  font-size: 11px;
  color: #a0a6ae;
  line-height: 1.6;
}
.cea-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #c0392b;
  margin-left: 10px;
  vertical-align: middle;
}
.cea-live-badge[hidden] {
  display: none;
}
.cea-live-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c0392b;
  animation: mkt-pulse 1.6s ease-in-out infinite;
}
.cea-chart {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 18px 18px 8px;
}
.cea-chart h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
}
.cea-chart--hist { margin-top: 24px; }
@media (max-width: 860px) {
  .cea-board { grid-template-columns: 1fr; }
}

/* ---------- 底部行情条幅（速览不可见时的替代展示） ---------- */
.mkt-strip {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
  height: 44px;
  background: linear-gradient(90deg, var(--c-brand-900), var(--c-brand-700));
  color: #fff;
  box-shadow: 0 -4px 18px rgba(31, 26, 23, .22);
}
.mkt-strip.is-on { display: flex; }
body.mkt-strip-on { padding-bottom: 44px; }
.mkt-strip__label {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .75);
  border-right: 1px solid rgba(255, 255, 255, .22);
  padding-right: 18px;
}
.mkt-strip__items {
  display: flex;
  align-items: center;
  gap: 26px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.mkt-strip__items::-webkit-scrollbar { display: none; }
.mkt-strip__item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  cursor: pointer;
  padding: 4px 2px;
}
.mkt-strip__name {
  font-size: 12px;
  color: rgba(255, 255, 255, .72);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mkt-strip__val { font-size: 14px; font-weight: 600; }
.mkt-strip__val small { font-weight: 400; font-size: 11px; opacity: .8; }
.mkt-strip__val.up { color: #ffb3a7; }
.mkt-strip__val.down { color: #9fd8b4; }
.mkt-strip__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ff8a75;
  animation: mkt-pulse 1.6s ease-in-out infinite;
}
@media (max-width: 720px) {
  .mkt-strip { gap: 12px; padding: 0 12px; }
  .mkt-strip__label { display: none; }
  .mkt-strip__items { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .mkt-strip__dot { animation: none; }
}

/* 功能页登录门禁遮罩（仅未登录用户可见） */
.login-gate {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26, 23, 22, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 20px;
}
.login-gate__card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); max-width: 420px; width: 100%;
  padding: 36px 32px 32px; text-align: center;
}
.login-gate__icon {
  width: 64px; height: 64px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--c-brand-050); color: var(--c-brand-700);
}
.login-gate__card h2 { font-size: 20px; margin: 0 0 8px; color: var(--c-ink); }
.login-gate__card p { font-size: 13.5px; line-height: 1.8; color: var(--c-ink-2); margin: 0 0 22px; }
.login-gate__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 用户菜单（头像下拉） */
button.user-chip {
  cursor: pointer; font-family: inherit;
}
button.user-chip:hover { border-color: var(--c-brand-300); color: var(--c-brand-700); }
.user-chip .caret { opacity: .55; margin-left: -2px; }
.user-menu { position: relative; display: inline-block; }
.user-menu__pop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 90;
  min-width: 168px; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 6px; display: flex; flex-direction: column;
}
.user-menu__pop[hidden] { display: none; }
.user-menu__pop a, .user-menu__pop button {
  display: block; width: 100%; text-align: left;
  padding: 9px 12px; border: 0; background: none; border-radius: 6px;
  font-size: 13.5px; color: var(--c-ink); font-family: inherit; cursor: pointer;
  text-decoration: none;
}
.user-menu__pop a:hover, .user-menu__pop button:hover { background: var(--c-brand-050); color: var(--c-brand-800); }
.user-menu__pop #user-logout { color: #c0453a; }
.user-menu__pop #user-logout:hover { background: #fdf1f0; color: #a83228; }
.user-menu__status {
  display: block;
  margin: 4px 4px 2px;
  padding: 7px 10px;
  border-top: 1px dashed var(--c-line);
  font-size: 12px;
  color: var(--c-muted);
  text-align: center;
  letter-spacing: 0.2px;
}

/* 试用账户登录提示：居中悬浮弹窗 */
.trial-pop {
  position: fixed; inset: 0; z-index: 9950;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.trial-pop__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 24, 19, 0.5);
  backdrop-filter: blur(3px);
  animation: trial-pop-fade .25s ease;
}
.trial-pop__card {
  position: relative; max-width: 400px; width: 100%;
  background: #fff; border-radius: 18px;
  padding: 34px 30px 28px; text-align: center;
  box-shadow: 0 24px 70px rgba(6, 26, 19, 0.4);
  border: 1px solid rgba(23, 92, 71, 0.12);
  animation: trial-pop-in .35s cubic-bezier(.2, .9, .3, 1.2);
}
.trial-pop__x {
  position: absolute; top: 12px; right: 14px;
  border: 0; background: none; color: #9aa8a2;
  font-size: 22px; line-height: 1; padding: 4px 8px;
  cursor: pointer; font-family: inherit; border-radius: 6px;
}
.trial-pop__x:hover { color: #33413b; background: #f0f4f2; }
.trial-pop__icon {
  width: 58px; height: 58px; margin: 0 auto 14px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0e3b2e, #1d7a58);
  color: #ffd666;
}
.trial-pop__card h3 { margin: 0 0 6px; font-size: 19px; color: #14352a; }
.trial-pop__days {
  font-size: 14px; color: #5f6f68; margin-bottom: 12px;
}
.trial-pop__days b {
  font-size: 30px; color: #0e6b4c; font-weight: 700;
  margin: 0 3px; letter-spacing: 0.5px;
}
.trial-pop__card p {
  margin: 0 0 20px; font-size: 14px; line-height: 1.7; color: #46564f;
}
.trial-pop__card p b { color: #0e6b4c; }
.trial-pop__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@keyframes trial-pop-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes trial-pop-in {
  from { opacity: 0; transform: translateY(18px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
