/* Self-hosted subset of Noto Sans SC (SIL OFL 1.1, see ../fonts/OFL.txt), variable weight.
   Mac / iPhone keep their system fonts (SF + PingFang); Windows and Android use this. */
@font-face {
  font-family: "XT Sans";
  src: url("../fonts/xt-sans.woff?v=1b4f0b7256") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* XAUTREND website — shared styles for index / download / live pages.
   Dark, Apple-like product page language: black canvas, large type, rounded tiles,
   gold accent for the product, blue/orange for Buy/Sell, green/red for P&L. */

:root {
  --bg: #000;
  --bg-2: #0b0b0d;
  --tile: #141416;
  --tile-2: #1c1c1f;
  --tile-3: #26262a;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --gold-1: #fbe7ae;
  --gold-2: #e9c46a;
  --gold-3: #c4913a;
  --gold: #e9c46a;
  --link: #2997ff;
  --buy: #3b8cff;
  --sell: #ff7a45;
  --up: #26c281;
  --down: #ff4d4f;
  --pos: #30d158;
  --neg: #ff453a;
  --warn: #ff453a;
  --amber: #ffb340;
  --allow: #8e8e93;
  --radius: 28px;
  --radius-m: 20px;
  --radius-s: 14px;
  --maxw: 1040px;
  --maxw-wide: 1280px;
  --nav-h: 52px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "XT Sans", "Hiragino Sans GB",
    "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "Cascadia Mono", Consolas, "Roboto Mono", monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.num, .mono { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); letter-spacing: 0; }

/* bilingual: every translatable node carries data-l="zh" or data-l="en" */
html[data-lang="zh"] [data-l="en"], html[data-lang="en"] [data-l="zh"] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--maxw), calc(100% - 44px)); margin: 0 auto; }
.wrap-wide { width: min(var(--maxw-wide), calc(100% - 44px)); margin: 0 auto; }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(10, 10, 12, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-in { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 19px; letter-spacing: .01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand small { font-size: 12px; font-weight: 500; color: var(--text-2); letter-spacing: 0; margin-left: 2px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--text-2); font-size: 13px; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn, .icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 30px; padding: 0 11px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  font-size: 12px; color: var(--text-2); transition: color .2s, border-color .2s, background .2s;
}
.lang-btn:hover, .icon-btn:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.lang-btn b { font-weight: 600; color: var(--text); }
.lang-btn .sep { opacity: .35; }
.lang-btn .off { font-weight: 400; color: var(--text-3); }
.pill-cta {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3));
  color: #1a1204; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 220, 140, .25), 0 6px 18px -6px rgba(233, 196, 106, .55);
  transition: transform .2s, box-shadow .2s;
}
.pill-cta:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 220, 140, .45), 0 10px 26px -8px rgba(233, 196, 106, .8); }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-actions { margin-left: auto; }
  .nav-actions .support-top { display: none; }
}
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49;
  background: rgba(0, 0, 0, .96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 22px 28px; display: none; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu button.mm-item {
  color: var(--text); font-size: 26px; font-weight: 600; padding: 10px 0;
  border: 0; background: none; text-align: left; cursor: pointer; letter-spacing: -.01em;
}
.mobile-menu a:hover { text-decoration: none; color: var(--gold-1); }

.ribbon { background: var(--tile); border-bottom: 1px solid var(--line); text-align: center; padding: 12px 22px; font-size: 14px; color: var(--text-2); }
.ribbon a { white-space: nowrap; }

/* ---------- typography blocks ---------- */
.eyebrow { font-size: 19px; font-weight: 600; color: var(--gold-2); letter-spacing: 0; }
.eyebrow-s { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.h-hero { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.06; letter-spacing: -.02em; font-weight: 600; }
.h-sec { font-size: clamp(34px, 5.4vw, 68px); line-height: 1.1; letter-spacing: -.015em; }
.h-sub { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.16; letter-spacing: -.01em; }
.h-card { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.16; }
.lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--text-2); font-weight: 400; }
.lead b, .lead strong { color: var(--text); font-weight: 600; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.gold-text {
  background: linear-gradient(100deg, #fff4d6 0%, var(--gold-2) 38%, #fff1c9 55%, var(--gold-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chrome-text {
  background: linear-gradient(180deg, #ffffff 0%, #d9dde4 28%, #7b818c 52%, #eef1f5 70%, #9aa1ac 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footnote { font-size: 12px; line-height: 1.5; color: var(--text-3); }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head .lead { margin-top: 20px; }

.tile { background: var(--tile); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); position: relative; overflow: hidden; }
.tile.soft { background: var(--tile-2); }
.tile h3 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.18; }
.tile p { color: var(--text-2); margin-top: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 734px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@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; }
}
/* ?static=1 (and reduced motion): final state, no entrance animation */
html.static { scroll-behavior: auto; }
html.static .reveal { opacity: 1; transform: none; transition: none; }
html.static .sc-candle, html.static .sc-late { opacity: 1 !important; transition: none !important; }
html.static .hero-c { opacity: 1; animation: none; }
html.static .hero-letters::after { animation: none; }
html.static .hero-line { stroke-dashoffset: 0 !important; transition: none; }
html.static .fam-row .bar i { transition: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn:hover { text-decoration: none; }
.btn-gold { background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); color: #1a1204; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(233, 196, 106, .7); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); }
.link-more { font-size: 17px; color: var(--link); }
.link-more::after { content: " ›"; }

/* the download button: simple, glowing, obvious */
.dl {
  --ring: conic-gradient(from var(--a, 0deg), rgba(255, 236, 180, 0) 0deg, #fff3c4 40deg, #e9c46a 90deg, rgba(255, 236, 180, 0) 150deg, rgba(255,236,180,0) 360deg);
  position: relative; display: inline-flex; align-items: center; gap: 16px;
  padding: 0 34px 0 26px; height: 72px; border-radius: 999px;
  background: linear-gradient(180deg, #fff0c2 0%, #efcd7a 42%, #d6a34a 100%);
  color: #1b1303; font-size: 21px; font-weight: 600; letter-spacing: -.01em; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 230, 160, .5), 0 18px 50px -14px rgba(233, 196, 106, .75), inset 0 1px 0 rgba(255,255,255,.7);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
  isolation: isolate;
}
.dl::before {
  content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1;
  background: var(--ring); filter: blur(.5px); opacity: .9;
  animation: dlspin 3.2s linear infinite;
}
.dl::after {
  content: ""; position: absolute; inset: -18px; border-radius: inherit; z-index: -2;
  background: radial-gradient(closest-side, rgba(233, 196, 106, .38), transparent);
  animation: dlpulse 2.6s ease-in-out infinite;
}
.dl:hover { text-decoration: none; transform: translateY(-2px) scale(1.01); box-shadow: 0 0 0 1px rgba(255, 236, 180, .75), 0 26px 60px -16px rgba(233, 196, 106, .95), inset 0 1px 0 rgba(255,255,255,.8); }
.dl:active { transform: translateY(0) scale(.99); }
.dl-ico {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #1b1303; color: #f3d383;
}
.dl-ico svg { width: 20px; height: 20px; animation: dlbob 1.8s ease-in-out infinite; }
.dl-txt { display: flex; flex-direction: column; line-height: 1.1; }
.dl-txt small { font-size: 13px; font-weight: 600; opacity: .62; margin-top: 4px; letter-spacing: 0; }
.dl.done .dl-ico svg { animation: none; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes dlspin { to { --a: 360deg; } }
@keyframes dlpulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes dlbob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(2px); } }
@media (max-width: 480px) { .dl { height: 64px; font-size: 19px; padding: 0 26px 0 18px; gap: 12px; } .dl-ico { width: 38px; height: 38px; } }

/* ---------- hero ---------- */
/* the artwork (XAU + tagline + candle ribbon) sits above the headline, never under it */
.hero { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: clamp(12px, 2.4vw, 36px) 0 clamp(36px, 5vw, 56px); }
.hero-art { position: relative; height: clamp(250px, 36vw, 520px); display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.hero-letters {
  position: relative; font-size: clamp(140px, 28vw, 400px); line-height: .8; font-weight: 700; letter-spacing: -.05em;
  background: linear-gradient(176deg, #ffffff 0%, #e9edf3 16%, #8d95a3 33%, #f7f9fc 47%, #6c727d 60%, #d7dbe2 76%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, .08));
  user-select: none;
}
.hero-letters::after {
  content: attr(data-text); position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 226, 150, .75) 45%, rgba(170, 200, 255, .55) 52%, transparent 66%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0% { background-position: 120% 0; } 55%, 100% { background-position: -130% 0; } }
.hero-tagline {
  position: relative; margin-top: clamp(10px, 1.4vw, 20px); padding-left: .42em;
  font-size: clamp(11px, 1.2vw, 16px); font-weight: 500; letter-spacing: .42em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(90deg, #aeb4bf 0%, #ffffff 42%, #fbe7ae 72%, #e9c46a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-chart { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-62%); width: 100%; height: clamp(150px, 24vw, 340px); }
.hero-glow { position: absolute; inset: auto 10% 10% 10%; height: 45%; background: radial-gradient(50% 60% at 50% 60%, rgba(233,196,106,.16), transparent 70%); filter: blur(10px); }
.hero-foot { position: relative; margin-top: clamp(6px, 1.6vw, 22px); display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero-foot .eyebrow { color: var(--text); font-size: clamp(21px, 2.2vw, 28px); font-weight: 600; margin-bottom: 6px; }
.hero-tail { display: block; margin-top: .55em; font-size: .4em; line-height: 1.35; font-weight: 500; letter-spacing: 0; color: var(--gold-1); }
.hero-card {
  display: flex; align-items: center; gap: 22px; padding: 14px 14px 14px 24px; border-radius: 999px;
  background: rgba(30, 30, 33, .72); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.hero-card .meta { font-size: 13.5px; line-height: 1.45; color: var(--text); font-weight: 600; }
.hero-card .meta .m2 { color: var(--text-2); font-weight: 500; }
@media (max-width: 734px) {
  .hero-tagline { letter-spacing: .3em; padding-left: .3em; font-size: 10.5px; }
  .hero-card { border-radius: 22px; width: 100%; justify-content: space-between; }
}

/* ---------- intro statement ---------- */
.statement { font-size: clamp(28px, 4vw, 52px); line-height: 1.28; font-weight: 600; letter-spacing: -.01em; color: var(--text-2); max-width: 980px; }
.statement b { color: var(--text); font-weight: 600; }
.statement .g { color: var(--gold-2); }

/* ---------- highlights carousel ---------- */
.hl-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(372px, 82vw); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(22px, calc((100vw - var(--maxw)) / 2)) 24px; scrollbar-width: none; }
.hl-track::-webkit-scrollbar { display: none; }
.hl-card {
  scroll-snap-align: center; height: 520px; border-radius: var(--radius); background: var(--tile);
  padding: 32px 30px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.hl-card h3 { font-size: 26px; line-height: 1.25; position: relative; z-index: 1; }
.hl-card p { color: var(--text-2); font-size: 15px; margin-top: 10px; position: relative; z-index: 1; }
.hl-card .hl-art { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; }
.hl-nav { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.hl-nav button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tile-2); color: var(--text); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.hl-nav button:hover { background: var(--tile-3); }
.hl-nav button svg { width: 16px; height: 16px; }

/* ---------- architecture flow ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 28px; }
.flow-node { background: var(--tile-2); border-radius: 16px; padding: 16px 14px; position: relative; min-height: 112px; }
.flow-node b { display: block; font-size: 15px; }
.flow-node span { display: block; font-size: 12.5px; color: var(--text-2); margin-top: 6px; line-height: 1.4; }
.flow-node i { font-style: normal; font-size: 11px; color: var(--gold-2); font-weight: 600; letter-spacing: .06em; }
.flow-node::after {
  content: ""; position: absolute; right: -10px; top: 50%; width: 10px; height: 2px;
  background: linear-gradient(90deg, var(--gold-3), transparent);
}
.flow-node:last-child::after { display: none; }
.flow-node.ea { background: linear-gradient(160deg, #2a2111, #16130c); box-shadow: inset 0 0 0 1px rgba(233,196,106,.28); }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(3, 1fr); } .flow-node:nth-child(3)::after { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr 1fr; } .flow-node:nth-child(odd)::after { display: block; } .flow-node:nth-child(even)::after { display: none; } }

/* ---------- mode (state switcher) ---------- */
.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--tile-2); border-radius: 999px; flex-wrap: wrap; }
.seg button {
  border: 0; background: transparent; cursor: pointer; color: var(--text-2); font-size: 14px; font-weight: 600;
  height: 36px; padding: 0 16px; border-radius: 999px; transition: background .25s, color .25s; white-space: nowrap;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: #f5f5f7; color: #000; }
.seg.small button { height: 30px; font-size: 13px; padding: 0 12px; }
.state-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.mode-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
#stateSeg { display: grid; grid-template-columns: 1fr 1fr; border-radius: 18px; width: 100%; }
#stateSeg button { border-radius: 14px; }
@media (max-width: 900px) { .mode-layout { grid-template-columns: 1fr; } }
.matrix { display: grid; gap: 10px; margin-top: 18px; }
.matrix-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; background: var(--tile-2); border-radius: 14px; font-size: 15px; }
.matrix-row .v { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.v.ok { color: var(--pos); } .v.no { color: var(--neg); } .v.keep { color: var(--text); }
.matrix-note { margin-top: 16px; font-size: 14px; color: var(--text-2); min-height: 3em; }
.state-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--text-2); }

/* ---------- features ---------- */
.feat { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(48px, 6vw, 84px) 0; border-top: 1px solid var(--line); }
.feat:first-of-type { border-top: 0; }
.feat.flip .feat-copy { order: 2; }
@media (max-width: 900px) { .feat, .feat.flip { grid-template-columns: 1fr; } .feat.flip .feat-copy { order: 0; } }
.feat-no { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--gold-2); margin-bottom: 14px; }
.feat-no::before { content: ""; width: 26px; height: 1px; background: var(--gold-3); }
.feat h3 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.01em; }
.feat .alias { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--text-3); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; }
.feat p.desc { color: var(--text-2); font-size: 17px; margin-top: 18px; }
.compare { margin-top: 22px; display: grid; gap: 8px; }
.compare div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 14.5px; padding: 12px 14px; border-radius: 12px; background: var(--tile); }
.compare div b { font-weight: 600; color: var(--text-3); }
.compare div.us { background: linear-gradient(90deg, rgba(233,196,106,.12), rgba(233,196,106,.03)); box-shadow: inset 0 0 0 1px rgba(233,196,106,.22); }
.compare div.us b { color: var(--gold-2); }
@media (max-width: 480px) { .compare div { grid-template-columns: 1fr; gap: 2px; } }
.scene { position: relative; background: radial-gradient(120% 90% at 50% 0%, #17171b 0%, #0e0e10 60%, #0b0b0c 100%); border-radius: var(--radius); padding: 18px 16px 14px; box-shadow: inset 0 0 0 1px var(--line); min-height: 320px; }
.scene-cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--text-3); margin-bottom: 6px; padding: 0 4px; }
.scene-cap b { color: var(--text-2); font-weight: 600; }
.scene svg { width: 100%; height: auto; overflow: visible; }
.more-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.more-list span { font-size: 14px; color: var(--text-2); padding: 8px 14px; border-radius: 999px; background: var(--tile); border: 1px solid var(--line); }

/* scene svg vocabulary (colors live here so all scenes share one palette) */
.sc-grid { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.sc-up { fill: var(--up); stroke: var(--up); }
.sc-dn { fill: var(--down); stroke: var(--down); }
.sc-ghost { fill: none; stroke: rgba(255,255,255,.28); stroke-dasharray: 3 3; }
.sc-lbl { fill: var(--text-2); font-size: 12px; font-family: var(--font); paint-order: stroke; stroke: #0e0e10; stroke-width: 4px; stroke-linejoin: round; }
.sc-lbl-b { fill: var(--text); font-size: 12.5px; font-weight: 600; font-family: var(--font); paint-order: stroke; stroke: #0e0e10; stroke-width: 4px; stroke-linejoin: round; }
.sc-buy { fill: var(--buy); }
.sc-sell { fill: var(--sell); }
.sc-dash { fill: none; stroke-width: 1.2; stroke-dasharray: 5 4; }
.sc-band-allow { fill: #4a4a50; } .sc-band-sstop { fill: var(--buy); } .sc-band-bstop { fill: var(--sell); } .sc-band-warn { fill: var(--warn); }
.sc-candle { opacity: 0; transition: opacity .35s ease; }
.sc-late { opacity: 0; transition: opacity .6s ease; }
.scene.play .sc-candle, .scene.play .sc-late, .hl-card.play .sc-candle, .hl-card.play .sc-late { opacity: 1; }
.instant .sc-candle, .instant .sc-late { transition: none !important; }
.bandseg, .bandlbl, .sc-warn-tri { transition: opacity .3s ease; }
svg[data-hl] .bandseg { opacity: .2; }
svg[data-hl] .bandlbl { opacity: .35; }
svg[data-hl="allow"] .allow, svg[data-hl="sstop"] .sstop, svg[data-hl="bstop"] .bstop { opacity: 1; }
svg[data-hl]:not([data-hl="warn"]) .sc-warn-tri { opacity: .25; }
.hero-c { opacity: 0; animation: heroIn .6s ease forwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hero-line { transition: stroke-dashoffset 2.6s cubic-bezier(.2,.7,.2,1) .2s; }
.hero.play .hero-line { stroke-dashoffset: 0 !important; }
.hero-dot { animation: heroDot 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes heroDot { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.35); } }

/* ---------- model section ---------- */
.big-num { font-size: clamp(110px, 20vw, 260px); line-height: .9; font-weight: 700; letter-spacing: -.05em; }
.model-top { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
@media (max-width: 734px) { .model-top { grid-template-columns: 1fr; } }
.fam-card { margin-top: 44px; }
.fam-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.fam-rows { display: grid; gap: 9px; }
.fam-row { display: grid; grid-template-columns: 230px 1fr 92px; align-items: center; gap: 16px; font-size: 14.5px; min-height: 40px; }
.fam-row .nm { color: var(--text); line-height: 1.25; min-width: 0; }
.fam-row .nm b { font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fam-row .nm small { display: block; color: var(--text-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fam-row .bar { height: 12px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; }
.fam-row .bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #6b6f78, #b9bec7); transition: width .9s cubic-bezier(.2,.7,.2,1); }
.fam-row.hot .bar i { background: linear-gradient(90deg, var(--gold-3), var(--gold-1)); }
.fam-row.hot .nm b { color: var(--gold-1); }
.fam-row .val { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-2); }
@media (max-width: 600px) { .fam-row { grid-template-columns: 118px 1fr 70px; gap: 10px; font-size: 13px; } .fam-row .nm small { display: none; } }
.callouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 1000px) { .callouts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .callouts { grid-template-columns: 1fr; } }
.callout { background: var(--tile); border-radius: var(--radius-m); padding: 22px; }
.callout .k { font-size: 13px; color: var(--gold-2); font-weight: 600; letter-spacing: .04em; }
.callout .n { font-size: 40px; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.callout .n small { font-size: 16px; color: var(--text-2); font-weight: 600; margin-left: 6px; letter-spacing: 0; }
.callout p { font-size: 14px; color: var(--text-2); margin-top: 8px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-m); overflow: hidden; margin-top: 20px; }
.stats-row div { background: var(--tile); padding: 22px; }
.stats-row b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.01em; }
.stats-row b small { font-size: .55em; margin-left: 4px; font-weight: 600; }
.stats-row .lbl { display: block; font-size: 13.5px; color: var(--text-2); }
@media (max-width: 734px) { .stats-row { grid-template-columns: 1fr 1fr; } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .tile { grid-column: span 2; min-height: 220px; }
.bento .tile.w3 { grid-column: span 3; }
.bento .tile .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--tile-3); display: grid; place-items: center; margin-bottom: 18px; color: var(--gold-2); }
.bento .tile .ico svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .bento .tile, .bento .tile.w3 { grid-column: span 3; } }
@media (max-width: 600px) { .bento .tile, .bento .tile.w3 { grid-column: span 6; } }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .dl { margin-top: 36px; }
.cta .sub { margin-top: 18px; font-size: 14px; color: var(--text-2); }
.live-teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: center; }
@media (max-width: 900px) { .live-teaser { grid-template-columns: 1fr; } }
.lt-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lt-stats div { background: var(--tile-2); border-radius: 16px; padding: 18px; }
.lt-stats b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lt-stats span { font-size: 13px; color: var(--text-2); }

/* ---------- download page ---------- */
.dl-hero { text-align: center; padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 90px); position: relative; overflow: hidden; }
.dl-hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 90%; background: radial-gradient(50% 50% at 50% 50%, rgba(233,196,106,.18), transparent 70%); pointer-events: none; }
.dl-hero .h-hero { margin-top: 10px; }
.dl-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 14px; color: var(--text-2); }
.dl-meta b { color: var(--text); font-weight: 600; }
.sha { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--tile); border: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); max-width: 100%; }
.sha code { font-family: var(--mono); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn { border: 0; background: var(--tile-3); color: var(--text); border-radius: 999px; height: 26px; padding: 0 11px; font-size: 12px; cursor: pointer; flex: none; }
.copy-btn:hover { background: #34343a; }
.dl-after { margin-top: 18px; font-size: 14px; color: var(--pos); min-height: 1.5em; }
.pkg-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1000px) { .pkg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pkg-grid { grid-template-columns: 1fr; } }
.pkg { background: var(--tile); border-radius: var(--radius-m); padding: 20px; }
.pkg .f { font-family: var(--mono); font-size: 12.5px; color: var(--gold-2); }
.pkg b { display: block; margin-top: 8px; font-size: 17px; }
.pkg p { font-size: 13.5px; color: var(--text-2); margin-top: 6px; }
.req { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .req { grid-template-columns: 1fr; } }
.req div { background: var(--tile); border-radius: var(--radius-m); padding: 20px 22px; }
.req b { display: block; font-size: 16px; }
.req span { display: block; font-size: 14px; color: var(--text-2); margin-top: 6px; }
.steps { counter-reset: st; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 64px 1fr minmax(0, 360px); gap: 22px; background: var(--tile); border-radius: var(--radius); padding: 28px; align-items: start; }
@media (max-width: 1000px) { .step { grid-template-columns: 56px 1fr; } .step .shot { grid-column: 1 / -1; } }
@media (max-width: 520px) { .step { grid-template-columns: 1fr; padding: 22px; } }
.step .no { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; font-weight: 600; background: var(--tile-3); color: var(--gold-1); }
.step h3 { font-size: 22px; line-height: 1.2; }
.step p, .step li { color: var(--text-2); font-size: 15.5px; }
.step p { margin-top: 8px; }
.step ul { margin: 10px 0 0; padding-left: 18px; }
.step li { margin-top: 5px; }
.step code, .path { font-family: var(--mono); font-size: 13px; color: var(--text); background: rgba(255,255,255,.07); padding: 1px 6px; border-radius: 6px; word-break: break-all; }
.tip { margin-top: 12px; font-size: 14px; color: var(--text-2); padding: 10px 14px; border-radius: 12px; background: rgba(255,179,64,.08); box-shadow: inset 0 0 0 1px rgba(255,179,64,.22); }
.tip b { color: var(--amber); }
/* mini window mockups used as step "screenshots" */
.shot { background: #1b1b1e; border-radius: 14px; box-shadow: 0 20px 50px -24px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; font-size: 12.5px; }
.shot-bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #2a2a2e; color: var(--text-2); font-size: 11.5px; }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #4a4a50; }
.shot-bar span { margin-left: 6px; }
.shot-body { padding: 14px; color: var(--text); line-height: 1.55; }
.shot-body .ok { color: var(--pos); font-weight: 600; }
.shot-body .row { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.04); margin-top: 6px; }
.shot-body .chk { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.shot-body .chk i { width: 14px; height: 14px; border-radius: 4px; background: var(--link); display: inline-grid; place-items: center; }
.shot-body .chk i::after { content: ""; width: 7px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.shot-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.shot-card div { border-radius: 10px; background: rgba(48, 209, 88, .1); box-shadow: inset 0 0 0 1px rgba(48,209,88,.35); padding: 10px; }
.shot-card b { display: block; font-size: 11px; color: var(--text-2); font-weight: 600; }
.shot-card span { color: var(--pos); font-weight: 600; }
.trial-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; margin-top: 12px; }
.trial-flow::before { content: ""; position: absolute; left: 8%; right: 8%; top: 27px; height: 2px; background: linear-gradient(90deg, var(--gold-3), var(--gold-1), var(--gold-3)); opacity: .55; }
.tf-step { text-align: center; padding: 0 8px; position: relative; }
.tf-step .dot { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--tile-2); box-shadow: inset 0 0 0 1px rgba(233,196,106,.45); display: grid; place-items: center; color: var(--gold-1); font-weight: 600; font-size: 18px; position: relative; z-index: 1; }
.tf-step.hi .dot { background: linear-gradient(180deg, var(--gold-1), var(--gold-3)); color: #1b1303; box-shadow: 0 0 30px rgba(233,196,106,.45); }
.tf-step b { display: block; margin-top: 14px; font-size: 15.5px; }
.tf-step span { display: block; margin-top: 6px; font-size: 13px; color: var(--text-2); line-height: 1.45; }
@media (max-width: 900px) {
  .trial-flow { grid-template-columns: 1fr; gap: 18px; }
  .trial-flow::before { left: 27px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .tf-step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; text-align: left; align-items: center; padding: 0; }
  .tf-step .dot { margin: 0; }
  .tf-step b { margin-top: 0; }
}
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
@media (max-width: 734px) { .rules { grid-template-columns: 1fr; } }
.rules div { background: var(--tile); border-radius: var(--radius-m); padding: 18px 20px; font-size: 15px; color: var(--text-2); }
.rules b { color: var(--text); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--tile); border-radius: var(--radius-m); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 28px 20px 0; font-size: 17px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 24px; font-weight: 300; color: var(--text-2); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--text-2); font-size: 15.5px; }

/* ---------- risk + footer ---------- */
.risk { background: var(--tile); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); font-size: 14px; color: var(--text-2); line-height: 1.6; }
.risk h3 { font-size: 17px; color: var(--text); margin-bottom: 8px; }
.footer { border-top: 1px solid var(--line); padding: 34px 0 48px; font-size: 12.5px; color: var(--text-3); }
.footer-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer a { color: var(--text-2); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer .legal { margin-top: 16px; max-width: 860px; line-height: 1.6; }

/* ---------- support: floating button + modal ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px;
  background: rgba(36, 36, 40, .86); border: 1px solid var(--line-2); color: var(--text); cursor: pointer;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px -18px rgba(0,0,0,.9); font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), background .2s, opacity .3s;
}
.fab.show { opacity: 1; pointer-events: auto; transform: none; }
.fab.show:hover { transform: translateY(-2px); background: rgba(50, 50, 56, .92); }
.fab svg { width: 20px; height: 20px; color: var(--gold-2); }
@media (max-width: 520px) { .fab { right: 14px; bottom: 14px; height: 44px; padding: 0 14px 0 12px; } }
.modal-back { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-back.open { display: flex; animation: fadein .2s ease; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.modal { width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #161618; border-radius: 26px; box-shadow: 0 30px 80px -20px #000, inset 0 0 0 1px var(--line-2); padding: 28px; position: relative; animation: pop .25s cubic-bezier(.2,.7,.2,1); }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h2 { font-size: 26px; }
.modal .sub { color: var(--text-2); font-size: 14.5px; margin-top: 6px; }
.modal-x { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--tile-3); color: var(--text-2); cursor: pointer; font-size: 18px; line-height: 1; }
.modal-x:hover { color: var(--text); }
.ct-list { display: grid; gap: 10px; margin-top: 20px; }
.ct { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--tile-2); }
.ct .ci { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; }
.ct .ci svg { width: 24px; height: 24px; }
.ct .ci.wx { background: #07c160; } .ct .ci.qq { background: #12b7f5; } .ct .ci.em { background: #3a3a40; color: var(--gold-1); }
.ct b { display: block; font-size: 13px; color: var(--text-2); font-weight: 600; }
.ct .val { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0; word-break: break-all; }
.ct .val a { color: var(--text); }
.modal .hint { margin-top: 16px; font-size: 13px; color: var(--text-3); line-height: 1.55; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(10px); z-index: 100; background: #f5f5f7; color: #000; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- live page ---------- */
.live-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 40px 0 22px; }
.live-head h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.03em; }
.live-status { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); background: var(--tile); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 0 rgba(48,209,88,.6); animation: pulse 2s infinite; flex: none; }
.pulse.warn { background: var(--amber); box-shadow: none; animation: none; }
.pulse.off { background: var(--neg); box-shadow: none; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(48,209,88,.55); } 70% { box-shadow: 0 0 0 9px rgba(48,209,88,0); } 100% { box-shadow: 0 0 0 0 rgba(48,209,88,0); } }
.ring { width: 18px; height: 18px; flex: none; }
.ring circle { fill: none; stroke-width: 2.5; }
.ring .bg { stroke: rgba(255,255,255,.12); } .ring .fg { stroke: var(--text-2); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1s linear; }
.runbar { display: flex; align-items: center; gap: 24px; margin-bottom: 16px; padding: 18px 26px; border-radius: var(--radius); background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); }
.runbar[hidden] { display: none; }
.run-days { display: flex; align-items: baseline; gap: 6px; flex: none; }
.run-days b { font-size: clamp(46px, 6vw, 68px); line-height: 1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #fff4d6 0%, var(--gold-2) 45%, var(--gold-3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.run-days > span { font-size: 18px; color: var(--text-2); font-weight: 600; }
.run-copy b { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 600; }
.run-copy > span { display: block; color: var(--text-2); font-size: 14px; margin-top: 5px; }
@media (max-width: 560px) { .runbar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px; } }
.lt-run { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; color: var(--text-2); font-size: 14px; }
.lt-run b { font-size: 30px; font-weight: 700; color: var(--gold-1); font-variant-numeric: tabular-nums; }
.lt-run[hidden] { display: none; }
.verify {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center;
  margin-bottom: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(233,196,106,.13), rgba(233,196,106,.02) 55%), var(--tile);
  box-shadow: inset 0 0 0 1px rgba(233,196,106,.3);
}
.verify[hidden] { display: none; }
.verify h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin-top: 8px; }
.verify-copy p { color: var(--text-2); font-size: 14.5px; margin-top: 12px; }
.verify-fields { display: grid; gap: 10px; }
.vf { display: grid; grid-template-columns: 116px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px var(--line); }
.vf > span { font-size: 13px; color: var(--text-2); }
.vf b { font-size: 19px; font-weight: 600; letter-spacing: .01em; font-variant-numeric: tabular-nums; word-break: break-all; color: var(--gold-1); }
@media (max-width: 860px) { .verify { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .vf { grid-template-columns: 1fr auto; } .vf > span { grid-column: 1 / -1; } }
.demo-banner { margin-bottom: 16px; padding: 12px 16px; border-radius: 14px; background: rgba(255,179,64,.1); box-shadow: inset 0 0 0 1px rgba(255,179,64,.35); color: var(--amber); font-size: 14px; font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .kpis { grid-template-columns: 1fr 1fr; } .kpis .kpi:first-child { grid-column: 1 / -1; } }
.kpi { background: var(--tile); border-radius: var(--radius-m); padding: 18px 20px; min-width: 0; }
.kpi .l { font-size: 13px; color: var(--text-2); display: flex; justify-content: space-between; gap: 8px; }
.kpi .v { font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .s { font-size: 12.5px; color: var(--text-3); margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-v { color: var(--pos); } .neg-v { color: var(--neg); }
.card { background: var(--tile); border-radius: var(--radius); padding: 18px; margin-top: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 4px 4px 14px; }
.card-head h2 { font-size: 21px; letter-spacing: -.015em; }
.card-head .sub { font-size: 13px; color: var(--text-2); }
.chart-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sym { font-size: 17px; font-weight: 600; }
.px { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ohlc { font-size: 12.5px; color: var(--text-2); font-variant-numeric: tabular-nums; min-height: 1.4em; }
.chart-box { position: relative; height: clamp(340px, 52vh, 560px); border-radius: 16px; overflow: hidden; background: #0c0c0e; box-shadow: inset 0 0 0 1px var(--line); touch-action: pan-y; }
.chart-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart-opts { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); padding: 10px 4px 0; }
.chart-opts label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.chart-opts input { accent-color: var(--gold-2); }
.chart-hint { margin-left: auto; color: var(--text-3); }
.empty { padding: 36px 16px; text-align: center; color: var(--text-3); font-size: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: right; color: var(--text-3); font-weight: 600; font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { text-align: right; padding: 9px 10px; border-bottom: 1px solid rgba(255,255,255,.05); white-space: nowrap; }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl tr.bk td { background: rgba(255,255,255,.035); font-weight: 600; }
.tbl tr.bk td:first-child { border-radius: 10px 0 0 10px; }
.tbl tr.bk td:last-child { border-radius: 0 10px 10px 0; }
.tbl tr.od td { color: var(--text-2); font-size: 13px; }
.tbl-scroll { overflow-x: auto; }
.side { font-style: normal; display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 20px; padding: 0 6px; border-radius: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.side.b { background: rgba(59,140,255,.16); color: #7cb2ff; }
.side.s { background: rgba(255,122,69,.16); color: #ffa27d; }
.pos-cards { display: none; }
@media (max-width: 760px) { .tbl-scroll.pos { display: none; } .pos-cards { display: grid; gap: 10px; } }
.pc { background: var(--tile-2); border-radius: 16px; padding: 14px 16px; }
.pc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pc-top b { font-size: 15px; }
.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; font-size: 12.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.pc-grid span { display: block; color: var(--text); font-size: 14px; font-weight: 600; }
.pc-orders { margin-top: 10px; display: grid; gap: 4px; font-size: 12.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.pc-orders div { display: flex; justify-content: space-between; }
.hist-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 4px 4px 14px; }
.hstats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
@media (max-width: 1000px) { .hstats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .hstats { grid-template-columns: 1fr 1fr; } }
.hs { background: var(--tile-2); border-radius: 14px; padding: 13px 15px; min-width: 0; }
.hs b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs span { font-size: 12.5px; color: var(--text-2); }
.daily { height: 120px; margin-top: 14px; position: relative; }
.daily canvas { width: 100%; height: 100%; }
.vlist-head, .vrow { display: grid; grid-template-columns: 1.5fr .8fr .7fr 1.9fr 1fr 1fr 1fr; gap: 10px; align-items: center; padding: 0 12px; font-variant-numeric: tabular-nums; }
.vlist-head { height: 36px; font-size: 12px; color: var(--text-3); font-weight: 600; border-bottom: 1px solid var(--line); margin-top: 14px; }
.vlist-head span:nth-child(n+3), .vrow .dk:nth-child(n+3) { text-align: right; }
.vlist { position: relative; height: 0; overflow-y: auto; overscroll-behavior: contain; contain: strict; }
.vlist-inner { position: relative; width: 100%; }
.vrow { position: absolute; left: 0; right: 0; top: 0; height: 48px; font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,.045); will-change: transform; }
.vrow .t2 { color: var(--text-3); font-size: 12px; display: block; font-style: normal; }
.vrow .pl { font-weight: 600; }
.vrow .mb { display: none; }
@media (max-width: 760px) {
  .vlist-head { display: none; }
  .vrow { grid-template-columns: 1fr auto; grid-template-rows: auto auto; height: 64px; row-gap: 3px; padding: 8px 12px; align-content: center; }
  .vrow .dk { display: none; }
  .vrow .mb { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .vrow .m2, .vrow .m4 { text-align: right; }
  .vrow .m3, .vrow .m4 { font-size: 12px; color: var(--text-3); }
}
.src-note { font-size: 12.5px; color: var(--text-3); margin-top: 18px; line-height: 1.6; }
