/* ==========================================================================
   欧易 OKX 官网模版 - 基础样式
   设计系统：白色简洁金融风 / 胶囊化组件 / 柔和半透明选中态
   ========================================================================== */

:root {
  --ink: #0b0e11;
  --text: #1e2329;
  --muted: #5f6875;
  --muted-2: #8b93a1;
  --line: #e9ecf1;
  --line-strong: #dce2ec;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-tint: #f4f8ff;
  --primary: #1652f0;
  --primary-dark: #0f3ecb;
  --primary-soft: #eef3ff;
  --primary-tint: #f6f9ff;
  --up: #0ecb81;
  --up-soft: #e8fbf2;
  --down: #f6465d;
  --down-soft: #fdeef0;
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --pill: 999px;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-2: 0 12px 32px -14px rgba(15, 23, 42, .18);
  --shadow-3: 0 30px 70px -30px rgba(15, 23, 42, .28);
  --max: 1240px;
  --header-h: 72px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(34px, 4.6vw, 58px); }
h2 { font-size: clamp(27px, 3.1vw, 40px); }
h3 { font-size: clamp(19px, 1.6vw, 23px); }
h4 { font-size: 17px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .18s ease, opacity .18s ease;
}

a:hover { color: var(--primary-dark); }

img, svg { max-width: 100%; }
img { border: 0; height: auto; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: var(--primary);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 滚动条 -------------------------------------------------------------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #d8dee8; border-radius: 999px; border: 3px solid #fff; }
::-webkit-scrollbar-thumb:hover { background: #c3ccda; }

/* ==========================================================================
   布局工具
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-sm { padding: 56px 0; }

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-tint {
  background:
    radial-gradient(900px 340px at 50% -10%, #eaf1ff 0%, rgba(255, 255, 255, 0) 70%),
    #fff;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 16.5px;
  margin-top: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 13px;
  margin-bottom: 16px;
  border-radius: var(--pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}

.eyebrow.neutral {
  background: #f1f3f7;
  color: var(--muted);
}

.eyebrow .icon { width: 15px; height: 15px; }

.lead {
  font-size: 17.5px;
  color: var(--muted);
  line-height: 1.75;
}

.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.text-up { color: var(--up) !important; }
.text-down { color: var(--down) !important; }
.text-primary { color: var(--primary) !important; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.w-100 { width: 100%; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 轻量响应式工具类（沿用项目 Bootstrap 习惯命名） */
.d-flex { display: flex !important; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.align-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-flex { display: flex !important; }
}

@media (max-width: 991px) {
  .d-md-none { display: none !important; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .container, .container-narrow { padding: 0 18px; }
  body { font-size: 15.5px; }
}

/* ==========================================================================
   图标
   ========================================================================== */
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
  vertical-align: -3px;
}

.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease,
    box-shadow .18s ease, transform .18s ease;
}

.btn:active { transform: translateY(1px); }

.btn .icon { width: 17px; height: 17px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(22, 82, 240, .8);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(22, 82, 240, .85);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #1d242c;
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-1);
}

.btn-ghost:hover {
  background: #fbfcfe;
  border-color: #c9d3e2;
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-soft {
  background: var(--primary-soft);
  color: var(--primary);
}

.btn-soft:hover {
  background: #e3ecff;
  color: var(--primary-dark);
}

.btn-link {
  height: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font-weight: 600;
  border-radius: 0;
}

.btn-link:hover { color: var(--primary-dark); }
.btn-link:hover .icon { transform: translateX(2px); }
.btn-link .icon { transition: transform .18s ease; }

.btn-white {
  background: #fff;
  color: var(--ink);
}

.btn-white:hover {
  background: #f2f5fa;
  color: var(--ink);
}

.btn-outline-light {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-sm .icon { width: 15px; height: 15px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ==========================================================================
   顶部公告
   ========================================================================== */
.announce {
  background: var(--ink);
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 38px;
  padding: 6px 44px;
  text-align: center;
  position: relative;
}

.announce b { color: #fff; font-weight: 600; }

.announce a {
  color: #9dbcff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.announce a:hover { color: #fff; }

.announce-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .7);
  transition: .18s;
}

.announce-close:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.announce-close .icon { width: 13px; height: 13px; }

/* ==========================================================================
   页头
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(15, 23, 42, .55);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 120px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}

.nav-link:hover { background: var(--bg-soft); color: var(--ink); }

.nav-link.is-active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

.nav-link .icon {
  width: 13px;
  height: 13px;
  opacity: .6;
  transition: transform .2s ease;
}

.nav-item:hover .nav-link .icon { transform: rotate(180deg); }

/* 下拉菜单 */
.nav-item.has-menu::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: 100%;
  height: 16px;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 470px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.nav-item:hover .nav-panel,
.nav-item:focus-within .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-panel.wide {
  width: 560px;
  grid-template-columns: 1fr 1fr 1fr;
}

.menu-link {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-xs);
  transition: background .16s ease;
}

.menu-link:hover { background: var(--primary-tint); }

.menu-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
}

.menu-ico .icon { width: 18px; height: 18px; }

.menu-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.menu-desc {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.5;
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* 移动端导航条：胶囊横向滚动，不显示汉堡菜单 */
.mobile-bar {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-bar .scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-bar .scroll::-webkit-scrollbar { display: none; }

.mobile-bar .nav-link {
  height: 32px;
  padding: 0 12px;
  font-size: 13.5px;
  border: 1px solid var(--line);
  background: #fff;
}

.mobile-bar .nav-link.is-active {
  border-color: transparent;
  background: var(--primary-soft);
}

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .mobile-bar { display: block; }
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 991px) {
  .header-inner { height: 62px; }
  .brand img { width: 104px; }
  .header-actions .btn { height: 34px; padding: 0 14px; font-size: 13.5px; }
  .header-actions .btn .icon { width: 14px; height: 14px; }
}

@media (max-width: 380px) {
  .brand img { width: 92px; }
  .header-actions .btn { padding: 0 11px; font-size: 12.5px; }
}

/* ==========================================================================
   面包屑 / 页头横幅
   ========================================================================== */
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted-2);
  margin-bottom: 18px;
}

.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs .icon { width: 12px; height: 12px; opacity: .6; }
.crumbs span { color: var(--muted-2); }

.page-hero {
  position: relative;
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 320px at 12% -30%, #e8f0ff 0%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(180deg, #fbfdff 0%, #fff 100%);
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(30px, 3.8vw, 46px);
  margin-bottom: 14px;
}

.page-hero .lead { max-width: 680px; }

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ==========================================================================
   卡片 / 徽标 / 表格基础
   ========================================================================== */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.card-hover:hover {
  border-color: #d6e2fb;
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border-radius: var(--pill);
  background: #f2f4f8;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}

.chip .icon { width: 13px; height: 13px; }
.chip-primary { background: var(--primary-soft); color: var(--primary); }
.chip-up { background: var(--up-soft); color: #0aa872; }
.chip-down { background: var(--down-soft); color: #dc3248; }
.chip-dark { background: var(--ink); color: #fff; }

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 3px rgba(14, 203, 129, .16);
  flex: 0 0 auto;
}

.avatar-coin {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  flex: 0 0 auto;
  letter-spacing: -.02em;
}

.avatar-coin.btc { background: #fff4e5; color: #e8871e; }
.avatar-coin.eth { background: #eef1fb; color: #4c5fd5; }
.avatar-coin.sol { background: #ecfbf4; color: #0f9b6c; }
.avatar-coin.usdt { background: #e8faf5; color: #12a37a; }
.avatar-coin.xrp { background: #eff1f5; color: #45536b; }
.avatar-coin.doge { background: #fff8e3; color: #b58a05; }
.avatar-coin.ada { background: #eaf3ff; color: #1f63c9; }
.avatar-coin.avax { background: #fdecef; color: #d0344b; }
.avatar-coin.link { background: #eaf1ff; color: #2f5bd0; }
.avatar-coin.dotcoin { background: #fdeaf5; color: #c0288c; }

/* 表格 */
.table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fbfcfe;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}

.data-table th:first-child,
.data-table td:first-child { text-align: left; }

.data-table th:last-child,
.data-table td:last-child { text-align: right; }

@media (max-width: 767px) {
  .data-table .hide-sm { display: none; }
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f2f4f8;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background .16s ease; }
.data-table tbody tr:hover { background: #fafcff; }

.table-scroll { overflow-x: auto; }

@media (max-width: 767px) {
  .data-table th, .data-table td { padding: 12px 14px; }
  .data-table { font-size: 13.5px; }
}

/* ==========================================================================
   折叠面板
   ========================================================================== */
.accordion { border-top: 1px solid var(--line); }

.accordion details {
  border-bottom: 1px solid var(--line);
  transition: background .18s ease;
}

.accordion details[open] { background: linear-gradient(180deg, #fbfdff, #fff); }

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary .pm {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  flex: 0 0 auto;
  transition: .2s;
}

.accordion summary .pm .icon { width: 14px; height: 14px; transition: transform .2s ease; }
.accordion details[open] summary .pm { background: var(--primary-soft); color: var(--primary); }
.accordion details[open] summary .pm .icon { transform: rotate(45deg); }
.accordion summary:hover .pm { background: var(--primary-soft); color: var(--primary); }

.accordion .acc-body {
  padding: 0 44px 22px 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.accordion .acc-body a { font-weight: 500; }
.accordion .acc-body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   表单
   ========================================================================== */
.field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(22, 82, 240, .1);
}

.field .icon { color: var(--muted-2); width: 17px; height: 17px; }

.field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
}

.field input::placeholder { color: var(--muted-2); }

/* ==========================================================================
   提示条
   ========================================================================== */
.notice {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--primary-tint);
  border: 1px solid #e0eaff;
  color: #2c4a86;
  font-size: 14px;
  line-height: 1.7;
}

.notice .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--primary); }
.notice.warn { background: #fffaf0; border-color: #fbe6c2; color: #7a5a13; }
.notice.warn .icon { color: #d99a1d; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  background: #fbfcfe;
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
  font-size: 13.5px;
  color: var(--muted);
}

.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 3.2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.foot-brand img { width: 120px; height: auto; margin-bottom: 16px; }

.foot-brand p {
  max-width: 300px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: .18s;
}

.socials a:hover {
  color: var(--primary);
  border-color: #cfe0ff;
  background: var(--primary-tint);
  transform: translateY(-2px);
}

.socials .icon { width: 16px; height: 16px; }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.foot-col h5 {
  margin: 0 0 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}

.foot-col ul { list-style: none; margin: 0; padding: 0; }

.foot-col li { margin-bottom: 10px; }

.foot-col a {
  color: var(--muted);
  font-size: 13.5px;
  transition: color .16s ease;
}

.foot-col a:hover { color: var(--primary); }

.risk-note {
  margin: 26px 0 0;
  padding: 0 0 22px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line);
}

.risk-note b { color: var(--muted); font-weight: 600; }

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--muted-2);
}

.foot-bottom .links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.foot-bottom .links a { color: var(--muted-2); }
.foot-bottom .links a:hover { color: var(--primary); }
.foot-bottom .sep { color: #d7dce5; }

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: #fff;
  color: var(--text);
  font-size: 12.5px;
}

.lang-pill .icon { width: 14px; height: 14px; color: var(--muted); }

@media (max-width: 1024px) {
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .site-footer { padding-top: 44px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   滚动出现动画
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1),
    transform .6s cubic-bezier(.22, .61, .36, 1);
}

.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* 跳转链接 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 0 0 12px 0;
  font-size: 14px;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* 回到顶部 */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .22s ease;
}

.to-top.is-in { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: #cfe0ff; color: var(--primary); }
.to-top .icon { width: 18px; height: 18px; transform: rotate(-90deg); }
