/* coinglee — “Signal & Paper”
   深色汇率牌（信号）+ 暖纸底（纸面）。数字用等宽表格数字，标签用等宽字体，留白宽、层级少。 */

/* ========== 设计变量 ========== */
:root {
  --paper: #f4f2ea;
  --paper-2: #ebe8dc;
  --paper-3: #e1ddcf;
  --surface: #fffefa;
  --ink: #0d1b16;
  --ink-2: #3d4d47;
  --ink-3: #6b7a74;
  --ink-4: #98a39e;
  --line: #e2dfd2;
  --line-2: #cfcbbb;
  --brand: #12936c;
  --brand-2: #0b7354;
  --brand-tint: #e0f1e8;
  --amber: #f2b23b;
  --up: #0c8f5f;
  --down: #c9432f;

  --board: #0b1612;
  --board-2: #11211c;
  --board-3: #182d26;
  --board-line: rgba(160, 222, 196, .1);
  --board-ink: #eef6f2;
  --board-dim: #87a197;
  --board-best: #f6c25b;

  --c-binance: #cf9500;
  --c-okx: #0d1b16;
  --c-bybit: #e4572e;
  --c-ref: #8e9792;
  --area: #12936c;
  --heat-cheap: #12936c;
  --heat-dear: #e08a1e;

  --r-xl: 28px;
  --r-l: 20px;
  --r-m: 14px;
  --r-s: 10px;
  --shadow-1: 0 1px 2px rgba(13, 27, 22, .05), 0 6px 18px -8px rgba(13, 27, 22, .12);
  --shadow-2: 0 2px 4px rgba(13, 27, 22, .05), 0 24px 48px -16px rgba(13, 27, 22, .22);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);

  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #08110e;
    --paper-2: #0f1b17;
    --paper-3: #16241f;
    --surface: #0d1915;
    --ink: #e7f1ec;
    --ink-2: #b3c3bc;
    --ink-3: #7f918a;
    --ink-4: #5c6c66;
    --line: #1a2925;
    --line-2: #273a34;
    --brand: #22b084;
    --brand-2: #45d2a4;
    --brand-tint: #0f2a20;
    --up: #36c88c;
    --down: #f2735f;
    --board: #050c0a;
    --board-2: #0c1814;
    --board-3: #132620;
    --c-binance: #f0b90b;
    --c-okx: #e7f1ec;
    --c-bybit: #ff7a4d;
    --c-ref: #6f7f79;
    --area: #22b084;
    --heat-cheap: #22b084;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px -8px rgba(0, 0, 0, .5);
    --shadow-2: 0 2px 4px rgba(0, 0, 0, .4), 0 24px 48px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

/* ========== 基础 ========== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  font-feature-settings: "tnum" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* 极淡的纸面颗粒 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-color-scheme: dark) { body::before { opacity: .06; mix-blend-mode: screen; } }
.embed-body::before { display: none; }

a { color: var(--brand-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
img, svg, iframe { max-width: 100%; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
::selection { background: color-mix(in srgb, var(--brand) 28%, transparent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.muted { color: var(--ink-3); }
.up { color: var(--up); }
.down { color: var(--down); }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }

.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font: 500 11.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fdc98; flex: none; position: relative; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #2fdc98; opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }

/* ========== 顶栏 ========== */
.top {
  position: sticky; top: 0; z-index: 40;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.top.is-scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  border-bottom-color: var(--line);
}
.no-js .top { background: var(--paper); border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo, .wordmark { display: block; flex: none; overflow: visible; }
.wordmark { width: auto; height: 28px; margin-top: 1px; }
/* 悬停时信号灯轻轻一跳 */
.logo-dot { transform-box: fill-box; transform-origin: center; transition: transform .45s var(--ease-spring); }
.brand:hover .logo-dot { transform: translate(-1px, 1px) scale(1.18); }
.brand:hover .logo.has-orbit .logo-dot { transform: none; }

.nav { position: relative; display: flex; gap: 2px; margin-inline-start: auto; padding: 4px; border-radius: 999px; }
.nav a {
  position: relative; z-index: 1; padding: 8px 15px; border-radius: 999px; text-decoration: none;
  color: var(--ink-2); font-weight: 500; font-size: 15px; white-space: nowrap; transition: color .2s ease;
}
.nav a:hover, .nav a:focus-visible { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"]:hover, .nav a[aria-current="page"]:focus-visible { color: var(--paper); background: var(--ink); }
.nav-ink {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: var(--x, 0); width: var(--w, 0);
  border-radius: 999px; background: var(--ink); opacity: 0;
  transition: left .45s var(--ease), width .45s var(--ease), opacity .2s ease;
}
.nav.is-ready .nav-ink { opacity: 1; }
.nav:not(.is-ready) a[aria-current="page"] { background: var(--ink); }

/* 语言 / 市场切换 */
.picker { position: relative; flex: none; }
.picker-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 11px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  cursor: pointer; list-style: none; font-size: 14px; font-weight: 500; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-user-select: none; user-select: none;
}
.picker-btn::-webkit-details-marker { display: none; }
.picker-btn:hover { border-color: var(--ink-3); }
.picker[open] .picker-btn { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 8%, transparent); }
.picker-btn .ico { width: 18px; height: 18px; color: var(--ink-2); }
.picker-mk { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; padding: 4px 6px; border-radius: 6px; background: var(--paper-2); color: var(--ink-3); }
.picker-btn .chev { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.picker[open] .chev { transform: rotate(180deg); }
.picker-panel {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 50; width: 288px;
  padding: 10px; border-radius: var(--r-l); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-2);
  max-height: min(78vh, 640px); overflow-y: auto; overscroll-behavior: contain;
  transform-origin: top right;
}
.picker[open] .picker-panel { animation: pop .26s var(--ease) both; }
.picker.is-closing .picker-panel { animation: pop-out .16s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.96); } }
@keyframes pop-out { to { opacity: 0; transform: translateY(-4px) scale(.98); } }
.picker-title { margin: 6px 10px 8px; font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); }
.picker-group + .picker-group { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.picker-lang { margin: 8px 10px 2px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.picker-lang a { color: inherit; text-decoration: none; border-radius: 6px; }
.picker-lang a:hover, .picker-lang a:focus-visible { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; outline: none; }
.picker-lang a[aria-current="true"] { color: var(--ink); }
.picker ul { list-style: none; margin: 0; padding: 0; }
.picker li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-block: 8px; padding-inline: 22px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 15px;
  transition: background .15s ease;
}
.picker li a:hover, .picker li a:focus-visible { background: var(--paper-2); outline: none; }
.picker li a[aria-current="true"] { font-weight: 600; }
.picker li a .ico { color: var(--brand); width: 18px; height: 18px; }
.flag { width: 22px; height: 15px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); vertical-align: -2px; }

/* 菜单按钮和菜单里的编号、箭头、底注只在手机上出现 */
.menu-btn, .nav-n, .nav .arr, .nav-foot { display: none; }

@media (max-width: 859px) {
  .top-in { gap: 10px; }
  .picker { margin-inline-start: auto; }
  .picker-btn .picker-cur { display: none; }

  /* 没有 JS 时退回横向滑动的导航条，保证可用 */
  .no-js .top-in { flex-wrap: wrap; gap: 0 12px; padding-top: 10px; }
  .no-js .nav {
    order: 3; width: calc(100% + 2 * clamp(16px, 4vw, 40px)); margin: 8px calc(-1 * clamp(16px, 4vw, 40px)) 0;
    padding: 4px clamp(12px, 4vw, 36px) 10px; overflow-x: auto; scrollbar-width: none; border-radius: 0;
  }
  .no-js .nav::-webkit-scrollbar { display: none; }
  .no-js .nav a { font-size: 14.5px; padding: 7px 14px; }

  /* 菜单按钮：两条横线，打开时变成 × */
  .js .menu-btn {
    display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; padding: 0;
    border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
  }
  .js .menu-btn:hover { border-color: var(--ink-3); }
  .menu-ico { position: relative; display: block; width: 18px; height: 12px; }
  .menu-ico i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: top .35s var(--ease), transform .35s var(--ease); }
  .menu-ico i:first-child { top: 1px; }
  .menu-ico i:last-child { top: 9px; }
  .is-menu .menu-btn { background: var(--ink); border-color: var(--ink); }
  .is-menu .menu-ico i { background: var(--paper); top: 5px; }
  .is-menu .menu-ico i:first-child { transform: rotate(45deg); }
  .is-menu .menu-ico i:last-child { transform: rotate(-45deg); }

  /* 菜单打开时顶栏改为实色（毛玻璃会把固定定位的面板困在顶栏里） */
  .top.is-menu { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }

  /* 全屏菜单面板：大号链接逐行排列，打开时错落浮现 */
  .js .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0; border-radius: 0;
    display: flex; flex-direction: column; gap: 0;
    padding: 88px clamp(16px, 4vw, 40px) max(28px, env(safe-area-inset-bottom));
    background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s linear .3s;
  }
  .js .is-menu .nav { visibility: visible; opacity: 1; transition: opacity .3s ease; }
  .js .nav-ink { display: none; }
  .js .nav a {
    display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center;
    padding: 20px 0; border-radius: 0; border-bottom: 1px solid var(--line);
    font-size: clamp(28px, 8.4vw, 40px); font-weight: 650; letter-spacing: -.035em; line-height: 1.1;
    color: var(--ink); background: none;
    opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .6s var(--ease), color .2s ease;
  }
  html.js[data-lang="zh"] .nav a { letter-spacing: 0; }
  html.js[data-lang="ur"] .nav a { letter-spacing: 0; line-height: 1.7; padding: 12px 0; }
  .js .nav a:first-of-type { border-top: 1px solid var(--line-2); }
  .js .is-menu .nav a { opacity: 1; transform: none; }
  .js .is-menu .nav a:nth-of-type(2) { transition-delay: .05s; }
  .js .is-menu .nav a:nth-of-type(3) { transition-delay: .1s; }
  .js .is-menu .nav a:nth-of-type(4) { transition-delay: .15s; }
  .js .nav a[aria-current="page"], .js .nav:not(.is-ready) a[aria-current="page"] { background: none; color: var(--ink); }
  .js .nav a[aria-current="page"] .nav-t::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-inline-start: 14px; border-radius: 50%; background: var(--brand); vertical-align: .18em; }
  .js .nav-n { display: block; align-self: start; padding-top: .55em; font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--ink-4); }
  .js .nav .arr { display: block; width: 26px; height: 26px; color: var(--ink-4); transition: transform .35s var(--ease), color .2s ease; }
  .js .nav a:active .arr, .js .nav a:hover .arr { transform: translateX(4px); color: var(--ink); }
  html[dir="rtl"] .nav .arr { transform: scaleX(-1); }
  html[dir="rtl"].js .nav a:active .arr, html[dir="rtl"].js .nav a:hover .arr { transform: scaleX(-1) translateX(4px); }
  .js .nav-foot {
    display: flex; align-items: center; gap: 10px; margin: auto 0 0; padding-top: 32px;
    font: 500 11.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
    opacity: 0; transition: opacity .5s ease .2s;
  }
  .js .is-menu .nav-foot { opacity: 1; }
  body.menu-open { overflow: hidden; }
}

/* ========== 首屏 ========== */
.hero { position: relative; padding: clamp(28px, 6vw, 72px) 0 clamp(24px, 5vw, 48px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -80px 0 -240px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 10%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--line) 70%, transparent) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--line) 70%, transparent) 0 1px, transparent 1px 56px);
  -webkit-mask-image: radial-gradient(100% 70% at 50% 0%, #000 25%, transparent 72%);
  mask-image: radial-gradient(100% 70% at 50% 0%, #000 25%, transparent 72%);
}
.hero-tight { padding-bottom: 8px; }
.hero-grid { display: grid; gap: 22px; grid-template-areas: "head" "board" "stats" "cta"; }
.hero-head { grid-area: head; }
.hero-board { grid-area: board; min-width: 0; }
.hero-stats { grid-area: stats; }
.hero-cta { grid-area: cta; }
.hero-head-wide { max-width: 880px; }
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 5vw, 72px); row-gap: 28px;
    grid-template-areas: "head board" "stats board" "cta board"; grid-template-rows: auto auto 1fr; align-items: start;
  }
  .hero-grid-conv { grid-template-areas: "head board"; grid-template-rows: auto; }
}
.display {
  font-size: clamp(40px, 6.2vw, 82px); font-weight: 700; line-height: .98; letter-spacing: -.048em;
  margin: 0;
}
html[data-lang="zh"] .display { letter-spacing: -.02em; line-height: 1.1; font-size: clamp(36px, 5.4vw, 70px); }
.display-m { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.02; }
html[data-lang="zh"] .display-m { font-size: clamp(32px, 4.2vw, 56px); }
.lead { margin: 18px 0 0; color: var(--ink-2); font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.6; max-width: 34em; }
.answer {
  margin: 22px 0 0; font-size: clamp(19px, 2.3vw, 26px); font-weight: 500; line-height: 1.45; letter-spacing: -.012em;
  padding: 18px 22px; background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow-1);
  border-inline-start: 4px solid var(--brand); max-width: 40em;
}
.vs { margin: 22px 0 0; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); max-width: 30em; }
.vs .eyebrow { margin: 0 0 2px; flex-basis: 100%; }
.vs-d { font: 500 13px var(--mono); color: var(--ink-3); }
.note { margin: 14px 0 0; font-size: 14.5px; color: var(--ink-2); }
.note-warn { padding: 12px 14px; border-radius: var(--r-s); background: color-mix(in srgb, var(--amber) 16%, var(--surface)); }

/* ========== 首页：最优报价与纸面比较表 ========== */
.home-hero { padding-top: clamp(30px, 5.2vw, 70px); padding-bottom: 28px; }
.home-hero-grid { display: grid; gap: 30px; grid-template-areas: "head" "board" "actions"; }
.home-hero .hero-head { grid-area: head; }
.home-hero .hero-board { grid-area: board; }
.home-hero-grid > .home-actions { grid-area: actions; margin-top: 0; }
.home-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 30px; }
.home-actions .btn { min-height: 60px; padding-inline: 26px; font-size: 17px; }
.home-actions .cta-tools, .home-actions .cta-referrals, .home-actions .insight { width: 100%; max-width: 440px; }
.home-actions .cta-referrals { container-type: inline-size; }
.home-actions .cta-tools .cta-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-actions .cta-tools .btn { min-width: 0; min-height: 54px; padding-inline: 12px; font-size: 15px; gap: 8px; }
@media (max-width: 559px) {
  .home-actions .cta-tools .cta-btns { gap: 10px; }
  .home-actions .cta-tools .btn { min-height: 48px; padding-inline: 6px; font-size: 12px; gap: 6px; }
}
@media (max-width: 359px) { .home-actions .cta-tools .cta-btns { grid-template-columns: 1fr; } }
.home-method-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-decoration: none; }
.home-quotes-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.home-quotes > .stale { margin-top: 18px; font-size: 12px; padding: 10px 12px; }
.home-quotes h2 { font-size: clamp(24px, 2.3vw, 32px); font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
.home-updated { color: var(--ink-3); font-size: 12px; text-align: end; }
.home-updated time { white-space: nowrap; }
.quote-spotlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quote-slot { min-width: 0; display: grid; }
.quote-spotlight { min-width: 0; padding: 24px; border-radius: 18px; background: var(--board-2); color: var(--board-ink); box-shadow: var(--shadow-2); }
.quote-spotlight h3 { margin-bottom: 14px; color: var(--board-best); font-size: 17px; line-height: 1.4; letter-spacing: 0; }
.quote-value { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; direction: ltr; }
.quote-price { font-variant-numeric: tabular-nums; font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
.quote-unit { font-size: 11px; font-weight: 500; color: var(--ink-3); }
.quote-spotlight > .quote-value { display: flex; gap: 8px; }
.quote-spotlight .quote-price { font-size: clamp(38px, 4vw, 58px); font-weight: 700; letter-spacing: -.045em; color: var(--board-best); }
.quote-spotlight .quote-unit { font-size: 20px; color: var(--board-ink); }
.quote-exchange { display: inline-flex; align-items: center; gap: 10px; }
.quote-spotlight .quote-exchange { display: flex; margin: 16px 0 8px; font-size: 19px; font-weight: 600; line-height: 1.4; }
.quote-spotlight .exlogo { width: 30px; height: 30px; border-radius: 8px; }
.quote-explain { margin: 0; color: #baccc3; font-size: 12px; line-height: 1.7; }
.quote-go { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(160, 222, 196, .18); color: #59dfb3; font-size: 15px; font-weight: 600; text-decoration: none; }
.quote-go:hover { color: #c4f6e2; }
.quote-na { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.quote-spotlight .quote-na { display: block; margin-block: 18px; color: var(--board-dim); font-size: 20px; }
.quote-thin { display: block; margin-top: 6px; color: var(--ink-3); font-size: 10px; line-height: 1.4; }
.quote-spotlight .quote-thin { color: var(--board-dim); }
.quote-placeholder { min-height: 250px; }
.quote-empty { margin: 16px 0 0; color: var(--ink-3); }
.home-all-quotes { margin-top: 38px; }
.home-all-quotes h2 { margin-bottom: 20px; }
.quote-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.quote-table th, .quote-table td { text-align: start; padding-inline: 0; }
.quote-table thead th { padding: 0 0 12px; color: var(--ink-2); font: 400 12px/1.5 var(--font); letter-spacing: 0; text-transform: none; }
.quote-table th:first-child { width: 38%; }
.quote-table tbody th, .quote-table td { padding-block: 17px; border-block: 1px solid var(--line); }
.quote-table tbody th { font-size: 14px; font-weight: 600; }
.quote-table .exlogo { width: 29px; height: 29px; border-radius: 50%; }
.quote-table td { position: relative; vertical-align: middle; }
.quote-best { display: inline-block; margin-inline-start: 6px; padding: 4px 7px; border-radius: 8px; background: var(--brand-tint); color: var(--brand-2); font-size: 10px; font-weight: 600; vertical-align: 2px; white-space: nowrap; }
.home-bank { display: flex; align-items: center; gap: 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.home-bank-title { display: inline-flex; align-items: center; gap: 10px; flex: 0 1 auto; color: var(--ink); font-size: 13px; }
.home-bank-title b { font-weight: 600; }
.home-bank-details { flex: 1; min-width: 0; padding-inline-start: 20px; border-inline-start: 1px solid var(--line-2); }
.home-bank-details p { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: 13px; }
.home-bank-details b { font-weight: 600; white-space: nowrap; }
.home-bank-details .home-bank-note { margin-top: 5px; color: var(--ink-3); font-size: 11px; }
@media (min-width: 1024px) {
  .home-hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "head board" "actions board"; grid-template-rows: auto 1fr; column-gap: 40px; row-gap: 30px; align-items: start; }
  .home-hero .hero-head { padding-top: 8px; }
  .home-hero .display { font-size: clamp(60px, 5vw, 76px); }
  html[data-lang="zh"] .home-hero .display { font-size: clamp(54px, 5vw, 74px); line-height: 1.15; }
  .home-hero .lead { font-size: 18px; line-height: 1.8; margin-top: 22px; }
  .home-actions .cta-referrals .cta-btns { flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: 8px; }
  .home-actions .cta-referrals .btn { flex: 1 1 auto; min-width: 0; min-height: 48px; padding-inline: 8px; font-size: clamp(11px, 2.7cqi, 12px); gap: 4px; }
  .home-actions .cta-referrals .btn .arr { width: 14px; height: 14px; flex: none; }
  .home-quotes-head { margin-bottom: 14px; }
  .home-quotes-head h2 { font-size: 28px; }
  .quote-spotlight { padding: 18px; }
  .quote-spotlight h3 { margin-bottom: 8px; font-size: 15px; }
  .quote-spotlight .quote-price { font-size: clamp(38px, 3.4vw, 50px); }
  .quote-spotlight .quote-unit { font-size: 16px; }
  .quote-spotlight .quote-exchange { margin: 10px 0 6px; font-size: 16px; }
  .quote-spotlight .exlogo { width: 26px; height: 26px; }
  .quote-go { margin-top: 12px; padding-top: 10px; font-size: 14px; }
  .quote-placeholder { min-height: 220px; }
  .home-quotes > .stale { margin-top: 12px; padding-block: 8px; }
  .home-all-quotes { margin-top: 20px; }
  .home-all-quotes h2 { margin-bottom: 12px; font-size: 24px; }
  .quote-table tbody th, .quote-table td { padding-block: 9px; }
  .quote-table .exlogo { width: 26px; height: 26px; }
  .home-bank { margin-top: 12px; padding-top: 12px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .home-hero-grid { gap: 40px; }
  .quote-spotlight { padding: 18px; }
  .quote-spotlight .quote-price { font-size: 38px; }
  .quote-spotlight .quote-exchange { font-size: 16px; }
  .quote-table .quote-price { font-size: 17px; }
  .quote-best { margin-inline-start: 3px; padding-inline: 4px; font-size: 9px; }
}
@media (max-width: 1023px) {
  .home-hero .hero-head { max-width: 660px; }
  .home-hero .display { max-width: 12ch; }
  .quote-spotlight .quote-price { font-size: clamp(38px, 7vw, 58px); }
}
@media (max-width: 599px) {
  .home-quotes-head { flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .home-updated { font-size: 11px; }
  .quote-spotlights { gap: 10px; }
  .quote-spotlight { padding: 18px 14px; border-radius: 14px; }
  .quote-spotlight h3 { font-size: 12px; margin-bottom: 12px; }
  .quote-spotlight .quote-price { font-size: clamp(26px, 7.8vw, 42px); }
  .quote-spotlight .quote-unit { font-size: 12px; }
  .quote-spotlight > .quote-value { gap: 4px; }
  .quote-spotlight .quote-exchange { margin-top: 12px; font-size: 12px; gap: 6px; }
  .quote-spotlight .exlogo { width: 21px; height: 21px; border-radius: 6px; }
  .quote-explain { font-size: 10px; }
  .quote-go { margin-top: 16px; padding-top: 12px; font-size: 12px; gap: 6px; }
  .quote-placeholder { min-height: 205px; }
  .home-all-quotes { margin-top: 28px; }
  .home-all-quotes h2 { margin-bottom: 18px; }
  .quote-table th:first-child { width: 36%; }
  .quote-table thead th { font-size: 10px; }
  .quote-table tbody th { font-size: 11px; }
  .quote-table tbody th, .quote-table td { padding-block: 14px; }
  .quote-table .quote-exchange { gap: 6px; }
  .quote-table .exlogo { width: 21px; height: 21px; }
  .quote-table .quote-price { font-size: clamp(13px, 4vw, 18px); }
  .quote-table .quote-unit { font-size: 9px; }
  .quote-table .quote-value { gap: 3px; }
  .quote-best { display: table; margin: 5px 0 0; padding: 2px 5px; font-size: 9px; }
  .quote-thin { font-size: 9px; }
  .home-bank { align-items: flex-start; gap: 10px; }
  .home-bank-title { font-size: 11px; gap: 6px; flex-basis: 32%; }
  .home-bank-details { padding-inline-start: 12px; }
  .home-bank-details p { font-size: 11px; gap: 4px 8px; }
  .home-bank-details .home-bank-note { font-size: 10px; }
}
html[dir="rtl"] .quote-value { unicode-bidi: isolate; }

/* ========== 汇率牌 ========== */
.board {
  container-type: inline-size; position: relative; overflow: hidden;
  color: var(--board-ink); border-radius: var(--r-xl); padding: 18px 24px 6px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(22, 163, 123, .2), transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(246, 194, 91, .05), transparent 60%),
    linear-gradient(180deg, #0f1f1a, var(--board));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 0 0 1px rgba(255, 255, 255, .035), 0 40px 80px -40px rgba(4, 20, 14, .6);
}
@media (prefers-color-scheme: dark) { .board { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), inset 0 0 0 1px rgba(127, 240, 195, .12), 0 40px 80px -40px rgba(0, 0, 0, .9); } }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--board-dim); }
.board-pair { display: inline-flex; align-items: center; gap: 9px; color: #9eeccb; }
.board-sep { opacity: .35; margin: 0 6px; }
.board-upd { text-transform: none; letter-spacing: .02em; text-align: right; }
.board-upd time { color: var(--board-ink); }
.board-empty { margin: 12px 0 24px; color: var(--board-dim); font-size: 18px; }
.board-grid { display: grid; }
.bh, .br { display: grid; grid-template-columns: minmax(140px, .9fr) 1fr 1fr; gap: 18px; align-items: start; }
.bh { padding: 12px 0; border-top: 1px solid var(--board-line); color: var(--board-dim); font-size: 12.5px; font-weight: 500; }
.bh small { display: block; font-size: 11.5px; opacity: .75; font-weight: 400; }
.br { padding: 18px 0; border-top: 1px solid var(--board-line); }
.bx { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; font-size: 16.5px; padding-top: 6px; }
.bx small { flex-basis: 100%; padding-inline-start: 20px; margin-top: -4px; font-size: 11.5px; font-weight: 400; color: var(--board-dim); }
.bc { position: relative; display: block; min-width: 0; padding: 8px 12px 10px; margin: -8px -12px; border-radius: 16px; transition: background .4s ease; }
.bl { display: none; }
.bp-wrap { display: flex; align-items: baseline; gap: 6px; }
.bp { font-size: clamp(30px, 5.6cqi, 50px); font-weight: 600; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.bu { font-size: 15px; font-weight: 500; color: var(--board-dim); }
.bmeta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 10px; min-height: 20px; font: 500 12px/1.2 var(--mono); }
.chg { color: var(--board-dim); white-space: nowrap; }
.chg.up { color: #57e2a7; }
.chg.down { color: #ff8d7c; }
.tag { padding: 3px 8px 2px; border-radius: 999px; background: var(--board-best); color: #2a1c00; font: 600 10.5px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.thin { color: #ffcf8a; font-family: var(--font); font-size: 11.5px; }
.bna { display: block; padding-top: 6px; color: var(--board-dim); font-size: 14px; }
.bc.is-na { background: transparent !important; box-shadow: inset 0 0 0 1px var(--board-line); background-image: repeating-linear-gradient(135deg, rgba(160, 222, 196, .05) 0 6px, transparent 6px 12px) !important; }
.bc.is-best { background: radial-gradient(120% 120% at 0% 0%, rgba(246, 194, 91, .12), rgba(246, 194, 91, .03) 60%); box-shadow: inset 0 0 0 1px rgba(246, 194, 91, .2); }
.bc.is-best .bp { color: var(--board-best); text-shadow: 0 0 28px rgba(246, 194, 91, .28); }
.spark { display: block; width: 100%; height: 22px; margin-top: 10px; overflow: visible; }
.spark path { fill: none; stroke: rgba(158, 236, 203, .5); stroke-width: 1.3; stroke-linejoin: round; }
.bc.is-best .spark path { stroke: rgba(246, 194, 91, .75); }
.bc.flash::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(246, 194, 91, .22); animation: flash 1.2s ease forwards; pointer-events: none; }
@keyframes flash { to { opacity: 0; } }
.br-ref { padding: 14px 0 16px; }
.br-ref .bx { font-weight: 500; font-size: 14.5px; color: #c9d8d2; }
.br-ref .bp { font-size: clamp(18px, 3cqi, 22px); font-weight: 500; color: #c9d8d2; letter-spacing: -.02em; }
.br-ref .bu { font-size: 12px; }
.br-ref .bc { padding-top: 6px; padding-bottom: 6px; }
.bc-span { grid-column: span 2; }

/* 价格阶梯 */
.ladder { border-top: 1px solid var(--board-line); padding: 16px 0 18px; }
.ladder-t { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--board-dim); }
.ladder-t b { color: var(--board-ink); font-weight: 500; letter-spacing: 0; text-transform: none; }
.ladder-track { position: relative; height: 26px; margin: 14px 4px 4px; }
.ladder-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(160, 222, 196, .35) 8%, rgba(160, 222, 196, .35) 92%, transparent); }
.ladder-band { position: absolute; top: 50%; height: 10px; transform: translateY(-50%); border-radius: 5px; background: rgba(246, 194, 91, .22); box-shadow: 0 0 18px rgba(246, 194, 91, .25); }
.lm { position: absolute; top: 50%; width: 2px; height: 14px; transform: translate(-50%, -50%); border-radius: 2px; background: var(--board-ink); }
.lm-binance { background: #f0b90b; }
.lm-okx { background: #fff; }
.lm-bybit { background: #ff7a4d; }
.lm-ref { height: 22px; width: 1.5px; background: repeating-linear-gradient(180deg, var(--board-dim) 0 3px, transparent 3px 5px); }
.lm.is-best { box-shadow: 0 0 10px rgba(246, 194, 91, .9); }
.ladder-labels { position: relative; height: 36px; margin: 0 4px; }
.ll { position: absolute; top: 0; font-size: 11px; color: #9eeccb; white-space: nowrap; line-height: 1.35; }
.ll b { display: block; font: 500 12.5px var(--mono); color: var(--board-ink); }
.ll-ref { color: var(--board-dim); }
.ll-ref b { color: #c9d8d2; }
.ll-center { transform: translateX(-50%); text-align: center; }
.ll-end { transform: translateX(-100%); text-align: right; }

@container (max-width: 600px) {
  .board { padding-inline: 16px; }
  .board-live, .board-upd-l { display: none; }
  .board-upd { white-space: nowrap; }
  .bh { display: none; }
  .br { grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 0; }
  .bx { grid-column: 1 / -1; font-size: 15px; padding-top: 0; }
  .bc { margin: 0; padding: 12px 12px 10px; background: var(--board-2); }
  .bc.is-best { background: radial-gradient(120% 120% at 0% 0%, rgba(246, 194, 91, .14), var(--board-2) 70%); }
  .bl { display: block; font-size: 11.5px; color: var(--board-dim); margin-bottom: 6px; }
  .bp { font-size: clamp(24px, 9.6cqi, 34px); }
  .bu { font-size: 12.5px; }
  .bmeta { gap: 5px 6px; font-size: 11px; }
  .tag { font-size: 9.5px; padding: 2px 6px 1px; }
  .spark { height: 18px; }
  .br-ref .bc { background: transparent; box-shadow: inset 0 0 0 1px var(--board-line); }
  .br-ref .bp { font-size: 17px; }
}

.stale {
  margin: 14px 0 0; padding: 12px 16px; border-radius: var(--r-m); font-size: 14px;
  background: color-mix(in srgb, var(--amber) 18%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent);
}

/* 交易所标志 */
.exlogo { display: inline-block; width: 18px; height: 18px; flex: none; vertical-align: -4px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(13, 27, 22, .08); }
.bx .exlogo { width: 22px; height: 22px; border-radius: 6px; }
.board .exlogo, .foot .exlogo { box-shadow: 0 0 0 1px rgba(238, 246, 242, .16); }
@media (prefers-color-scheme: dark) { .exlogo { box-shadow: 0 0 0 1px rgba(238, 246, 242, .16); } }
.o-ex .exlogo, .amt .exlogo, .hist .exlogo { margin-inline-end: 10px; }
.mcard-ex .exlogo { width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-inline-end: 4px; }
.stats dd .exlogo { width: 15px; height: 15px; border-radius: 4px; vertical-align: -3px; }
@container (max-width: 600px) { .bx .exlogo { width: 20px; height: 20px; } }

/* 交易所圆点 */
.exdot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; vertical-align: -1px; }
.exdot-binance { background: #f0b90b; }
.exdot-okx { background: var(--c-okx); }
.exdot-bybit { background: var(--c-bybit); }
.board .exdot-okx, .foot .exdot-okx, .tip .exdot-okx { background: var(--board-ink); }
.exdot-ref { border-radius: 50%; box-shadow: inset 0 0 0 2px var(--c-ref); }
.board .exdot-ref { box-shadow: inset 0 0 0 2px var(--board-dim); }

/* ========== 要点与按钮 ========== */
.stats { margin: 0; border-top: 1px solid var(--line-2); }
.stats div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.stats dt { font-size: 15px; color: var(--ink-2); }
.stats dd { margin: 0; text-align: end; }
.stats b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.stats dd span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); max-width: 22em; text-align: end; }

.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.card + .cta, .board + .cta { margin-top: 24px; }
.board + .cta, .board + .stale + .cta { margin-top: clamp(24px, 2.5vw, 32px); }
.board + .cta .cta-btns, .board + .stale + .cta .cta-btns { gap: 12px; }
.board + .cta .cta-note, .board + .stale + .cta .cta-note { margin-top: 18px; line-height: 1.7; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 18px; border-radius: var(--r-m); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 12px 24px -12px color-mix(in srgb, var(--brand) 90%, transparent); }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-dark { min-height: 44px; color: var(--board-ink); border-color: rgba(238, 246, 242, .22); }
.btn-ghost-dark:hover { border-color: var(--board-ink); color: #fff; }
.btn-s { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: var(--r-s); background: var(--paper-2); color: var(--ink); }
.btn-s:hover { background: var(--ink); color: var(--paper); }
.cta-note { margin: 12px 0 0; font-size: 12.5px; color: var(--ink-3); max-width: 40em; }
.refcode { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.refcode code { font: 500 13px var(--mono); padding: 4px 8px; border-radius: 8px; background: var(--paper-2); color: var(--ink); }
.copy {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.copy:hover { border-color: var(--ink); color: var(--ink); }
.copy.is-done { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-2); }
@media (max-width: 559px) {
  .cta-btns .btn { flex: 1 1 100%; }
}

/* ========== 栏目 ========== */
.sec { padding-top: clamp(64px, 9vw, 120px); }
.sec-first { padding-top: clamp(24px, 4vw, 40px); }
.sec-h { max-width: 780px; margin-bottom: clamp(22px, 3vw, 34px); }
.sec-h h2 { font-size: clamp(28px, 3.8vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
html[data-lang="zh"] .sec-h h2 { letter-spacing: -.01em; line-height: 1.2; }
.sec-n { color: var(--brand); }
.sec-n::after { content: "—"; margin-inline-start: 10px; color: var(--ink-4); }
.sec-lead { margin: 14px 0 0; color: var(--ink-2); font-size: 17px; max-width: 40em; }
.sec-h-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; max-width: none; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--ink); }
.more .arr { transition: transform .3s var(--ease); }
.more:hover .arr { transform: translateX(4px); }
@media (min-width: 1024px) {
  .sec-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
  .sec-split > :first-child { position: sticky; top: 100px; }
  .sec-split-even { grid-template-columns: 1fr 1fr; }
  .sec-split-even > :first-child { position: static; }
}

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(18px, 2.4vw, 28px); box-shadow: var(--shadow-1); min-width: 0; }
.card-pad-0 { padding: 0; overflow: hidden; }
.card-lift { box-shadow: var(--shadow-2); }
.card-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px clamp(16px, 2.4vw, 24px); border-bottom: 1px solid var(--line); }
.h3 { font-size: 18px; font-weight: 650; margin-bottom: 12px; }
.empty { margin: 0; padding: 36px 20px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line-2); border-radius: var(--r-l); font-size: 15px; }
.card .empty, .card-pad-0 .empty { border: 0; }

/* 分段控件（滑动指示块） */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 12px; background: var(--paper-2); }
.seg button, .seg label { position: relative; z-index: 1; border: 0; background: none; padding: 7px 14px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); cursor: pointer; transition: color .25s ease; white-space: nowrap; }
.seg button[aria-selected="true"], .seg label:has(input:checked) { color: var(--ink); }
.seg-ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: var(--x, 4px); width: var(--w, 0); border-radius: 9px; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 2px 8px -2px rgba(0, 0, 0, .12); transition: left .4s var(--ease), width .4s var(--ease); }
.seg:not(.is-ready) button[aria-selected="true"], .seg:not(.is-ready) label:has(input:checked) { background: var(--surface); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 1px; }
.seg-lg { display: flex; width: 100%; }
.seg-lg label { flex: 1; text-align: center; padding: 11px 12px; font-size: 14.5px; }

/* ========== 图表 ========== */
.chart-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(16px, 2.4vw, 26px); box-shadow: var(--shadow-1); }
.chart-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-2); }
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg i { width: 18px; height: 3px; border-radius: 2px; }
.lg.l-binance i { background: var(--c-binance); }
.lg.l-okx i { background: var(--c-okx); }
.lg.l-bybit i { background: var(--c-bybit); }
.lg.l-ref i { background: repeating-linear-gradient(90deg, var(--c-ref) 0 4px, transparent 4px 7px); }
.lg.l-premium i { background: var(--brand); }
.plot { position: relative; height: 300px; }
@media (max-width: 599px) { .plot { height: 220px; } }
.plot svg { position: absolute; left: 58px; top: 8px; width: calc(100% - 58px); height: calc(100% - 34px); overflow: visible; }
.js .plot svg { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease); }
.js .plot.is-drawn svg { clip-path: inset(0 0 0 0); }
.plot .grid { stroke: var(--line); stroke-width: 1; }
.plot .line { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.plot .area { stroke: none; }
.line.l-binance { stroke: var(--c-binance); }
.line.l-okx { stroke: var(--c-okx); }
.line.l-bybit { stroke: var(--c-bybit); }
.line.l-ref { stroke: var(--c-ref); }
.line.l-premium { stroke: var(--brand); }
.line.dashed { stroke-dasharray: 6 5; stroke-width: 1.5; }
.ax-y { position: absolute; left: 0; top: 8px; bottom: 26px; width: 50px; font: 500 11px var(--mono); color: var(--ink-4); }
.ax-y span { position: absolute; right: 0; transform: translateY(-50%); }
.ax-x { position: absolute; left: 58px; right: 0; bottom: 0; height: 18px; font: 500 11px var(--mono); color: var(--ink-4); }
.ax-x span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
@media (max-width: 519px) { .ax-x span:nth-child(even) { display: none; } .hc { aspect-ratio: .9; border-radius: 2px; } .heat-grid { gap: 2px; } }
.cross { position: absolute; top: 8px; bottom: 26px; width: 1px; background: var(--ink-3); opacity: .45; pointer-events: none; }
.hdot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; border: 2px solid var(--surface); pointer-events: none; }
.hdot.l-binance { background: var(--c-binance); }
.hdot.l-okx { background: var(--c-okx); }
.hdot.l-bybit { background: var(--c-bybit); }
.hdot.l-ref { background: var(--c-ref); }
.hdot.l-premium { background: var(--brand); }
.tip {
  position: absolute; top: 4px; z-index: 3; pointer-events: none; min-width: 168px;
  padding: 10px 12px; border-radius: 12px; background: var(--board); color: var(--board-ink);
  box-shadow: var(--shadow-2); font-size: 12.5px; line-height: 1.6;
}
.tip b { display: block; margin-bottom: 4px; font: 500 11px var(--mono); letter-spacing: .06em; color: var(--board-dim); }
.tip div { display: flex; justify-content: space-between; gap: 14px; }
.tip div span:first-child { display: inline-flex; align-items: center; gap: 7px; color: #c9d8d2; }
.tip div span:last-child { font: 500 12.5px var(--mono); }
.tip i { width: 10px; height: 3px; border-radius: 2px; }
.tip .l-binance { background: #f0b90b; }
.tip .l-okx { background: var(--board-ink); }
.tip .l-bybit { background: #ff7a4d; }
.tip .l-ref { background: var(--board-dim); }
.tip .l-premium { background: #2fdc98; }

/* ========== 广告表 ========== */
table { border-collapse: collapse; width: 100%; }
th, td { text-align: start; padding: 14px clamp(12px, 1.6vw, 20px); border-top: 1px solid var(--line); vertical-align: middle; }
thead th { border-top: 0; font: 500 10.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); padding-top: 14px; padding-bottom: 10px; }
.num { text-align: end; white-space: nowrap; }
.offers tbody tr { transition: background .2s ease; }
.offers tbody tr:hover { background: color-mix(in srgb, var(--paper) 70%, transparent); }
.o-ex { font-weight: 600; white-space: nowrap; }
.o-ex .exdot { margin-inline-end: 10px; }
.o-price { font-weight: 650; font-size: 17px; letter-spacing: -.015em; }
.o-m { color: var(--ink-2); font-size: 14px; }
.o-go { text-align: end; }
.o-comp { white-space: nowrap; font-size: 14px; }
.meter { display: inline-block; width: 40px; height: 4px; margin-inline-end: 10px; border-radius: 2px; background: var(--line); vertical-align: 2px; overflow: hidden; }
.meter i { display: block; height: 100%; width: calc(clamp(0, (var(--v) - .9) * 10, 1) * 100%); background: var(--brand); border-radius: inherit; }
.badge { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-inline-start: 6px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-2); vertical-align: -3px; }
.badge .ico { width: 12px; height: 12px; stroke-width: 2.6; }
@media (max-width: 799px) {
  .offers thead { display: none; }
  .offers, .offers tbody { display: block; }
  .offers tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px clamp(16px, 4vw, 24px); border-top: 1px solid var(--line); }
  .offers tbody tr:first-child { border-top: 0; }
  .offers td { display: block; border: 0; padding: 0; text-align: start; }
  .offers .o-price { grid-row: 1; grid-column: 2; text-align: end; }
  .offers td[data-label] { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--ink-2); }
  .offers td[data-label]::before { content: attr(data-label); color: var(--ink-4); }
  .offers .o-go { grid-column: 1 / -1; margin-top: 10px; }
  .offers .meter { display: none; }
  .offers tbody tr:nth-child(n+5) { display: none; } /* 手机上只列前 4 条，避免列表过长 */
  .offers .o-go .btn { width: 100%; }
}

/* ========== 哪家更便宜 ========== */
.cmp { padding: 6px clamp(16px, 2.4vw, 26px); }
.cmp-head, .cmp-row { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(0, 2.2fr) 110px 140px; gap: 16px; align-items: center; }
.cmp-head { padding: 12px 0 10px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.cmp-row { padding: 16px 0; border-top: 1px solid var(--line); }
.cmp-ex { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.cmp-bar { position: relative; display: flex; align-items: center; gap: 12px; }
.cmp-bar i { flex: 1; height: 10px; border-radius: 5px; background: var(--paper-2); overflow: hidden; position: relative; }
.cmp-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--ink-3); transform-origin: left; }
.cmp-row.is-lead .cmp-bar i::after { background: var(--brand); }
.js [data-reveal] .cmp-bar i::after { transform: scaleX(0); transition: transform 1.1s var(--ease) .2s; }
.js [data-reveal].is-in .cmp-bar i::after { transform: none; }
.cmp-bar b { min-width: 3.2em; text-align: end; font-weight: 650; font-size: 16px; }
.cmp-gap, .cmp-avg { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 699px) {
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; gap: 8px; }
  .cmp-gap, .cmp-avg { display: flex; justify-content: space-between; text-align: start; font-size: 13.5px; }
  .cmp-gap::before, .cmp-avg::before { content: attr(data-label); color: var(--ink-4); }
}
.chips-t { margin: 18px 0 8px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.chips-t:first-child { margin-top: 0; }
.hero-chips { margin-top: 26px; }
.answer-list p { margin: 0 0 8px; }
.answer-list p:last-child { margin: 0; }
.answer-list p:first-child { font-weight: 600; }
.daynav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.daytab td.is-best { color: var(--brand-2); font-weight: 650; }

/* ========== 交易所介绍页 ========== */
.exhero { container-type: inline-size; padding: 22px 24px 20px; border-radius: var(--r-xl); color: var(--board-ink);
  background: radial-gradient(120% 90% at 100% 0%, rgba(22, 163, 123, .2), transparent 55%), linear-gradient(180deg, #0f1f1a, var(--board));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 80px -40px rgba(4, 20, 14, .6); }
.exhero-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--board-line); }
.exhero-top b { font-size: 19px; font-weight: 650; }
.exhero-top .exlogo { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(238, 246, 242, .16); }
.exrank { margin-inline-start: auto; font: 500 12px var(--mono); color: var(--board-dim); }
.exhero-cells { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 0 6px; }
.exhero-cells .bc { margin: 0; background: var(--board-2); padding: 14px 16px 12px; }
.exhero-cells .bl { display: block; font-size: 12px; color: var(--board-dim); margin-bottom: 6px; }
.exhero-share { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--board-line); font-size: 13.5px; color: var(--board-dim); }
.exhero-share .cmp-bar i { background: rgba(238, 246, 242, .08); }
.exhero-share .cmp-bar i::after { background: var(--board-best); }
.exhero-share .cmp-bar b { color: var(--board-ink); }
.facts { margin: 0; padding: 4px clamp(18px, 2.4vw, 26px); }
.facts div { display: grid; grid-template-columns: minmax(120px, 2fr) 3fr; gap: 6px 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--ink-3); font-size: 14px; }
.facts dd { margin: 0; font-weight: 500; }
@media (max-width: 599px) { .facts div { grid-template-columns: 1fr; } }
.exmeth th a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.exmeth th a:hover { color: var(--brand-2); }
.exmeth td.is-best { color: var(--brand-2); font-weight: 650; }
.mcard > .exlogo { width: 42px; height: 42px; border-radius: 13px; }
a.cmp-ex { color: var(--ink); text-decoration: none; }
a.cmp-ex:hover { color: var(--brand-2); }

/* 报价时效列 */
.o-spd { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.o-spd small { display: block; font-size: 12px; color: var(--ink-4); }
@media (max-width: 799px) {
  .o-spd small { display: inline; margin-inline-start: 0; }
  .offers td.o-spd > span { margin-inline-start: auto; }
  .offers td.o-spd { gap: 8px; }
}
.hist.exmeth { min-width: 0; }
@media (max-width: 599px) {
  .exmeth thead th { white-space: normal; letter-spacing: .04em; vertical-align: bottom; }
  .exmeth th, .exmeth td { padding-inline: 8px; }
  .exmeth th:first-child { padding-inline-start: 14px; }
  .exmeth td:last-child, .exmeth thead th:last-child { padding-inline-end: 14px; }
  .exmeth th a { gap: 8px; }
}

/* 首屏洞察与一键提醒 */
.insight { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 14px; width: 100%; max-width: 440px;
  padding: 14px 16px; border-radius: var(--r-m); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); text-decoration: none;
  transition: border-color .2s ease, transform .3s var(--ease); }
.insight:hover { border-color: var(--ink); transform: translateY(-1px); }
.insight-l { grid-column: 1; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.insight b { grid-column: 1; font-size: 18px; font-weight: 650; }
.insight-s { grid-column: 1; font-size: 13px; color: var(--brand-2); }
.insight .arr { grid-column: 2; grid-row: 1 / span 3; color: var(--ink-3); }
.alert-wrap { margin-top: 20px; }
/* 到价提醒默认收起成一个和分享按钮同样大小的小按钮，点开后整行展开表单 */
.alertbox-d { display: block; }
.hero-cta .alertbox-d { margin-top: 16px; }
.alertbox-d > summary { list-style: none; cursor: pointer; display: inline-flex; width: max-content; }
.alertbox-d > summary::-webkit-details-marker { display: none; }
.alert-toggle .ico { color: var(--amber); }
.alertbox-d[open] > summary { border-color: var(--brand); color: var(--ink); background: var(--brand-tint); }
.alertbox-d > .alertbox { margin-top: 10px; }
.alertbox-d[open] > .alertbox { animation: pop .22s var(--ease) both; }
.share-alert { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.share-alert > .share { margin-top: 0; }
/* 在分享那一排里：按钮不动，表单像下拉面板一样浮在这一排下方，不推挤后面的内容 */
/* 入场动画让首屏和下一节各自成为独立层级，面板打开时把所在区域提到上层，避免被下一节盖住 */
.hero:has(.alertbox-d[open]), [data-reveal]:has(.alertbox-d[open]) { position: relative; z-index: 40; }
.share-alert > .alertbox-d > .alertbox { position: absolute; inset-inline-start: 0; top: calc(100% + 8px); z-index: 30; max-width: 440px; margin-top: 0; box-shadow: var(--shadow-2); }
.alertbox { width: 100%; max-width: 440px; padding: 16px; border-radius: var(--r-m); background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.alertbox-l { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 600; font-size: 14.5px; }
.alertbox-l .ico { fill: #229ed9; stroke: none; }
.alertbox-row { display: flex; gap: 8px; flex-wrap: wrap; }
.alertbox .alertbox-in { flex: 1 1 130px; min-width: 0; padding: 0 14px; border-radius: var(--r-s); background: var(--surface); }
.alertbox .alertbox-in input { width: 100%; min-width: 0; font-size: 19px; letter-spacing: -.02em; padding: 11px 0; }
.alertbox .alertbox-in b { font-size: 13px; }
.alertbox .btn { min-height: 48px; font-size: 14.5px; }
.alertbox .cta-note { margin-top: 8px; }

/* ========== 付款方式 ========== */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tag-best { display: inline-block; margin-inline-start: 6px; padding: 2px 8px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-2); font-size: 11px; font-weight: 650; vertical-align: 1px; }
.prose figure.shot, figure.shot { margin: 28px 0; }
figure.shot img { display: block; width: 100%; height: auto; border-radius: var(--r-m); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); background: var(--surface); }
figure.shot figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.quickref { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; align-items: start; }
.quickref-cap { margin: 0; padding: 18px 20px 6px; font-size: 16px; font-weight: 650; }
.hub-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 28px; max-width: 900px; }
.mcard {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-l);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform .35s var(--ease), border-color .2s ease, box-shadow .35s var(--ease);
}
.mcard:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow-2); }
.mcard-t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mcard b { font-size: 16px; font-weight: 650; }
.mcard-t span { font-size: 13.5px; color: var(--ink-3); }
.mcard .arr { color: var(--ink-4); transition: transform .35s var(--ease), color .2s ease; }
.mcard:hover .arr { transform: translateX(4px); color: var(--ink); }
.mono { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; color: #fff; font-weight: 700; font-size: 18px; letter-spacing: -.02em; background: var(--brand); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14); }
.mono-s { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; }
.mono-bank { background: #22313a; }
.mono-momo { background: #a50064; }
.mono-zalopay { background: #0068ff; }
.mono-viettel-money { background: #e5002d; }
.mono-easypaisa { background: #2fa84f; }
.mono-jazzcash { background: #d71920; }
.mono-sadapay { background: #00a99d; }
.mono-nayapay { background: #f26b21; }
.mono-all { background: var(--ink); color: var(--paper); }

/* ========== 换算器 ========== */
.conv { display: grid; gap: 18px; }
.conv > *, .conv-form > * { min-width: 0; }
.conv-form { display: grid; gap: 18px; }
.conv-amt { display: block; }
.conv-amt .eyebrow { margin-bottom: 8px; }
.conv-input { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-radius: var(--r-l); background: var(--paper); border: 1px solid var(--line-2); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.conv-input:focus-within { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.conv-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 14px 0; font-size: clamp(30px, 5vw, 44px); font-weight: 600; letter-spacing: -.035em; }
.conv-input b { font: 500 15px var(--mono); color: var(--ink-3); }
.conv-out { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.conv-out li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: baseline;
  padding: 14px 16px; border-radius: var(--r-m); background: var(--paper); border: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.conv-out li.is-best { background: var(--brand-tint); border-color: color-mix(in srgb, var(--brand) 35%, transparent); }
.conv-name { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-weight: 600; font-size: 15px; }
.conv-val { font-size: clamp(18px, 4.6vw, 24px); font-weight: 650; letter-spacing: -.025em; text-align: end; white-space: nowrap; }
.conv-rate { grid-column: 1 / -1; font: 500 12px var(--mono); color: var(--ink-3); }
.conv-ref { opacity: .8; }
.conv-ref .conv-val { font-size: 18px; font-weight: 500; }
.conv-tag { padding: 2px 8px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.conv-diff { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--brand-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s var(--ease); }
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.hero .chips { margin-top: 24px; }
@media (max-width: 1023px) { .sec-split { display: grid; gap: 28px; } }

/* ========== 换算金额表、历史表 ========== */
.amt th[scope="row"] { font-weight: 600; white-space: nowrap; }
.amt th[scope="row"] .exdot { margin-inline-end: 10px; }
.amt td b { display: block; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.amt td small { font: 500 12px var(--mono); color: var(--ink-3); }
.amt td.is-best b { color: var(--brand-2); }
.amt .row-ref th, .amt .row-ref td b { color: var(--ink-2); font-weight: 500; }
@media (max-width: 599px) {
  .amt thead { display: none; }
  .amt, .amt tbody { display: block; }
  .amt tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 14px 0; border-top: 1px solid var(--line); }
  .amt th, .amt td { border: 0; padding: 0; }
  .amt th[scope="row"] { grid-column: 1 / -1; }
  .amt td { text-align: start; white-space: normal; }
  .amt td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--ink-4); margin-bottom: 2px; }
  .amt td b { font-size: 17px; }
}
.tscroll { overflow-x: auto; }
.hist { min-width: 760px; font-size: 14.5px; }
.hist tbody th a { color: var(--ink); text-decoration: none; }
.hist tbody th a:hover { color: var(--brand-2); text-decoration: underline; }
.hist thead th { text-align: center; }
.hist thead th:first-child { text-align: start; }
.hist thead th.num { text-align: end; }
.hist tbody th { font-weight: 500; white-space: nowrap; }
.hist tbody tr:hover { background: color-mix(in srgb, var(--paper) 70%, transparent); }

/* 热力图 */
.heat-best { margin: 0 0 18px; font-size: 16px; font-weight: 600; }
.heat-grid { display: grid; grid-template-columns: 2.4em repeat(24, minmax(0, 1fr)); gap: 3px; align-items: center; }
.heat-dow { font: 500 11px var(--mono); color: var(--ink-3); }
.hc { aspect-ratio: 1.5; border-radius: 4px; background: color-mix(in srgb, var(--c) calc(var(--k) * 100%), var(--paper-2)); transition: transform .2s var(--ease); }
.hc:hover { transform: scale(1.35); position: relative; z-index: 1; box-shadow: 0 0 0 2px var(--surface); }
.hc-empty { background: repeating-linear-gradient(45deg, var(--paper-2) 0 3px, transparent 3px 6px); }
.heat-h { font: 500 10px var(--mono); color: var(--ink-4); }
.heat-legend { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 12.5px; color: var(--ink-3); }
.heat-legend i { width: 120px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--heat-cheap), var(--paper-2), var(--heat-dear)); }

/* ========== 指南列表 ========== */
.glist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.grow {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 6px 24px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.grow-n { font: 500 14px var(--mono); color: var(--ink-4); transition: color .3s ease; }
.grow-t b { display: block; font-size: clamp(18px, 2vw, 22px); font-weight: 650; letter-spacing: -.02em; line-height: 1.25; transition: color .3s ease; }
.grow-t span { display: block; margin-top: 6px; color: var(--ink-3); font-size: 15px; }
.grow-m { display: inline-flex; align-items: center; gap: 12px; font: 500 12px var(--mono); color: var(--ink-3); white-space: nowrap; }
.grow-m .arr { width: 20px; height: 20px; transition: transform .35s var(--ease), color .2s ease; }
.grow:hover .grow-n, .grow:hover .grow-t b { color: var(--brand-2); }
.grow:hover .arr { transform: translateX(6px); color: var(--ink); }
@media (max-width: 699px) {
  .grow { grid-template-columns: 36px minmax(0, 1fr); padding: 20px 0; }
  .grow-m { grid-column: 2; }
}

/* ========== FAQ ========== */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: clamp(16.5px, 1.8vw, 19px); font-weight: 600; letter-spacing: -.012em; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 18px; height: 18px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: var(--ink-3); transition: transform .35s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0 0 22px; color: var(--ink-2); max-width: 46em; }

/* ========== Telegram ========== */
.tgband { margin-top: clamp(64px, 9vw, 120px); }
.tgband-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: var(--board); color: var(--board-ink); }
.tgband-in > div { flex: 1 1 260px; }
.tgband h2 { font-size: clamp(20px, 2.4vw, 26px); }
.tgband p { margin: 6px 0 0; color: var(--board-dim); }
.tg-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #229ed9; color: #fff; }
.tg-ico .ico { fill: #fff; stroke: none; width: 24px; height: 24px; }
.btn .ico[viewBox] { width: 18px; height: 18px; }

/* ========== 面包屑与正文 ========== */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; font-size: 13.5px; color: var(--ink-3); }
.crumbs li { min-width: 0; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li:last-child span { display: inline-block; max-width: min(62vw, 520px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

.doc-layout { display: grid; gap: 40px; padding-top: clamp(28px, 5vw, 56px); }
@media (min-width: 1024px) { .doc-layout.has-aside { grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(48px, 6vw, 88px); } }
.doc-aside .sticky { position: sticky; top: 96px; display: grid; gap: 12px; }
.doc-aside .eyebrow { margin: 0; }
/* 文章侧栏报价作为辅助信息：轻底色、按行对比，沿用报价数据与文案。 */
.doc-aside .board { padding: 16px 16px 4px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: none; }
.doc-aside .board-top { padding-bottom: 12px; font: 500 10.5px/1.4 var(--font); letter-spacing: 0; color: var(--ink-3); }
.doc-aside .board-pair { color: var(--ink-2); gap: 7px; }
.doc-aside .board-upd time { color: var(--ink-3); }
.doc-aside .bh, .doc-aside .br { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 1fr)); gap: 10px; border-color: var(--line); }
.doc-aside .bh { padding: 10px 0; font-size: 11px; color: var(--ink-2); }
.doc-aside .bh small { font-size: 10px; line-height: 1.5; color: var(--ink-3); opacity: 1; }
.doc-aside .br { padding: 14px 0; }
.doc-aside .bx { grid-column: auto; min-width: 0; gap: 6px; padding-top: 0; font-size: 12px; font-weight: 500; flex-wrap: nowrap; }
.doc-aside .bx .exlogo { width: 16px; height: 16px; border-radius: 4px; box-shadow: none; }
.doc-aside .bc, .doc-aside .bc.is-best, .doc-aside .br-ref .bc { margin: 0; padding: 0; background: transparent; box-shadow: none; }
.doc-aside .bl { display: none; }
.doc-aside .bp-wrap { gap: 3px; direction: ltr; }
.doc-aside .bp { font-size: 17px; letter-spacing: -.025em; }
.doc-aside .bu { font-size: 10px; color: var(--ink-3); }
.doc-aside .bc.is-best .bp { color: var(--brand-2); text-shadow: none; }
.doc-aside .bmeta { min-height: 0; margin-top: 5px; gap: 4px; font-size: 10px; }
.doc-aside .bmeta:empty { display: none; }
.doc-aside .tag { padding: 2px 5px; background: var(--brand-tint); color: var(--brand-2); font-size: 9px; letter-spacing: 0; }
.doc-aside .chg { color: var(--ink-3); }
.doc-aside .chg.up { color: var(--up); }
.doc-aside .chg.down { color: var(--down); }
.doc-aside .thin { color: var(--ink-3); font-size: 10px; }
.doc-aside .spark { height: 16px; margin-top: 6px; }
.doc-aside .spark path, .doc-aside .bc.is-best .spark path { stroke: var(--brand); opacity: .6; }
.doc-aside .bc.flash::after { background: var(--brand-tint); }
.doc-aside .bc.is-na { background-image: none !important; box-shadow: none; }
.doc-aside .bna { padding-top: 0; color: var(--ink-3); font-size: 11px; }
.doc-aside .br-ref { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.doc-aside .br-ref .bx { grid-column: 1 / -1; flex-wrap: wrap; color: var(--ink-2); font-size: 11.5px; }
.doc-aside .br-ref .bx small { padding-inline-start: 0; margin-top: 0; color: var(--ink-3); font-size: 10.5px; }
.doc-aside .br-ref .bl { display: block; color: var(--ink-3); font-size: 10.5px; margin-bottom: 4px; }
.doc-aside .br-ref .bp { font-size: 14px; color: var(--ink-2); }
.doc-aside .br-ref .bu { font-size: 9px; }
.doc-aside .board-empty { margin: 6px 0 16px; color: var(--ink-3); font-size: 13px; }
.doc-aside .stale { margin: 0; padding: 10px 12px; font-size: 12px; border-radius: 12px; }
.doc-aside .board + .cta, .doc-aside .board + .stale + .cta { margin-top: 4px; }
.doc-aside .cta-btns .btn { min-height: 40px; padding-inline: 12px; font-size: 13px; }
.doc-aside .sticky .cta .cta-note { margin-top: 12px; font-size: 11px; line-height: 1.6; }
.prose { max-width: 720px; font-size: 18px; line-height: 1.75; }
html[data-lang="zh"] .prose { font-size: 17px; line-height: 1.9; }
.prose h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; }
html[data-lang="zh"] .prose h1 { letter-spacing: -.01em; line-height: 1.2; }
.prose .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 36px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -.025em; margin: 52px 0 14px; }
.prose h3 { font-size: 20px; margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose li { margin-bottom: 8px; padding-inline-start: 4px; }
.prose li::marker { color: var(--brand); font-weight: 600; }
.prose strong { font-weight: 650; }
.prose blockquote { margin: 28px 0; padding: 18px 22px; border-radius: var(--r-m); background: var(--brand-tint); border-inline-start: 3px solid var(--brand); font-size: 16.5px; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { display: block; overflow-x: auto; margin: 8px 0 24px; font-size: 15px; }
.prose th { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.prose td, .prose th { padding-block: 12px; padding-inline: 0 14px; }
.prose code { font: 500 .88em var(--mono); background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }

/* 小组件 */
.codebox { position: relative; border-radius: var(--r-l); background: var(--board); color: #cfe4dc; }
.codebox pre { margin: 0; padding: 22px 22px 60px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; font: 500 12.5px/1.7 var(--mono); }
.copy-lg { position: absolute; inset-inline-end: 14px; bottom: 14px; height: 36px; padding: 0 14px; background: var(--board-3); border-color: transparent; color: var(--board-ink); }
.copy-lg:hover { background: var(--board-ink); color: var(--board); }
.widget-prev { display: block; width: 100%; height: 560px; border: 0; border-radius: var(--r-l); background: var(--paper-2); }
.sec-split .eyebrow { margin-bottom: 12px; }

/* ========== 页脚 ========== */
.foot { margin-top: clamp(80px, 10vw, 140px); padding: clamp(48px, 7vw, 80px) 0 28px; background: var(--board); color: #b8cac3; font-size: 14.5px; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.foot-about { margin: 0; max-width: 30em; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.5; color: var(--board-ink); }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.foot h2 { margin-bottom: 14px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--board-dim); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: #d5e3dd; text-decoration: none; transition: color .2s ease; }
.foot a:hover { color: #fff; }
.foot .flag { margin-inline-end: 10px; width: 20px; height: 14px; }
.foot .exlogo { width: 16px; height: 16px; border-radius: 4px; vertical-align: -3px; margin-inline-end: 6px; }
.foot-mark { margin: clamp(40px, 6vw, 72px) 0 clamp(16px, 2.4vw, 28px); color: rgba(158, 236, 203, .13); -webkit-user-select: none; user-select: none; }
.foot-mark .wordmark { width: 100%; height: auto; }
.foot-mark .logo-dot { fill: rgba(242, 178, 59, .32); }
.foot-legal { display: grid; gap: 6px; padding-top: 22px; border-top: 1px solid var(--board-line); font-size: 12.5px; color: var(--board-dim); }
.foot-legal p { margin: 0; }
.foot-copy { white-space: nowrap; }

/* ========== 嵌入版 ========== */
.embed-body { margin: 0; padding: 0; background: transparent; }
.embed-body .board { border-radius: 18px; }
.embed-src { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 8px 4px 0; font-size: 12px; color: var(--ink-3); }
.embed-src a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
.embed-src .logo { width: 18px; height: 18px; }
.embed-src .wordmark { height: 18px; margin-top: 1px; }
.hero-404 { min-height: 50vh; }

/* ========== 从右往左（乌尔都语） ========== */
html[dir="rtl"] { --font: "Be Vietnam Pro", "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", "Noto Naskh Arabic", "Geeza Pro", Tahoma, sans-serif; }
html[dir="rtl"] body { line-height: 2; }
/* 字距会把阿拉伯字母的连写拆开：乌尔都语页面一律不加字距、不转大写 */
html[dir="rtl"] body * { letter-spacing: 0 !important; }
html[dir="rtl"] .eyebrow, html[dir="rtl"] .picker-title, html[dir="rtl"] thead th, html[dir="rtl"] .cmp-head, html[dir="rtl"] .chips-t,
html[dir="rtl"] .foot h2, html[dir="rtl"] .ladder-t, html[dir="rtl"] .board-top, html[dir="rtl"] .prose .meta { text-transform: none; font-family: var(--font); font-size: 13px; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { line-height: 1.7; }
html[dir="rtl"] .display { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.75; padding-top: .35em; }
html[dir="rtl"] .sec-h h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.8; }
html[dir="rtl"] .prose { font-size: 18px; line-height: 2.2; }
html[dir="rtl"] .prose h1 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.8; }
html[dir="rtl"] .lead, html[dir="rtl"] .answer { line-height: 2.1; }
html[dir="rtl"] .grow-t b { line-height: 1.9; }
html[dir="rtl"] .faq summary { line-height: 1.9; }
/* 箭头和斜向移动跟随阅读方向 */
html[dir="rtl"] .arr { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arr, html[dir="rtl"] .more:hover .arr, html[dir="rtl"] .mcard:hover .arr { transform: scaleX(-1) translateX(4px); }
html[dir="rtl"] .grow:hover .arr { transform: scaleX(-1) translateX(6px); }
html[dir="rtl"] .picker-panel { transform-origin: top left; }
/* 数据可视化保持从左到右：价格刻度、走势、热力图按数值方向排列 */
html[dir="rtl"] .plot, html[dir="rtl"] .ladder-track, html[dir="rtl"] .ladder-labels, html[dir="rtl"] .spark,
html[dir="rtl"] .heat-grid, html[dir="rtl"] .cmp-bar, html[dir="rtl"] .bp-wrap, html[dir="rtl"] .conv-input, html[dir="rtl"] .codebox { direction: ltr; }
html[dir="rtl"] .bp-wrap { justify-content: flex-end; }
html[dir="rtl"] .cmp-bar i::after { transform-origin: left; }

/* ========== 动效 ========== */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero-grid > [data-reveal]:nth-child(2) { transition-delay: .08s; }
.js .hero-grid > [data-reveal]:nth-child(3) { transition-delay: .16s; }
.js .hero-grid > [data-reveal]:nth-child(4) { transition-delay: .22s; }

/* 计数器式数字 */
.odo { display: inline-flex; }
.odo-c { display: inline-block; height: 1em; overflow: hidden; }
.odo-s { display: flex; flex-direction: column; transition: transform 1.1s var(--ease); }
.odo-s span { height: 1em; line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .plot svg { clip-path: none; }
}

/* ---- 分享 ---- */
.ico-fill { fill: currentColor; stroke: none; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 18px; }
.share-l { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.share-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.share-b {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font: inherit; font-size: 13.5px; font-weight: 550; color: var(--ink-2); text-decoration: none; cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, transform .2s;
}
.share-b .ico { width: 16px; height: 16px; }
.share-b:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.share-b:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.share-wa .ico { color: #25d366; }
.share-fb .ico { color: #1877f2; }
.share-tg .ico { fill: #229ed9; stroke: none; }
.share-native .ico { color: #0068ff; }
.share-b.is-done { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-2); }
.prose .share { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 599px) { .share-b span { font-size: 13px; } .share-b { padding: 0 11px; } }
/* 只有图标的分享按钮：圆形；复制成功时图标换成绿底白勾 */
.share-b.share-icon { width: 34px; padding: 0; justify-content: center; }
.share-icon.is-done { background: var(--brand); border-color: var(--brand); color: #fff; }
.share-icon.is-done .ico { display: none; }
.share-icon.is-done::after { content: "✓"; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* 分享图标和到价提醒之间用一条短而浅的竖线分开 */
.share-alert:has(.alertbox-d) .share-btns::after { content: ""; align-self: center; width: 1px; height: 14px; margin-inline: 6px 2px; background: var(--line); }
/* 图标的悬停提示：在按钮上方显示名称；复制成功时显示「已复制」 */
.share-icon { position: relative; }
.share-icon::before {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 4px; z-index: 20;
  padding: 5px 9px; border-radius: 8px; background: var(--ink); color: var(--surface);
  font: 500 12px/1.2 var(--font); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s, translate .15s;
}
@media (hover: hover) { .share-icon:hover::before { opacity: 1; translate: -50% 0; } }
.share-icon:focus-visible::before, .share-icon.is-done::before { opacity: 1; translate: -50% 0; }

/* ---- 月度报告 ---- */
.months { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 20px; }
.months .chips { margin: 0; }
.chip.chip-strong { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip.chip-strong:hover { background: var(--brand-2); border-color: var(--brand-2); }
.hist td .muted { font-size: 12px; color: var(--ink-4); margin-inline-start: 4px; }

/* ---- 溢价指数 ---- */
.idx-hero { padding: 26px 26px 22px; }
.idx-k { margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--board-dim); }
.idx-v { margin: 14px 0 6px; font-size: clamp(48px, 9cqi, 76px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--board-best); font-variant-numeric: tabular-nums; }
.idx-sub { margin: 0; font-size: 14px; color: var(--board-dim); }
.idx-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 22px 0 0; border-radius: 14px; overflow: hidden; background: var(--board-line); }
.idx-stats > div { padding: 12px 14px; background: var(--board-2); }
.idx-stats dt { font-size: 12px; color: var(--board-dim); }
.idx-stats dd { margin: 4px 0 0; font-size: 20px; font-weight: 650; color: var(--board-ink); font-variant-numeric: tabular-nums; }
.idx-stats dd.idx-when { margin: 2px 0 0; font-size: 12px; font-weight: 400; color: var(--board-dim); }
.idx-method { margin: 0 0 18px; padding-inline-start: 20px; display: grid; gap: 10px; line-height: 1.6; color: var(--ink-2); }
.idx-cite { display: grid; gap: 16px; }
.idx-cite-text { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--paper-2); font: 500 13.5px/1.6 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.more-row { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.idx-cite .copy { height: 44px; padding: 0 16px; font-size: 14px; border-radius: 999px; }

/* ---- 首页可引用摘要 ---- */
.snapshot { margin: 18px 0 0; max-width: 46ch; padding-inline-start: 14px; border-inline-start: 2px solid var(--brand); font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.snapshot span { display: block; margin-bottom: 2px; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }

/* ---- 自由市场美元对比 ---- */
:root { --c-free: #7c5cdb; }
.lg.l-free i, .hdot.l-free, .tip .l-free { background: var(--c-free); }
.line.l-free { stroke: var(--c-free); }
.freetab small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-4); font-weight: 400; white-space: normal; }
.freetab tr.is-usdt th { color: var(--brand-2); }
.free-src { margin-top: 12px; font-size: 13px; color: var(--ink-4); }
.free-src a { color: inherit; }
.free-why { margin: 0; padding-inline-start: 20px; display: grid; gap: 10px; line-height: 1.6; color: var(--ink-2); }
.home-free-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.freetab tbody th { white-space: normal; }
@media (max-width: 599px) { .freetab thead th { white-space: normal; } .freetab th, .freetab td { padding-inline: 10px; } }
.mono-upi { background: #ef7d00; }
.mono-phonepe { background: #5f259f; font-size: 15px; }
.mono-paytm { background: #00baf2; }
.mono-gpay { background: #1a73e8; }
.mono-e-rupee { background: #0b4f8a; font-size: 14px; }
.mono-s.mono-phonepe, .mono-s.mono-e-rupee { font-size: 10px; }

/* ---- 换算页：随时间的价值 ---- */
.amt-past th { font-weight: 500; color: var(--ink-2); }
.amt-past .chg { color: var(--ink-4); font-size: 13.5px; }
.amt-past .chg.up { color: var(--brand-2); }
.amt-past .chg.down { color: #c2412d; }
.mono-alipay { background: #1677ff; font-size: 15px; }
.mono-wechat { background: #07c160; font-size: 15px; }
.mono-s.mono-alipay, .mono-s.mono-wechat { font-size: 12px; }

/* ---- 各国对比 ---- */
.line.l-mvn { stroke: #da251d; } .lg.l-mvn i, .hdot.l-mvn, .tip .l-mvn { background: #da251d; }
.line.l-mpk { stroke: #01843a; } .lg.l-mpk i, .hdot.l-mpk, .tip .l-mpk { background: #01843a; }
.line.l-min { stroke: #ff9933; } .lg.l-min i, .hdot.l-min, .tip .l-min { background: #ff9933; }
.line.l-mcn { stroke: #7c5cdb; } .lg.l-mcn i, .hdot.l-mcn, .tip .l-mcn { background: #7c5cdb; }
.worldtab th small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; }
.worldtab th a { display: inline-flex; align-items: center; gap: 8px; }
.mcard .flag { width: 30px; height: 20px; border-radius: 4px; flex: none; }
.mcard-t > span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }

/* ---- 文章内实时价格卡片 ---- */
.prose .livecard { margin: 28px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-l, 18px); background: var(--surface); }
.livecard-h { margin: 0 0 10px; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); display: flex; align-items: center; gap: 8px; }
.prose .livecard table { width: 100%; margin: 0; font-size: 14.5px; }
.prose .livecard th, .prose .livecard td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.prose .livecard tbody th { display: flex; align-items: center; gap: 8px; font-weight: 550; }
.prose .livecard .exlogo { width: 20px; height: 20px; }
.prose .livecard td.is-best { color: var(--brand-2); font-weight: 650; }
.livecard-f { margin: 10px 0 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); }
.livecard-f a { font-weight: 600; text-decoration: none; }
.prose .meta a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }

/* ---- 印度加密税计算器 ---- */
.taxcalc { display: grid; gap: 14px; align-content: start; }
.tc-f { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); font-weight: 550; }
.tc-f input { height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font: 600 18px/1 inherit; font-variant-numeric: tabular-nums; color: var(--ink); }
.tc-f input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.taxout dl { margin: 0; display: grid; gap: 0; }
.taxout dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.taxout dt { color: var(--ink-3); font-size: 14px; }
.taxout dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.taxout .tc-total dd { color: var(--brand-2); font-size: 20px; }
.prose .livecard table { display: table; overflow: visible; }
.prose .livecard thead th { font: 500 10.5px/1.3 var(--mono); padding: 0 0 8px; white-space: normal; }
.prose .livecard tbody th { font: 600 14px/1.2 var(--sans, inherit); letter-spacing: 0; text-transform: none; color: var(--ink); padding-inline: 0; }
.prose .livecard td { padding-inline: 8px 0; white-space: nowrap; }
.prose .livecard th.num, .prose .livecard td.num { text-align: end; }
.livecard-h { flex-wrap: wrap; }

/* ---- 法律提示 ---- */
.legal-notice { margin: 18px 0; padding: 14px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, #c2412d 35%, transparent); background: color-mix(in srgb, #c2412d 7%, var(--surface)); color: var(--ink-2); font-size: 14px; line-height: 1.6; }

/* ---- 印地语：天城文字体回退（自托管字体不含天城文） ---- */
html[lang="hi"] { --font: "Be Vietnam Pro", "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", "Mangal", system-ui, sans-serif; }
html[lang="hi"] .display { letter-spacing: -.01em; line-height: 1.15; }
html[lang="hi"] .prose { line-height: 1.85; }
html[lang="hi"] .eyebrow, html[lang="hi"] .share-l, html[lang="hi"] .snapshot span, html[lang="hi"] .livecard-h, html[lang="hi"] .idx-k, html[lang="hi"] thead th, html[lang="hi"] .prose th, html[lang="hi"] .chips-t, html[lang="hi"] .prose .meta { letter-spacing: 0; }

/* ---- 交易所名链接到介绍页 ---- */
a.exlink { display: inline-flex; align-items: center; gap: inherit; color: inherit; text-decoration: none; }
a.exlink:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a.exlink:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.home-free-link + .home-free-link { margin-inline-start: 18px; }

/* ---- 交易所页：开户步骤、风险声明、手机底部按钮 ---- */
.ad-risk { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.signup .card { display: grid; gap: 18px; }
.signup-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.signup-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; }
.signup-steps li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-2); font: 600 13px/1 var(--mono); }
.signup-steps b { font-size: 15.5px; }
.signup-steps span { color: var(--ink-3); font-size: 14.5px; line-height: 1.6; }
.sticky-cta { display: none; }
@media (max-width: 799px) {
  .sticky-cta { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta .btn { width: 100%; justify-content: center; }
  .sticky-cta small { display: block; margin-top: 6px; font-size: 11px; line-height: 1.4; color: var(--ink-4); text-align: center; }
}
/* 注册教程末尾的开户卡片（只在开启推广的市场出现） */
.prose .doc-signup { margin: 36px 0 8px; display: grid; gap: 4px; }
.prose .doc-signup-t { margin: 0 0 8px; font-weight: 650; font-size: 17px; color: var(--ink); }
.prose .doc-signup .cta-btns a { text-decoration: none; }
/* 指南目录：同一区块内的两组，各有小标题，编号连续 */
.glist-h { margin: 0 0 14px; font-size: clamp(19px, 2vw, 23px); font-weight: 650; letter-spacing: -.01em; }
.glist-group + .glist-group { margin-top: clamp(36px, 5vw, 56px); }
