/* DEX Review — design-system/dex-review/MASTER.md (ghi đè 27/10/2026): nền tối, nhấn vàng hổ phách kim loại, Outfit + Inter + JetBrains Mono */
:root {
  --bg: #0B0F17; --bg-2: #0E1320; --card: #121826; --card-2: #161E2F; --line: #222B3D; --line-2: #2E3950;
  --fg: #F3F5F9; --muted: #95A0B5; --gold: #F5B451; --gold-2: #FFE3A3; --gold-3: #E8913A; --on-gold: #1A1206;
  --up: #34D399; --down: #F87171; --violet: #7C6CF2; --cyan: #38BDF8;
  --r: 18px; --r-sm: 12px; --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px -24px rgba(0,0,0,.6);
  --display: "Outfit", system-ui, sans-serif; --ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F6F7FB; --bg-2: #EEF1F7; --card: #FFFFFF; --card-2: #F8FAFD; --line: #E2E7F0; --line-2: #CFD7E4;
  --fg: #0E1424; --muted: #56627A; --gold: #B86E12; --gold-2: #E3A23D; --gold-3: #9A560A; --on-gold: #FFFFFF;
  --up: #047857; --down: #C2283B; --shadow: 0 1px 2px rgba(14,20,36,.06), 0 16px 40px -28px rgba(14,20,36,.25); color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--ui); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--ui); font-weight: 500; font-feature-settings: "tnum", "cv11"; letter-spacing: -.01em; }
.up { color: var(--up); } .down { color: var(--down); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--gold); color: var(--on-gold); padding: 10px 14px; border-radius: 10px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* đầu trang */
.hd { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hd-in { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 20px var(--display); letter-spacing: -.02em; }
.brand b { font-weight: 600; background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 1px; }
.nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav a { padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover { color: var(--fg); background: var(--card); }
.theme { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; }
.theme svg { fill: none; stroke: currentColor; stroke-width: 2; } .theme:hover { color: var(--fg); }

/* nút */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 14px; font: 600 16px var(--ui); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-gold { color: var(--on-gold); background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--gold) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--gold) 80%, transparent), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost { color: var(--fg); border: 1px solid var(--line-2); background: color-mix(in srgb, var(--card) 70%, transparent); }
.btn-ghost:hover { border-color: var(--gold); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; border-bottom: 1px solid var(--line);
  background: radial-gradient(1200px 500px at 70% -10%, color-mix(in srgb, var(--violet) 16%, transparent), transparent 60%), linear-gradient(180deg, var(--bg-2), var(--bg)); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--fg) 9%, transparent) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(800px 420px at 70% 40%, #000 30%, transparent 75%); pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.g1 { width: 520px; height: 520px; right: 4%; top: 6%; background: rgba(60,170,170,.13); }
.g2 { width: 380px; height: 380px; right: 30%; top: 40%; background: color-mix(in srgb, var(--violet) 18%, transparent); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: color-mix(in srgb, var(--card) 70%, transparent); font: 500 13px var(--mono); color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 60%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.hero h1 { margin: 0; font-size: clamp(42px, 5.8vw, 76px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; }
.gold { background: linear-gradient(120deg, var(--gold-2) 0%, var(--gold) 45%, var(--gold-3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 22px 0 0; max-width: 560px; font-size: 19px; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* vòng quỹ đạo logo sàn */
.orbit { --o: 500px; position: relative; width: var(--o); max-width: 100%; aspect-ratio: 1; margin-left: auto; }
.core { position: absolute; inset: 31%; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(120% 120% at 30% 22%, #FFF4DA 0%, #F7D08A 16%, #E9A955 38%, #B9692A 70%, #4A2307 100%);
  box-shadow: 0 0 0 1px rgba(255,236,196,.35), 0 0 0 10px color-mix(in srgb, var(--gold) 7%, transparent), 0 0 70px -10px color-mix(in srgb, var(--gold) 55%, transparent),
    inset -18px -22px 44px rgba(50,20,0,.55), inset 8px 10px 22px rgba(255,255,255,.28); color: #1E1405; }
.core::after { content: ""; position: absolute; inset: 6% 18% 58% 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.55), transparent); filter: blur(2px); pointer-events: none; }
.core span { position: relative; z-index: 1; font: 500 clamp(20px, 2.8vw, 28px) var(--display); letter-spacing: -.03em; }
.core small { position: relative; z-index: 1; margin-top: 2px; font: 500 10.5px var(--ui); text-transform: uppercase; letter-spacing: .16em; opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* dải số liệu */
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.stats div { padding: 26px 20px 30px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats small { display: block; font: 500 13px var(--ui); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stats b { display: block; margin-top: 6px; font: 500 clamp(26px, 3.2vw, 38px) var(--display); letter-spacing: -.025em; }

/* khối nội dung */
.section { padding: 64px 20px 0; } .section:last-of-type { padding-bottom: 80px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.sec-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.sec-head p { margin: 0; color: var(--muted); }
.card, .table-card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card { padding: 24px; } .card-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 14px; } .card-h h2 { margin: 0; font-size: 22px; }
.note { color: var(--muted); font-size: 14px; margin: 14px 2px 0; }

/* thẻ "đang hot" */
.hot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hot-card { position: relative; display: grid; gap: 14px; padding: 22px; text-decoration: none; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 8%, var(--card-2)), var(--card) 60%); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, border-color .25s; }
.hot-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.hc-top { display: flex; align-items: center; gap: 12px; } .hc-top b { display: block; font: 600 18px var(--ui); letter-spacing: -.01em; } .hc-top small { color: var(--muted); font-size: 13px; }
.hc-top .chip { margin-left: auto; }
.chip { font: 600 13px var(--mono); padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); }
.hc-num span { font: 500 30px var(--display); letter-spacing: -.025em; } .hc-num small { display: block; color: var(--muted); font-size: 13px; }
.hot-card .spark { width: 100%; height: 56px; }
.logo { border-radius: 50%; background: #fff; object-fit: cover; flex: none; }

/* bảng xếp hạng */
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.rank { width: 100%; border-collapse: collapse; min-width: 880px; }
.rank th { position: sticky; top: 0; text-align: left; font: 600 12px var(--ui); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 14px; height: 52px; border-bottom: 1px solid var(--line); background: var(--card-2); }
.rank th.n, .rank td.n { text-align: right; }
.rank th button { all: unset; cursor: pointer; padding: 10px 0; } .rank th button:focus-visible { outline: 2px solid var(--gold); }
.rank th[aria-sort] button { color: var(--fg); } .rank th[aria-sort="descending"] button::after { content: " ↓"; } .rank th[aria-sort="ascending"] button::after { content: " ↑"; }
.rank td { padding: 14px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
.rank tbody tr { transition: background .15s; } .rank tbody tr:hover { background: color-mix(in srgb, var(--gold) 5%, transparent); }
.rank tbody tr:last-child td { border-bottom: 0; }
.idx { color: var(--muted); font-family: var(--mono); width: 40px; }
.ex { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; } .ex b { display: block; font-weight: 600; } .ex small { color: var(--muted); font-size: 13px; } .ex:hover b { color: var(--gold); }
.share { display: flex; align-items: center; gap: 10px; min-width: 150px; } .share .bar { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.share .bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); } .share .mono { font-size: 13px; width: 48px; text-align: right; }
.spark { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; display: block; } .spark.up { stroke: var(--up); } .spark.down { stroke: var(--down); }

/* thị phần */
.stack { display: flex; height: 18px; border-radius: 9px; overflow: hidden; gap: 2px; }
.stack span, .legend i { background: var(--c); }
.stack .rest, .legend .rest i { background: var(--line-2); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: 0; } .legend b { color: var(--fg); margin-left: 4px; font-weight: 500; }

/* hỏi đáp */
.faq details { border-bottom: 1px solid var(--line); } .faq summary { cursor: pointer; padding: 20px 0; font: 500 19px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; } .faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 20px; color: var(--muted); max-width: 820px; }

/* trang sàn */
.ex-head { padding-top: 40px; } .ex-head > h1 { font-size: clamp(36px, 5vw, 56px); margin: 0; line-height: 1.05; }
.crumb { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; } .crumb a { text-decoration: none; } .crumb a:hover { color: var(--fg); }
.ex-title { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; } .ex-title h1 { margin: 0; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; }
.ex-title p { margin: 4px 0 0; color: var(--muted); } .ex-title .btn { white-space: nowrap; }
.rank-badge { font: 600 .45em var(--mono); color: var(--gold); vertical-align: middle; padding: 4px 10px; border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); border-radius: 999px; }
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 28px; }
.kpis div { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); } .kpis small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); } .kpis b { font: 500 22px var(--display); letter-spacing: -.02em; }
.area svg { width: 100%; height: 260px; display: block; } .area .fill { fill: url(#ag); } .area .line { fill: none; stroke: var(--gold); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.area .grid line { stroke: var(--line); stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; } .area .grid text { fill: var(--muted); font: 12px var(--mono); }
.area figcaption { display: flex; justify-content: space-between; color: var(--muted); font: 12px var(--mono); margin-top: 6px; }
.prose h2 { font-weight: 600; font-size: 26px; margin: 0 0 10px; } .prose p, .prose li { color: var(--muted); } .prose a { color: var(--gold); }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

/* chân trang */
.ft { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2); }
.ft-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 48px 20px 28px; }
.ft p { color: var(--muted); font-size: 14px; max-width: 460px; } .ft h2 { font: 600 13px var(--ui); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 6px 0 14px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .ft li a { display: inline-block; padding: 6px 0; text-decoration: none; color: var(--fg); font-size: 15px; } .ft li a:hover { color: var(--gold); }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 18px 20px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 1024px) { .hero-in { grid-template-columns: 1fr; } .orbit { --o: min(420px, calc(100vw - 72px)); margin: 8px auto 0; } .hot { grid-template-columns: 1fr; } .kpis { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .hd-in { gap: 10px; height: 60px; } .brand span { font-size: 18px; } .nav a { padding: 10px 8px; font-size: 14px; } .nav a:nth-child(n+3) { display: none; } .nav { gap: 0; }
  .hero { padding-top: 40px; } .lead { font-size: 17px; } .stats { grid-template-columns: 1fr 1fr; } .stats div { padding: 18px 12px; } .stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); } .kpis { grid-template-columns: 1fr 1fr; } .ft-in { grid-template-columns: 1fr; gap: 24px; }
  .section { padding-top: 48px; } .ex-title .btn { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none !important; } .btn, .hot-card, .ex-card { transition: none; } }
@media (max-width: 400px) { .nav a:nth-child(2) { display: none; } }

/* thẻ sàn (trang /exchanges/) */
.ex-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "logo name" "num num" "spark spark"; gap: 4px 14px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--card-2), var(--card)); text-decoration: none; transition: border-color .2s, transform .2s; }
.ex-card:hover { border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); transform: translateY(-2px); }
.ex-card .logo { grid-area: logo; } .ex-card .ex-name { grid-area: name; min-width: 0; }
.ex-card .ex-name b { display: block; font: 600 17px var(--ui); letter-spacing: -.01em; }
.ex-card .ex-name small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-card .ex-num { grid-area: num; display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; }
.ex-card .ex-num span { font: 500 24px var(--display); letter-spacing: -.025em; } .ex-card .ex-num small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.ex-card .spark { grid-area: spark; width: 100%; height: 34px; margin-top: 8px; }

/* hành tinh khí (build.js PLANET) */
.planet { position: absolute; inset: 12%; width: 76%; height: 76%; overflow: visible; filter: drop-shadow(0 0 40px rgba(170,240,225,.18)); }
.p-surface { animation: drift 60s linear infinite; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(280px); } }
.vol-chip { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; padding: 10px 18px; border-radius: 14px; white-space: nowrap;
  background: color-mix(in srgb, var(--bg) 55%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--line)); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.vol-chip span { font: 500 22px var(--display); letter-spacing: -.025em; color: var(--fg); }
.vol-chip small { font: 500 10.5px var(--ui); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .p-surface { animation: none; } }

/* bài review */
.verdict { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--line)); border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 7%, var(--card-2)), var(--card) 55%); box-shadow: var(--shadow); }
.v-main { padding: 28px; } .eyebrow-s { margin: 0 0 10px; font: 500 12px var(--ui); text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.v-text { margin: 0; font: 400 19px/1.55 var(--ui); color: var(--fg); }
.v-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; } .v-lists h3 { margin: 0 0 8px; font: 600 14px var(--ui); letter-spacing: 0; }
.v-lists ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .v-lists li { display: flex; gap: 8px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.v-lists svg { flex: none; margin-top: 2px; fill: none; stroke-width: 2.2; stroke-linecap: round; } .good svg { stroke: var(--up); } .bad svg { stroke: var(--gold); }
.facts { margin: 0; padding: 22px 26px; border-left: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 35%, transparent); display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 42% 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); } .facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 14px; } .facts dd { margin: 0; font-size: 14.5px; font-weight: 500; }
.review-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 92px; } .toc p { margin: 0 0 10px; font: 600 12px var(--ui); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); } .toc a { display: block; padding: 7px 0 7px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.35; }
.toc a:hover { color: var(--fg); border-left-color: var(--gold); }
.review { max-width: 760px; } .review .byline { margin: 0 0 8px; color: var(--muted); font-size: 14px; } .review .byline a { color: var(--fg); }
.review h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 44px 0 14px; scroll-margin-top: 90px; } .review h3 { font: 600 18px var(--ui); letter-spacing: -.01em; margin: 26px 0 6px; }
.review p, .review li { color: color-mix(in srgb, var(--fg) 82%, var(--muted)); font-size: 17px; line-height: 1.75; } .review strong { color: var(--fg); font-weight: 600; }
.review ul, .review ol { padding-left: 22px; } .review li { margin: 6px 0; } .review a { color: var(--gold); }
.review .tbl { margin: 18px 0; border: 1px solid var(--line); border-radius: var(--r-sm); }
table.dt { width: 100%; border-collapse: collapse; min-width: 560px; } .dt th { text-align: left; font: 600 13px var(--ui); color: var(--muted); background: var(--card-2); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.dt td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; } .dt tr:last-child td { border-bottom: 0; }
.sources { columns: 2; } .sources li { break-inside: avoid; font-size: 15px; }
@media (max-width: 1024px) { .verdict { grid-template-columns: 1fr; } .facts { border-left: 0; border-top: 1px solid var(--line); } .review-grid { grid-template-columns: 1fr; gap: 0; } .toc { display: none; } }
@media (max-width: 640px) { .v-lists { grid-template-columns: 1fr; } .v-main { padding: 22px; } .sources { columns: 1; } .facts div { grid-template-columns: 1fr; gap: 2px; } }
@media (max-width: 760px) { .ex-title { grid-template-columns: auto minmax(0, 1fr); } .ex-title .btn { grid-column: 1 / -1; justify-self: start; } }
.review-grid > * { min-width: 0; } .review .tbl { overflow-x: auto; }

/* cột khối lượng theo ngày (build.js areaChart) */
.vchart { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; }
.vc-y { position: relative; height: 260px; min-width: 52px; text-align: right; font: 500 12px var(--ui); color: var(--muted); font-feature-settings: "tnum"; }
.vc-y span { position: absolute; right: 0; transform: translateY(-50%); line-height: 1; white-space: nowrap; }
.vc-plot { position: relative; } .vc-plot svg { display: block; width: 100%; height: 260px; overflow: visible; }
.vc-grid line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.vchart rect.up { fill: var(--up); opacity: .85; } .vchart rect.down { fill: var(--down); opacity: .85; } .vchart rect:hover { opacity: 1; }
.vc-plot svg { border-bottom: 1px solid var(--line-2); }
.vc-x { position: relative; height: 26px; } .vc-x span { position: absolute; top: 8px; transform: translateX(-50%); font: 500 12px var(--ui); color: var(--muted); white-space: nowrap; }
.vc-x span:first-child { transform: none; } .vc-x span:last-child { transform: translateX(-100%); }
.vc-legend { grid-column: 2; display: flex; gap: 18px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.vc-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.vc-legend .up { color: var(--muted); } .vc-legend .up::before { background: var(--up); } .vc-legend .down { color: var(--muted); } .vc-legend .down::before { background: var(--down); }
@media (max-width: 640px) { .vc-y, .vc-plot svg { height: 200px; } .vc-y { font-size: 11px; } }

/* link chính thức + nút giao dịch (trang sàn) */
.olinks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.olinks a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--fg); text-decoration: none; font: 500 14px var(--ui); transition: border-color .2s, color .2s; }
.olinks a:hover { border-color: var(--gold); color: var(--gold); }
.olinks svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); } .olinks a:hover svg { color: var(--gold); }
.olinks svg .f { fill: currentColor; stroke: none; }
.trade { display: grid; justify-items: end; gap: 6px; } .trade small { color: var(--muted); font-size: 12px; }
@media (max-width: 760px) { .trade { justify-items: start; grid-column: 1 / -1; } }

/* quỹ đạo 3D phối cảnh + đồng xu vệ tinh (assets/app.js tính vị trí) */
.orb-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke-width: .25; vector-effect: non-scaling-stroke; }
.orb-lines path { stroke-width: 1px; vector-effect: non-scaling-stroke; } .o-t { stroke: rgba(94,234,212,.42); } .o-v { stroke: rgba(196,167,255,.34); } .o-g { stroke: color-mix(in srgb, var(--gold) 45%, transparent); }
.orb-lines.back { z-index: 1; opacity: .55; } .planet { z-index: 2; } .orb-lines.front { z-index: 3; }
.sat { position: absolute; left: 0; top: 0; z-index: 4; will-change: transform; }
.coin { --c: var(--gold); display: grid; place-items: center; position: relative; margin: -31px 0 0 -31px; width: 62px; height: 62px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--c) 34%, transparent), color-mix(in srgb, var(--c) 9%, rgba(8,12,20,.55)) 72%);
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); backdrop-filter: blur(5px);
  box-shadow: 0 0 22px -4px color-mix(in srgb, var(--c) 55%, transparent), inset 0 0 14px color-mix(in srgb, var(--c) 28%, transparent); }
.coin .logo { display: block; max-width: none; width: 40px; height: 40px; border-radius: 50%; image-rendering: -webkit-optimize-contrast; }
.coin::after { content: ""; position: absolute; left: 16%; top: 9%; width: 42%; height: 26%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.5), transparent); pointer-events: none; }
:root[data-theme="light"] .coin { background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.9), color-mix(in srgb, var(--c) 22%, #fff) 75%); }
@media (max-width: 640px) { .coin { width: 48px; height: 48px; margin: -24px 0 0 -24px; } .coin .logo { width: 32px; height: 32px; } }
.orbit::before { content: ""; position: absolute; inset: -6%; pointer-events: none; opacity: .7;
  background-image: radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 82% 12%, #FFE3A3, transparent), radial-gradient(1.4px 1.4px at 90% 64%, #fff, transparent),
    radial-gradient(1px 1px at 6% 72%, #A7F3E6, transparent), radial-gradient(1px 1px at 30% 92%, #fff, transparent), radial-gradient(1.2px 1.2px at 64% 4%, #fff, transparent),
    radial-gradient(1px 1px at 72% 90%, #C4A7FF, transparent), radial-gradient(1px 1px at 46% 10%, #fff, transparent); }
:root[data-theme="light"] .orbit::before { display: none; }
