/* ============================================================
   CSN Metrics — Design System
   Brand: blue → green (khớp logo). Data-dense, chuyên nghiệp.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-400: #4ade80;

  --brand-gradient: linear-gradient(135deg, #1e40af 0%, #2563eb 45%, #22c55e 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(30,64,175,.08), rgba(34,197,94,.08));

  /* Semantic — light */
  --primary: #1e40af;
  --primary-hover: #1d4ed8;
  --accent: #16a34a;
  --on-primary: #ffffff;

  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --fg: #0f172a;
  --fg-muted: #475569;
  --fg-subtle: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --up: #16a34a;
  --down: #dc2626;
  --ring: rgba(37, 99, 235, .45);

  /* Type */
  --font-sans: "Be Vietnam Pro", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Spacing & shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
  --shadow: 0 4px 16px rgba(15,23,42,.08);
  --shadow-lg: 0 18px 50px -12px rgba(30,64,175,.28);
  --container: 1200px;
  --nav-h: 68px;
}

[data-theme="dark"] {
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --accent: #22c55e;
  --on-primary: #06122e;

  --bg: #0b1120;
  --surface: #111827;
  --surface-2: #18233b;
  --fg: #e9eef7;
  --fg-muted: #aab6cc;
  --fg-subtle: #8090a8;
  --border: #233149;
  --border-strong: #33425e;

  --up: #34d399;
  --down: #f87171;
  --ring: rgba(96,165,250,.5);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 6px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 22px 60px -14px rgba(0,0,0,.6);
  --brand-gradient-soft: linear-gradient(135deg, rgba(59,130,246,.14), rgba(34,197,94,.12));
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--fg); letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--fg-muted); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.tabnum { font-variant-numeric: tabular-nums; font-family: var(--font-mono); }
.text-up { color: var(--up); }
.text-down { color: var(--down); }
.muted { color: var(--fg-subtle); }
.center { text-align: center; }
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary);
  background: var(--brand-gradient-soft);
  border: 1px solid var(--border);
  padding: .4rem .85rem; border-radius: 999px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .7rem 1.4rem;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-gradient); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--fg); border-color: var(--border-strong); }
.btn-ghost:hover { color: var(--fg); border-color: var(--primary); background: var(--surface-2); }
.btn-sm { min-height: 38px; padding: .5rem 1rem; font-size: .9rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  height: var(--nav-h); display: flex; align-items: center; gap: 1.2rem;
}
.brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; font-weight: 800; letter-spacing: -.02em; color: var(--fg); font-size: 1.18rem; }
.brand:hover { color: var(--fg); }
.brand .logo { width: 38px; height: 38px; flex: none; }
.brand small { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-subtle); }
.brand b { line-height: 1; }

.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav-links a {
  display: inline-block; padding: .55rem .6rem; border-radius: 8px; white-space: nowrap;
  color: var(--fg-muted); font-weight: 500; font-size: .92rem;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { color: var(--fg); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--primary); font-weight: 600; background: var(--brand-gradient-soft); }

.nav-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle, .nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border); color: var(--fg-muted);
  transition: color .15s, border-color .15s, background .15s;
}
.theme-toggle:hover, .nav-toggle:hover { color: var(--primary); border-color: var(--primary); }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }
.nav-toggle { display: none; }

@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: .5rem 16px 1rem; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .28s ease; visibility: hidden;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding: .85rem .6rem; border-radius: 10px; font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(3.5rem, 8vw, 7rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(34,197,94,.12), transparent 60%),
    radial-gradient(55% 55% at 10% 10%, rgba(30,64,175,.14), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin: 1rem 0; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--fg-muted); max-width: 42ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: 2.4rem; }
.hero-stats div b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--fg); }
.hero-stats div span { font-size: .85rem; color: var(--fg-subtle); }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; } }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card h3 { margin-bottom: .5rem; }
.card .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1rem;
  background: var(--brand-gradient-soft); color: var(--primary);
}
.card .icon svg { width: 24px; height: 24px; }

.section-head { max-width: 720px; margin: 0 auto 2.6rem; text-align: center; }
.section-head p { margin-top: .8rem; }

/* ---------- KPI strip ---------- */
.kpi-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
@media (max-width: 760px) { .kpi-strip { grid-template-columns: repeat(2,1fr); } }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.kpi span { font-size: .82rem; color: var(--fg-subtle); }
.kpi b { display: block; font-size: 1.55rem; font-weight: 800; margin-top: .25rem; }

/* ---------- Ticker ---------- */
.ticker { background: var(--surface); border-block: 1px solid var(--border); overflow: hidden; }
.ticker-track { display: flex; gap: 2.2rem; padding: .7rem 0; white-space: nowrap; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 500; }
.ticker-item .sym { font-weight: 700; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; white-space: normal; width: 100%; } }

/* ---------- Market table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.market { width: 100%; border-collapse: collapse; min-width: 520px; table-layout: fixed; }
table.market th, table.market td { padding: .7rem .55rem; text-align: right; border-bottom: 1px solid var(--border); white-space: nowrap; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; }
table.market th { font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; color: var(--fg-subtle); font-weight: 600; background: var(--surface-2); position: sticky; top: 0; }
/* phân bổ độ rộng cột để gọn trong 1 trang */
table.market th:nth-child(1), table.market td:nth-child(1) { width: 3%; }
table.market th:nth-child(2), table.market td:nth-child(2) { width: 26%; text-align: left; }
table.market th:nth-child(1), table.market td:nth-child(1) { text-align: left; }
table.market th:nth-child(7), table.market td:nth-child(7) { width: 9%; }
table.market th:nth-child(8), table.market td:nth-child(8) { width: 6%; }
table.market tbody tr { transition: background .12s; }
table.market tbody tr:hover { background: var(--surface-2); }
table.market td:last-child, table.market th:last-child { text-align: center; }
.coin-cell { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; color: var(--fg); }
.coin-cell:hover { color: var(--primary); }
.coin-cell img { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.coin-cell b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.coin-cell span { color: var(--fg-subtle); font-size: .78rem; text-transform: uppercase; flex: none; }
.coin-row { cursor: pointer; }
.coin-row:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
.pill { display: inline-flex; align-items: center; gap: .2rem; padding: .18rem .42rem; border-radius: 6px; font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pill.up { color: var(--up); background: color-mix(in srgb, var(--up) 12%, transparent); }
.pill.down { color: var(--down); background: color-mix(in srgb, var(--down) 12%, transparent); }
.spark { width: 100%; max-width: 84px; height: 32px; }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border-strong); color: var(--fg-muted); transition: color .15s, border-color .15s, background .15s; }
.icon-link:hover { color: var(--primary); border-color: var(--primary); background: var(--surface-2); }
.icon-link svg { width: 15px; height: 15px; }
/* màn nhỏ: ẩn bớt cột phụ để không phải cuộn ngang */
@media (max-width: 1024px) { table.market th:nth-child(6), table.market td:nth-child(6) { display: none; } }
@media (max-width: 860px)  { table.market th:nth-child(7), table.market td:nth-child(7) { display: none; } }
@media (max-width: 680px)  { table.market th:nth-child(5), table.market td:nth-child(5) { display: none; } }

/* USDT/VND mini (hero trang chủ) */
.usdt-mini { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; margin-bottom: .9rem; border: 1px solid var(--border); border-radius: 12px; background: var(--brand-gradient-soft); }
.usdt-mini .tk { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #26a17b; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .72rem; }
.usdt-mini .col { display: flex; flex-direction: column; line-height: 1.2; }
.usdt-mini .col span { font-size: .72rem; color: var(--fg-subtle); }
.usdt-mini .col b { font-size: 1.15rem; }
.usdt-mini .rng { margin-left: auto; font-size: .74rem; color: var(--fg-subtle); text-align: right; }

/* USDT item trong ticker */
.ticker-item.tk-usdt { font-weight: 700; padding-right: .4rem; border-right: 1px solid var(--border); }
.ticker-item.tk-usdt .sym { color: var(--accent); }

/* USDT/VND (Binance P2P) bar */
.usdt-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-bottom: 1.2rem; padding: 1rem 1.3rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--brand-gradient-soft); }
.usdt-bar .lead-label { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.usdt-bar .lead-label .tk { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #26a17b; color: #fff; font-size: .7rem; font-weight: 800; }
.usdt-bar .quote { display: flex; flex-direction: column; }
.usdt-bar .quote span { font-size: .76rem; color: var(--fg-subtle); }
.usdt-bar .quote b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.usdt-bar .src { margin-left: auto; font-size: .78rem; color: var(--fg-subtle); text-align: right; }
.usdt-bar.clickable { cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.usdt-bar.clickable:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.usdt-bar.clickable:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.usdt-bar .usdt-cta { color: var(--primary); font-weight: 600; }
@media (max-width: 600px) { .usdt-bar .src { margin-left: 0; width: 100%; text-align: left; } }

/* Bảng sàn giao dịch */
.ex-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.ex { width: 100%; border-collapse: collapse; min-width: 640px; }
table.ex th, table.ex td { padding: .8rem 1rem; text-align: right; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.ex th { font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; color: var(--fg-subtle); font-weight: 600; background: var(--surface-2); }
table.ex th:nth-child(1), table.ex td:nth-child(1), table.ex th:nth-child(2), table.ex td:nth-child(2) { text-align: left; }
table.ex tbody tr:hover { background: var(--surface-2); }
.ex-cell { display: inline-flex; align-items: center; gap: .6rem; }
.ex-cell img { width: 26px; height: 26px; border-radius: 50%; }
.ex-cell b { font-weight: 600; }
.trust { display: inline-block; min-width: 2.2rem; padding: .15rem .45rem; border-radius: 6px; font-weight: 700; font-size: .85rem; }
.trust-hi { color: var(--up); background: color-mix(in srgb, var(--up) 14%, transparent); }
.trust-mid { color: #b45309; background: color-mix(in srgb, #f59e0b 16%, transparent); }
.trust-lo { color: var(--down); background: color-mix(in srgb, var(--down) 12%, transparent); }
@media (max-width: 820px) { table.ex th:nth-child(5), table.ex td:nth-child(5), table.ex th:nth-child(6), table.ex td:nth-child(6) { display: none; } }

/* USD / VND toggle */
.cur-toggle { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 9px; overflow: hidden; }
.cur-toggle button { border: none; background: var(--surface); color: var(--fg-muted); padding: .45rem .8rem; font-size: .85rem; font-weight: 600; line-height: 1; }
.cur-toggle button + button { border-left: 1px solid var(--border-strong); }
.cur-toggle button.active { background: var(--brand-gradient); color: #fff; }
.cur-toggle button:not(.active):hover { background: var(--surface-2); color: var(--fg); }

.table-toolbar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.search-box { position: relative; flex: 1; min-width: 220px; max-width: 360px; }
.search-box input {
  width: 100%; height: 44px; padding: 0 1rem 0 2.6rem; font: inherit;
  border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--fg);
}
.search-box input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.search-box svg { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--fg-subtle); }

/* Live price flash (Binance WebSocket) */
.cell-price { transition: color .2s; border-radius: 6px; }
.flash-up { animation: flashUp .7s ease; }
.flash-down { animation: flashDown .7s ease; }
@keyframes flashUp { 0% { background: color-mix(in srgb, var(--up) 32%, transparent); } 100% { background: transparent; } }
@keyframes flashDown { 0% { background: color-mix(in srgb, var(--down) 32%, transparent); } 100% { background: transparent; } }
.live-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--up); margin-right: .7rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); animation: livePulse 1.6s ease infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 55%, transparent); } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .flash-up, .flash-down, .live-dot { animation: none; } }

.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--border) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 6px; color: transparent; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.state-msg { padding: 2.5rem 1rem; text-align: center; color: var(--fg-subtle); }
.state-msg .btn { margin-top: 1rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 2.8rem; height: 2.8rem;
  display: grid; place-items: center; border-radius: 12px;
  background: var(--brand-gradient); color: #fff; font-weight: 800; font-size: 1.1rem;
}

/* ---------- Article / prose ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.4rem; color: var(--fg-muted); }
.prose li + li { margin-top: .4rem; }
.prose img { border-radius: var(--radius); margin-block: 1.5rem; }
.placeholder-note {
  border: 1px dashed var(--border-strong); border-radius: var(--radius);
  background: var(--brand-gradient-soft); padding: 1.2rem 1.4rem; color: var(--fg-muted);
}

/* ---------- Article cards ---------- */
.post { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post .thumb { aspect-ratio: 16/9; background: var(--brand-gradient); display: grid; place-items: center; color: rgba(255,255,255,.85); }
.post .thumb svg { width: 54px; height: 54px; }
.post .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post .tag { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.post h3 { margin: .5rem 0; font-size: 1.15rem; }
.post .meta { margin-top: auto; padding-top: 1rem; font-size: .82rem; color: var(--fg-subtle); }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 0 1.3rem; margin-bottom: .8rem; }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.1rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .85rem; color: var(--fg-subtle); padding-top: 1.5rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; }
.breadcrumb li::after { content: "/"; margin-left: .4rem; color: var(--border-strong); }
.breadcrumb li:last-child::after { content: ""; }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); background: var(--brand-gradient-soft); border-bottom: 1px solid var(--border); }
.page-hero h1 { margin-top: .6rem; }
.page-hero p { margin-top: .8rem; max-width: 60ch; }

/* ---------- Form ---------- */
.form-grid { display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field label .req { color: var(--down); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem; font: inherit; color: var(--fg);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.field .help { font-size: .82rem; color: var(--fg-subtle); margin-top: .35rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-item .icon { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-gradient-soft); color: var(--primary); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-gradient); border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.5rem); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin: .8rem auto 1.8rem; }
.cta-band .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--blue-800); }
.cta-band .btn-primary:hover { color: var(--blue-800); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: 3.5rem 2rem; margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-subtle); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: .6rem; }
.footer-grid a { color: var(--fg-muted); font-size: .95rem; }
.footer-grid a:hover { color: var(--primary); }
.footer-grid p { font-size: .92rem; max-width: 32ch; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--fg-muted); }
.footer-social a:hover { color: var(--primary); border-color: var(--primary); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; font-size: .86rem; color: var(--fg-subtle); }

/* ---------- Coin detail page ---------- */
.cd-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.cd-head .cd-id { display: flex; align-items: center; gap: .9rem; }
.cd-head img { width: 56px; height: 56px; border-radius: 50%; }
.cd-name { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.cd-sym { color: var(--fg-subtle); font-weight: 600; text-transform: uppercase; font-size: .9rem; }
.cd-rank { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--primary); background: var(--brand-gradient-soft); border: 1px solid var(--border); padding: .15rem .5rem; border-radius: 6px; margin-left: .5rem; }
.cd-price-wrap { margin-left: auto; text-align: right; }
.cd-price { font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd-price-vnd { font-size: 1rem; color: var(--fg-muted); font-variant-numeric: tabular-nums; margin-top: .2rem; }
.cd-change { font-size: .95rem; margin-top: .3rem; }
@media (max-width: 600px) { .cd-price-wrap { margin-left: 0; text-align: left; width: 100%; } .cd-price { font-size: 1.7rem; } }
.cd-chart-card { padding: 1.3rem; }
.cd-chart-top { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cd-chart { width: 100%; height: 300px; position: relative; padding-bottom: 22px; padding-right: 4px; cursor: crosshair; }
.cd-chart .cd-svg { width: 100%; height: calc(100% - 22px); display: block; }
.cd-chart .state-msg { padding-top: 6rem; cursor: default; }
.cd-yaxis { position: absolute; inset: 0 0 22px auto; right: 2px; width: 0; pointer-events: none; }
.cd-yaxis span { position: absolute; right: 0; transform: translateY(-50%); font-size: .68rem; color: var(--fg-subtle); background: color-mix(in srgb, var(--surface) 80%, transparent); padding: 0 3px; font-variant-numeric: tabular-nums; }
.cd-xaxis { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; pointer-events: none; }
.cd-xaxis span { position: absolute; transform: translateX(-50%); font-size: .68rem; color: var(--fg-subtle); white-space: nowrap; }
.cd-xaxis span:first-child { transform: translateX(0); }
.cd-xaxis span:last-child { transform: translateX(-100%); }
.cd-crosshair { position: absolute; top: 0; bottom: 22px; width: 1px; background: var(--border-strong); pointer-events: none; }
.cd-dot { position: absolute; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--surface); transform: translate(-50%, -50%); box-shadow: 0 0 0 1px rgba(0,0,0,.1); pointer-events: none; }
.cd-tip { position: absolute; top: 6px; z-index: 5; background: var(--fg); color: var(--surface); border-radius: 8px; padding: .45rem .6rem; font-size: .8rem; line-height: 1.35; white-space: nowrap; pointer-events: none; box-shadow: var(--shadow); }
.cd-tip b { display: block; font-variant-numeric: tabular-nums; font-size: .92rem; }
.cd-tip span { display: block; font-variant-numeric: tabular-nums; opacity: .85; }
.cd-tip em { display: block; font-style: normal; opacity: .65; font-size: .72rem; margin-top: .15rem; }
.cd-stats { margin-top: 1rem; }
.cd-stats .kpi b { font-size: 1.2rem; }
.cd-changes { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-top: 1rem; }
@media (max-width: 700px) { .cd-changes { grid-template-columns: repeat(2, 1fr); } }
.cd-changes .chg { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .9rem; text-align: center; }
.cd-changes .chg span { display: block; font-size: .76rem; color: var(--fg-subtle); margin-bottom: .3rem; }
.cd-changes .chg b { font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.cd-about { margin-top: 2.5rem; max-width: 820px; }
.cd-about .desc { color: var(--fg-muted); line-height: 1.75; }
.cd-about .desc a { color: var(--primary); }
.cd-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.cd-links a { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 500; padding: .5rem .9rem; border: 1px solid var(--border-strong); border-radius: 8px; color: var(--fg-muted); }
.cd-links a:hover { color: var(--primary); border-color: var(--primary); }
.cd-h2 { font-size: 1.4rem; }

/* ---------- Trực quan: bong bóng + heatmap ---------- */
.viz-card { position: relative; border: 1px solid var(--border); border-radius: var(--radius); background: radial-gradient(120% 120% at 50% 0%, var(--surface) 60%, var(--surface-2)); overflow: hidden; height: 460px; box-shadow: var(--shadow-sm); }
#bubbleCanvas { display: block; width: 100%; height: 100%; cursor: default; }
.viz-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--fg-subtle); font-size: .9rem; pointer-events: none; }
@media (max-width: 600px) { .viz-card { height: 380px; } }

.heatmap { display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: 78px; gap: 6px; }
@media (max-width: 980px) { .heatmap { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .heatmap { grid-template-columns: repeat(3, 1fr); } }
.heat-tile { border-radius: 9px; padding: .5rem .55rem; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: .12rem; overflow: hidden; transition: transform .15s ease, filter .15s ease; }
.heat-tile:hover { transform: translateY(-2px); filter: brightness(1.06); color: #fff; }
.heat-tile.lg { grid-column: span 2; grid-row: span 2; }
.heat-tile.md { grid-column: span 2; }
.heat-tile .hs { font-weight: 800; font-size: .95rem; line-height: 1; }
.heat-tile.lg .hs { font-size: 1.4rem; }
.heat-tile .hp { font-size: .72rem; opacity: .92; font-variant-numeric: tabular-nums; }
.heat-tile .hc { font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.heat-tile.lg .hc { font-size: 1.05rem; }

/* ---------- P2P ---------- */
.p2p-filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 1rem 0 1.3rem; }
.p2p-select { height: 40px; padding: 0 .7rem; border: 1px solid var(--border-strong); border-radius: 9px; background: var(--surface); color: var(--fg); font: inherit; font-size: .9rem; }
.p2p-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.p2p-check { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--fg-muted); cursor: pointer; }
.p2p-vrf { color: var(--up); font-weight: 700; font-size: .85em; }
.vrf-seal { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; flex: none; }
.pm-name .vrf-seal { width: 20px; height: 20px; vertical-align: -4px; }

/* Logo monogram sàn + chip */
.ex-mono { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .64rem; font-weight: 800; flex: none; }
.ex-chip { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .85rem; }
.ex-chip .ex-mono { width: 20px; height: 20px; }

/* Avatar thương gia */
.p2p-avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 800; font-size: .92rem; flex: none; }

/* Tab Mua/Bán full-width + ô nhập lớn kiểu app */
.cur-toggle.p2p-tabs { display: flex; width: 100%; margin-bottom: .8rem; }
.cur-toggle.p2p-tabs button { flex: 1; padding: .7rem; font-size: .95rem; }
.p2p-bigin { display: flex; align-items: center; gap: .6rem; width: 100%; height: 52px; padding: 0 1rem; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); margin-bottom: .8rem; }
.p2p-bigin:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.p2p-bigin svg { width: 20px; height: 20px; color: var(--fg-subtle); flex: none; }
.p2p-bigin input { flex: 1; min-width: 0; border: none; background: none; font: inherit; font-size: 1rem; color: var(--fg); outline: none; }
.bi-clear { flex: none; width: 26px; height: 26px; border-radius: 50%; border: none; background: var(--surface-2); color: var(--fg-muted); font-size: .8rem; }
.bi-clear:hover { color: var(--down); }

/* Bộ lọc sàn (chọn nhiều) + chú thích số tiền */
.p2p-exg { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.p2p-exg button { padding: .42rem .95rem; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); color: var(--fg-muted); font-size: .85rem; font-weight: 600; }
.p2p-exg button.active { background: var(--brand-gradient); color: #fff; border-color: transparent; }
.p2p-exg button:not(.active):hover { border-color: var(--primary); color: var(--fg); }
.p2p-amount-note { font-size: .86rem; color: var(--fg-muted); margin: 0 0 1.1rem; }

/* Biểu đồ: thống kê TB / cao / thấp */
.p2p-hist-stats { margin-bottom: 1.1rem; }
.phs-title { font-weight: 700; font-size: .95rem; margin-bottom: .7rem; }
.phs-row { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.phs-row > div { display: flex; flex-direction: column; }
.phs-row span { font-size: .76rem; color: var(--fg-subtle); }
.phs-row b { font-size: 1.2rem; font-variant-numeric: tabular-nums; margin-top: .15rem; }

/* Thẻ quảng cáo — xếp DỌC, gọn kiểu app */
.p2p-ads { display: flex; flex-direction: column; gap: .7rem; }
.p2p-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: .85rem 1rem; box-shadow: var(--shadow-sm); cursor: pointer; transition: box-shadow .2s ease, border-color .2s ease; }
.p2p-card:hover { box-shadow: var(--shadow); border-color: var(--border-strong); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.pc-price { font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pc-mrow { display: flex; align-items: center; gap: .5rem; margin: .55rem 0; }
.pc-mrow .p2p-avatar { width: 26px; height: 26px; font-size: .72rem; }
.pc-name { font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.pc-risk { display: flex; flex-wrap: wrap; gap: .4rem; margin: -.1rem 0 .55rem; }
.risk { font-size: .68rem; font-weight: 700; padding: .12rem .45rem; border-radius: 6px; }
.risk-hi { color: var(--down); background: color-mix(in srgb, var(--down) 15%, transparent); }
.risk-mid { color: #b45309; background: color-mix(in srgb, #f59e0b 18%, transparent); }
.risk-low { color: var(--fg-subtle); background: var(--surface-2); border: 1px solid var(--border); }
.pc-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; padding: .55rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pc-metrics > div { display: flex; flex-direction: column; }
.pc-metrics span { font-size: .7rem; color: var(--fg-subtle); }
.pc-metrics b { font-size: .88rem; font-variant-numeric: tabular-nums; margin-top: .1rem; }
.pc-foot { display: flex; align-items: center; gap: .7rem; margin-top: .6rem; }
.pc-pay { font-size: .76rem; color: var(--fg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.pc-limit { font-size: .76rem; color: var(--fg-subtle); white-space: nowrap; }
.pc-foot .btn-sm { color: #fff; flex: none; }
@media (max-width: 520px) { .pc-foot { flex-wrap: wrap; } .pc-pay { flex-basis: 100%; } }

/* Modal chi tiết thương gia */
.p2p-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1rem; }
.p2p-modal[hidden] { display: none; }
.p2p-modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.55); backdrop-filter: blur(2px); }
.p2p-modal-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; width: 100%; max-width: 640px; max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg); }
.p2p-modal-x { position: absolute; top: .9rem; right: .9rem; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--fg-muted); }
.p2p-modal-x:hover { color: var(--primary); border-color: var(--primary); }
.pm-head { display: flex; align-items: center; gap: .9rem; padding-right: 2rem; }
.pm-head .p2p-avatar { width: 52px; height: 52px; font-size: 1.1rem; }
.pm-name { font-size: 1.2rem; font-weight: 800; }
.pm-sub { display: flex; align-items: center; gap: .5rem; margin-top: .25rem; }
.pm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1.3rem; }
@media (max-width: 520px) { .pm-stats { grid-template-columns: repeat(2, 1fr); } }
.pm-stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: .7rem .8rem; }
.pm-stat span { display: block; font-size: .72rem; color: var(--fg-subtle); }
.pm-stat b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.pm-h { margin: 1.6rem 0 .8rem; font-size: 1rem; }
.pm-ads { grid-template-columns: 1fr; }
.pm-ads .p2p-card { cursor: default; }
.pm-ads .p2p-card:hover { transform: none; }

/* ---------- Phân tích / tín hiệu (I am Trader) ---------- */
.ta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1rem; }
.ta-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); }
.ta-card.is-long { border-left: 4px solid var(--up); }
.ta-card.is-short { border-left: 4px solid var(--down); }
.ta-card.ta-wait { opacity: .82; }
.ta-chead { display: flex; align-items: center; justify-content: space-between; }
.ta-coin b, .ta-chead > b { font-size: 1.15rem; font-weight: 800; }
.ta-tf { font-size: .72rem; color: var(--fg-subtle); margin-left: .4rem; background: var(--surface-2); padding: .1rem .4rem; border-radius: 5px; }
.ta-dir { font-size: .82rem; font-weight: 800; padding: .2rem .55rem; border-radius: 7px; }
.ta-dir.long { color: var(--up); background: color-mix(in srgb, var(--up) 14%, transparent); }
.ta-dir.short { color: var(--down); background: color-mix(in srgb, var(--down) 14%, transparent); }
.ta-price { margin: .55rem 0; font-variant-numeric: tabular-nums; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.ta-ev { font-size: .68rem; font-weight: 700; color: var(--primary); background: var(--brand-gradient-soft); padding: .1rem .4rem; border-radius: 5px; }
.ta-conf { font-size: .68rem; font-weight: 700; padding: .1rem .4rem; border-radius: 5px; }
.ta-conf.hi { color: var(--up); background: color-mix(in srgb, var(--up) 14%, transparent); }
.ta-conf.mid { color: #b45309; background: color-mix(in srgb, #f59e0b 16%, transparent); }
.ta-conf.lo { color: var(--fg-subtle); background: var(--surface-2); }
.ta-none { font-size: .85rem; color: var(--fg-subtle); margin-top: .3rem; }
.ta-read { font-size: .72rem; color: var(--fg-subtle); background: var(--surface-2); padding: .1rem .45rem; border-radius: 5px; }
.ta-dir.wait { color: var(--fg-subtle); background: var(--surface-2); }
.ta-status { font-size: .68rem; font-weight: 700; padding: .1rem .45rem; border-radius: 5px; }
.ta-status.live { color: #fff; background: var(--brand-gradient); }
.ta-status.win { color: var(--up); background: color-mix(in srgb, var(--up) 14%, transparent); }
.ta-status.loss { color: var(--down); background: color-mix(in srgb, var(--down) 12%, transparent); }
.ta-card.is-live { box-shadow: 0 0 0 2px var(--primary), var(--shadow-sm); }
.ta-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; padding: .7rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ta-levels > div { display: flex; flex-direction: column; }
.ta-levels span { font-size: .68rem; color: var(--fg-subtle); }
.ta-levels b { font-size: .86rem; font-variant-numeric: tabular-nums; margin-top: .12rem; }
.ta-bt { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .7rem; }
.ta-btnums { display: flex; flex-direction: column; gap: .1rem; }
.ta-btnums span { font-size: .7rem; color: var(--fg-subtle); }
.ta-btnums b { font-size: .85rem; font-variant-numeric: tabular-nums; }
.ta-elig { font-size: .7rem; font-weight: 700; color: var(--up); font-style: normal; }
.ta-inelig { font-size: .7rem; color: var(--fg-subtle); font-style: normal; }
.ta-eq { width: 120px; height: 34px; flex: none; }
.ta-why { margin-top: .7rem; }
.ta-why summary { cursor: pointer; font-size: .82rem; font-weight: 600; color: var(--primary); }
.ta-why ul { margin: .6rem 0 0; padding-left: 1.1rem; }
.ta-why li { font-size: .8rem; color: var(--fg-muted); margin-bottom: .35rem; line-height: 1.5; }

/* ---------- Disclaimer ---------- */
.disclaimer { font-size: .82rem; color: var(--fg-subtle); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.2rem; }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -999px; top: .5rem; z-index: 200; background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { left: .5rem; color: #fff; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }
.flex { display: flex; } .gap { gap: 1rem; } .wrap { flex-wrap: wrap; }
.list-check { list-style: none; padding: 0; }
.list-check li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; color: var(--fg-muted); }
.list-check li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--brand-gradient-soft); background-size: cover; }
.list-check li::after { content: "✓"; position: absolute; left: .28rem; top: .1em; color: var(--accent); font-weight: 800; font-size: .85rem; }
