/* ============================================================
   USDTBee — "Mint Ledger"
   Stablecoin green for trust and money, a bee-gold accent for
   the brand, ledger-grid texture, tabular numbers everywhere.
   ============================================================ */
:root {
  --f-sans: 'Inter Tight', 'PingFang SC', 'PingFang TC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Microsoft JhengHei', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(18px, 4vw, 48px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
html[data-theme="light"] {
  --bg: #F4F7F5;
  --bg-2: #EAF0EC;
  --surface: #FFFFFF;
  --surface-2: #F6F9F7;
  --line: #E1E8E4;
  --line-2: #CBD6D0;
  --ink: #0C1F19;
  --ink-2: #41534C;
  --ink-3: #5E6E68;
  --mint: #0B9B72;
  --mint-2: #12B886;
  --mint-ink: #077255;
  --mint-solid: #08805E;
  --mint-soft: #E3F4EC;
  --mint-line: rgba(11, 155, 114, .28);
  --on-mint: #FFFFFF;
  --bee: #F5B301;
  --bee-soft: #FFF4D1;
  --bee-ink: #8A6100;
  --up: #C2410C;
  --down: #0B9B72;
  --danger: #C8372D;
  --danger-soft: #FDECEA;
  --warn-soft: #FFF6DC;
  --deep: #0A2A21;
  --deep-2: #0F3A2E;
  --grid: rgba(11, 155, 114, .07);
  --shadow: 0 1px 2px rgba(12, 31, 25, .04), 0 12px 32px -16px rgba(12, 31, 25, .14);
  --shadow-lg: 0 2px 4px rgba(12, 31, 25, .04), 0 30px 60px -28px rgba(7, 70, 52, .30);
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #07120F;
  --bg-2: #0A1814;
  --surface: #0E1C18;
  --surface-2: #12231E;
  --line: rgba(206, 255, 234, .08);
  --line-2: rgba(206, 255, 234, .15);
  --ink: #E7F2ED;
  --ink-2: #A9BAB3;
  --ink-3: #84968F;
  --mint: #22C493;
  --mint-2: #3ADBA8;
  --mint-ink: #4FE0B1;
  --mint-solid: #22C493;
  --mint-soft: rgba(34, 196, 147, .12);
  --mint-line: rgba(34, 196, 147, .32);
  --on-mint: #04130E;
  --bee: #FFC233;
  --bee-soft: rgba(255, 194, 51, .12);
  --bee-ink: #FFD36B;
  --up: #FF9B66;
  --down: #3ADBA8;
  --danger: #FF7A6E;
  --danger-soft: rgba(255, 122, 110, .10);
  --warn-soft: rgba(255, 194, 51, .09);
  --deep: #0B2620;
  --deep-2: #10342A;
  --grid: rgba(58, 219, 168, .06);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -18px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .75);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
::selection { background: var(--mint-solid); color: var(--on-mint); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.wrap.narrow { max-width: 820px; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.center { text-align: center; justify-content: center; }
.pad { padding: 28px 20px; }
.mb { margin-bottom: 20px; }
.nowrap { white-space: nowrap; }
.up { color: var(--up); }
.down { color: var(--down); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--mint-solid); color: var(--on-mint); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark { width: 30px; height: 30px; }
.brand-word { font-size: 19px; letter-spacing: -.03em; }
.brand-word b { color: var(--mint); font-weight: 700; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: 14.5px; transition: background .2s, color .2s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-links a[aria-current="page"] { color: var(--mint-ink); background: var(--mint-soft); }
.nav-act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.script-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; }
.script-switch span { padding: 3px 10px; border-radius: 999px; color: var(--ink-3); }
.script-switch span.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); font-weight: 600; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); }
.icon-btn svg { width: 18px; height: 18px; }
html[data-theme="light"] .ico-moon, html[data-theme="dark"] .ico-sun { display: none; }

/* ---------- Ticker ---------- */
.ticker { border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; font-size: 13px; }
.ticker-track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; }
.tick { display: inline-flex; align-items: center; gap: 8px; padding: 9px 22px; border-right: 1px solid var(--line); white-space: nowrap; }
.tick:hover { background: var(--surface-2); }
.tick-code { color: var(--ink-3); font-weight: 500; }
.tick-prem { font-family: var(--f-mono); font-size: 12px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--mint-solid); color: var(--on-mint); box-shadow: 0 10px 24px -10px var(--mint); }
.btn-primary:hover { background: color-mix(in srgb, var(--mint-solid) 88%, #000); }
.btn-ghost { border: 1px solid var(--line-2); background: var(--surface); }
.btn-ghost:hover { border-color: var(--mint-line); color: var(--mint-ink); }
.btn-light { background: #fff; color: #0A2A21; margin-top: 26px; }
.btn-light:hover { background: #E9FFF6; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid transparent; transition: background .2s; }
.pill svg { width: 13px; height: 13px; }
.pill-buy { background: var(--mint-soft); color: var(--mint-ink); }
.pill-buy:hover { background: var(--mint-solid); color: var(--on-mint); }
.pill-sell { background: var(--bee-soft); color: var(--bee-ink); }
.pill-sell:hover { background: var(--bee); color: #241A00; }
.pill + .pill { margin-left: 4px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 6px; background: var(--mint-soft); color: var(--mint-ink); }
.tag-sell, .tag-card { background: var(--bee-soft); color: var(--bee-ink); }
.tag-safety { background: var(--danger-soft); color: var(--danger); }
.tag-basics, .tag-transfer { background: var(--bg-2); color: var(--ink-2); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); margin-right: 8px; vertical-align: middle; }
.dot.live { box-shadow: 0 0 0 0 var(--mint); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 60%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--mint); animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.eyebrow { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--mint-ink); background: var(--mint-soft); border: 1px solid var(--mint-line); padding: 5px 12px 5px 10px; border-radius: 999px; }
.eyebrow.light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #9FF2D2; gap: 6px; }
.ico-sm { width: 15px; height: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 640px; height: 640px; right: -120px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--mint) 22%, transparent), transparent 65%);
  pointer-events: none;
}
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.12; letter-spacing: -.035em; font-weight: 750; margin: 22px 0 20px; }
.hero h1 em { font-style: normal; color: var(--mint); background: linear-gradient(transparent 68%, var(--bee-soft) 68%); }
.hero-sub { font-size: 17px; color: var(--ink-2); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin-top: 28px; color: var(--ink-2); font-size: 14px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { color: var(--mint); }

.board-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.board-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.board-title { font-weight: 650; font-size: 15px; }
.board-row { display: grid; grid-template-columns: 52px 1fr auto auto 16px; align-items: center; gap: 14px; padding: 11px 20px; border-bottom: 1px solid var(--line); transition: background .15s; }
.board-row:last-child { border-bottom: 0; }
.board-row:hover { background: var(--surface-2); }
.board-row:hover .board-go { color: var(--mint); transform: translateX(2px); }
.fiat-chip { font-family: var(--f-mono); font-size: 12px; font-weight: 600; padding: 4px 0; text-align: center; border-radius: 7px; background: var(--mint-soft); color: var(--mint-ink); }
.board-name { font-weight: 550; font-size: 14.5px; line-height: 1.3; }
.board-name small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 400; }
.board-px { font-size: 15px; font-weight: 600; min-width: 64px; text-align: right; }
.board-go { color: var(--ink-3); transition: transform .2s, color .2s; }
.board-foot { padding: 12px 20px; background: var(--surface-2); border-top: 1px solid var(--line); }
.board-empty { display: flex; gap: 12px; align-items: center; padding: 48px 20px; color: var(--ink-2); justify-content: center; }

/* ---------- Sections ---------- */
.section { padding-top: 64px; padding-bottom: 8px; }
.sec-head { margin-bottom: 24px; }
.sec-head.row { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.sec-head h2, .explain h2 { font-size: 26px; letter-spacing: -.025em; line-height: 1.25; }
.sec-head p { margin-top: 4px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--mint-ink); font-weight: 600; font-size: 14px; }
.link-more svg { width: 16px; height: 16px; }

.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.path { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.path:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--mint-line); }
.path-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--mint-soft); color: var(--mint-ink); margin-bottom: 18px; }
.path:nth-child(2) .path-ico, .path:nth-child(3) .path-ico { background: var(--bee-soft); color: var(--bee-ink); }
.path-ico svg { width: 23px; height: 23px; }
.path h3 { font-size: 18px; letter-spacing: -.02em; }
.path p { color: var(--ink-2); font-size: 14px; margin: 6px 0 18px; flex: 1; }
.path-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--mint-ink); }
.path-more svg { transition: transform .2s; }
.path:hover .path-more svg { transform: translateX(3px); }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; transition: border-color .2s, box-shadow .2s; }
.guide-card .tag { align-self: flex-start; }
.guide-card:hover { border-color: var(--mint-line); box-shadow: var(--shadow); }
.guide-card h3 { font-size: 17px; line-height: 1.4; letter-spacing: -.015em; }
.guide-card p { color: var(--ink-2); font-size: 14px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.safety { margin-top: 72px; background: var(--deep); color: #E6F6EF; position: relative; overflow: hidden; }
.safety::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 40px 40px; }
.safety-in { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; padding-top: 64px; padding-bottom: 64px; align-items: center; }
.safety h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.3; letter-spacing: -.03em; margin-top: 18px; color: #fff; }
.rules { list-style: none; display: grid; gap: 12px; }
.rules li { display: flex; gap: 18px; padding: 18px 20px; border-radius: var(--r-md); background: var(--deep-2); border: 1px solid rgba(255, 255, 255, .07); }
.rules b { font-family: var(--f-mono); color: var(--bee); font-size: 14px; padding-top: 2px; }
.rules strong { display: block; color: #fff; font-size: 16px; }
.rules span { color: #9DB8AE; font-size: 14px; }

/* ---------- Page heads ---------- */
.page-head { padding: 40px 0 28px; }
.page-head h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.035em; line-height: 1.2; margin: 10px 0 10px; }
.page-head > .wrap > p { max-width: 760px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--ink-3); }
.crumbs a:hover { color: var(--mint-ink); }
.fiat-tabs { display: flex; gap: 8px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.fiat-tabs::-webkit-scrollbar { display: none; }
.fiat-tabs a { flex: none; display: flex; flex-direction: column; padding: 9px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); line-height: 1.3; transition: border-color .2s; }
.fiat-tabs a b { font-family: var(--f-mono); font-size: 14px; }
.fiat-tabs a small { font-size: 12px; color: var(--ink-3); }
.fiat-tabs a:hover { border-color: var(--mint-line); }
.fiat-tabs a[aria-current="page"] { background: var(--mint-solid); border-color: var(--mint-solid); color: var(--on-mint); }
.fiat-tabs a[aria-current="page"] small { color: color-mix(in srgb, var(--on-mint) 75%, transparent); }

/* ---------- P2P board ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.stat-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.stat-label svg { width: 15px; height: 15px; }
.stat-val { font-size: 28px; font-weight: 650; line-height: 1.2; }
.stat-sub { font-size: 12.5px; color: var(--ink-3); }
.stat-buy { border-color: var(--mint-line); background: linear-gradient(160deg, var(--mint-soft), var(--surface) 70%); }
.stat-buy .stat-label { color: var(--mint-ink); }
.stat-sell { border-color: color-mix(in srgb, var(--bee) 40%, transparent); background: linear-gradient(160deg, var(--bee-soft), var(--surface) 70%); }
.stat-sell .stat-label { color: var(--bee-ink); }

.calc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 14px 0; padding: 14px 20px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-md); font-size: 14.5px; }
.calc label { display: inline-flex; align-items: center; gap: 8px; }
.calc select, .calc input { height: 38px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface-2); padding: 0 12px; }
.calc input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }
.calc input { width: 120px; font-family: var(--f-mono); }
.calc-out b { font-size: 18px; color: var(--mint-ink); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-top: 18px; overflow: hidden; }
.panel-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 18px; letter-spacing: -.02em; }
.panel-foot { padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface-2); }
.panel-foot a { color: var(--mint-ink); text-decoration: underline; text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { font-size: 12.5px; font-weight: 600; color: var(--ink-3); text-align: left; padding: 12px 22px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 14px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.r { text-align: right; }
.ex-table td.mono { font-size: 15.5px; font-weight: 600; white-space: nowrap; }
.ex { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.ex i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 20%, transparent); }
.best { display: inline-block; margin-left: 8px; padding: 1px 7px; font-family: var(--f-sans); font-size: 11.5px; font-weight: 700; border-radius: 5px; background: var(--bee); color: #241A00; vertical-align: 2px; }
.gap { margin-left: 8px; font-size: 12px; color: var(--ink-3); font-weight: 500; }

.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.seg button { padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.seg button[data-tab="buy"][aria-selected="true"] { color: var(--mint-ink); }
.seg button[data-tab="sell"][aria-selected="true"] { color: var(--bee-ink); }

.ad { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr minmax(0, 1.6fr) auto; gap: 18px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.ad:last-child { border-bottom: 0; }
.ad:hover { background: var(--surface-2); }
.ad-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ad-who .ex { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.ad-name { font-weight: 600; display: inline-flex; align-items: center; gap: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vbadge { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--mint-solid); color: var(--on-mint); }
.vbadge svg { width: 11px; height: 11px; }
.ad-price { font-size: 19px; font-weight: 650; }
.ad-price small { font-size: 12px; color: var(--ink-3); margin-left: 4px; font-weight: 500; }
.ad-lim { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.pays { display: flex; flex-wrap: wrap; gap: 4px; width: 100%; }
.pays em { font-style: normal; font-size: 12px; padding: 1px 8px; border-radius: 5px; background: var(--bg-2); color: var(--ink-2); }
.loading-box { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 60px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink-2); }

.explain { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.explain h2 { font-size: 20px; margin-bottom: 14px; }
.plain { list-style: none; display: grid; gap: 10px; color: var(--ink-2); font-size: 14.5px; }
.plain li { padding-left: 18px; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 7px; border-radius: 2px; background: var(--mint); transform: rotate(45deg); }
.plain b { color: var(--ink); }
.mini-guides { display: grid; gap: 8px; }
.mini-guides a { display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 550; font-size: 14.5px; transition: border-color .2s; }
.mini-guides a:hover { border-color: var(--mint-line); }
.mini-guides a svg { margin-left: auto; color: var(--ink-3); }

/* ---------- U cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--mint-line); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.toggle { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.toggle input { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 36px; height: 21px; margin: 0; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: background .25s var(--ease); }
.toggle input::after { content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.toggle input:checked { background: var(--mint-solid); }
.toggle input:checked::after { transform: translateX(15px); }
.toggle input:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.ucard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s var(--ease); }
.ucard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.status-stopped .ucard-face { filter: grayscale(1) opacity(.6); }
.ucard-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ucard-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ucard-title h2 { font-size: 18px; letter-spacing: -.02em; margin-right: auto; }
.status { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; }
.status.ok { background: var(--mint-soft); color: var(--mint-ink); }
.status.warn { background: var(--bee-soft); color: var(--bee-ink); }
.status.stopped { background: var(--danger-soft); color: var(--danger); }
.status.demo { background: var(--bg-2); color: var(--ink-3); border: 1px dashed var(--line-2); }
.fees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.fees div { background: var(--surface-2); padding: 8px 10px; }
.fees dt { font-size: 11.5px; color: var(--ink-3); }
.fees dd { font-weight: 650; font-size: 14.5px; }
.net1000 { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--mint-soft); color: var(--mint-ink); font-size: 14px; font-weight: 550; }
.net1000 b { font-size: 18px; }
.ucard-meta { display: grid; gap: 4px; font-size: 13.5px; color: var(--ink-2); }
.ucard-meta b { color: var(--ink-3); font-weight: 500; margin-right: 8px; }
.uses { display: flex; flex-wrap: wrap; gap: 5px; }
.uses em { font-style: normal; font-size: 12px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.checked { margin-top: auto; }
.ucard-go { justify-self: start; height: 42px; font-size: 14.5px; }
.ucard-go svg { width: 15px; height: 15px; }

/* ---------- Callouts ---------- */
.callout { padding: 16px 20px; border-radius: var(--r-md); background: var(--mint-soft); border: 1px solid var(--mint-line); font-size: 14.5px; color: var(--ink); margin: 22px 0; }
.callout.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--bee) 45%, transparent); }
.callout.danger { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 35%, transparent); }

/* ---------- Guides ---------- */
.cat-block { margin-bottom: 40px; }
.cat-title { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 14px; letter-spacing: -.02em; }
.cat-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; padding: 0; }
.cat-ico svg { width: 18px; height: 18px; }
.article .page-head .tag { margin-top: 18px; }
.article-grid { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 48px; justify-content: center; }
.toc { position: sticky; top: 92px; align-self: start; display: grid; gap: 2px; font-size: 14px; border-left: 2px solid var(--line); }
.toc-title { font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: .06em; padding: 0 0 8px 16px; }
.toc a { padding: 5px 0 5px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); }
.toc a:hover { color: var(--mint-ink); border-left-color: var(--mint); }
.prose { font-size: 16.5px; line-height: 1.85; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose .lead { font-size: 18.5px; color: var(--ink); line-height: 1.75; }
.prose h2 { font-size: 24px; color: var(--ink); letter-spacing: -.025em; line-height: 1.35; margin-top: 2em; }
.prose h3 { font-size: 18px; color: var(--ink); margin-top: 1.6em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--mint-ink); text-decoration: underline; text-decoration-color: var(--mint-line); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--mint); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--mint); font-weight: 700; }
.prose code { font-family: var(--f-mono); font-size: .88em; padding: 1px 6px; border-radius: 5px; background: var(--bg-2); color: var(--ink); overflow-wrap: anywhere; }
.prose table { font-size: 14.5px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 11px 16px; }
.prose td { background: var(--surface); }
.prose .note { font-size: 14px; color: var(--ink-3); }
.prose .callout { font-size: 15.5px; line-height: 1.75; }
.checklist { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin: 0 !important; }
.checklist li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 5px; border-radius: 5px; border: 2px solid var(--mint); }
.h-sm { font-size: 18px; margin-bottom: 12px; }

/* ---------- Tools ---------- */
.tool { padding: 24px; margin-top: 0; }
.tool-label { display: block; font-weight: 600; margin-bottom: 10px; }
.tool-input { display: flex; gap: 10px; }
.tool-input input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface-2); font-family: var(--f-mono); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.tool-input input:focus { outline: 0; border-color: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.tool-input .btn { height: 52px; }
.tool-out { margin-top: 18px; }
.result { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); }
.result.ok { background: var(--mint-soft); border-color: var(--mint-line); }
.result.bad { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.result.maybe { background: var(--warn-soft); border-color: color-mix(in srgb, var(--bee) 40%, transparent); }
.result-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--surface); }
.result h3 { font-size: 16px; }
.result p, .result li { font-size: 14px; color: var(--ink-2); }
.result ul { padding-left: 1.2em; margin-top: 6px; }
.net-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.net-chips span { font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line-2); }
.addr-split { margin-top: 14px; }
.addr-split code { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-family: var(--f-mono); font-size: 15px; }
.addr-split code span { padding: 3px 7px; border-radius: 6px; background: var(--bg-2); }
.addr-split code span:first-child, .addr-split code span:last-child { background: var(--bee-soft); color: var(--bee-ink); font-weight: 700; }
.fee { font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 6px; white-space: nowrap; }
.fee-1 { background: var(--mint-soft); color: var(--mint-ink); }
.fee-2 { background: color-mix(in srgb, var(--mint-soft) 50%, var(--bee-soft)); color: var(--ink-2); }
.fee-3, .fee-4 { background: var(--danger-soft); color: var(--danger); }

/* ---------- 404, footer ---------- */
.nf { text-align: center; padding: 100px 0 60px; }
.nf-code { font-size: 80px; font-weight: 700; color: var(--mint); line-height: 1; }
.nf h1 { font-size: 28px; margin: 14px 0 6px; }
.nf .hero-cta { justify-content: center; }
.foot { margin-top: 80px; border-top: 1px solid var(--line); background: var(--surface); padding: 48px 0 32px; font-size: 14px; }
main:has(> .safety:last-child) + .foot { margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { color: var(--ink-3); margin-top: 12px; max-width: 320px; }
.foot h3 { font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 10px; }
.foot-grid > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 7px; }
.foot-grid a:hover { color: var(--mint-ink); }
.foot-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; line-height: 1.7; }
.foot-legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-in, .safety-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-in { padding-top: 48px; padding-bottom: 56px; }
  .paths { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .explain { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-in { height: 60px; gap: 12px; }
  .nav-links { display: none; }
  .ad { grid-template-columns: 1fr auto; gap: 10px 14px; }
  .ad-lim { grid-column: 1 / 2; }
  .ad .pill { grid-row: 1; grid-column: 2; align-self: start; }
  .ad-price { grid-column: 2; grid-row: 2; text-align: right; }
  .hide-sm { display: none; }
  th, td { padding-left: 14px; padding-right: 14px; }
  .stat-val { font-size: 22px; }
  .fees { grid-template-columns: repeat(2, 1fr); }
  .toggle { margin-left: 0; }
  .cards { grid-template-columns: 1fr; }
  .ex-table .gap { display: none; }
  .ex-table td.mono { font-size: 14px; }
  .ex-table th, .ex-table td { padding-left: 10px; padding-right: 10px; }
  .ex-table td:first-child, .ex-table th:first-child { padding-left: 16px; }
  .ex-table .best { margin-left: 4px; padding: 1px 5px; }
  .ex-table .pill { padding: 3px 10px; }
  .ex-table td.nowrap { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
  .ex-table .pill + .pill { margin-left: 0; }
  .ex-table .lg { display: none; }
  .ex-table .ex { gap: 6px; font-size: 14px; }
  .calc { padding: 12px 14px; }
  .calc label { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .paths { grid-template-columns: 1fr; }
  .board-row { grid-template-columns: 46px 1fr auto auto; gap: 10px; padding: 11px 14px; }
  .board-go { display: none; }
  .sec-head.row { flex-direction: column; align-items: start; }
  .tool-input { flex-direction: column; }
}

/* large-order marker, empty market */
.lg { display: inline-block; margin-right: 6px; padding: 0 6px; font-family: var(--f-sans); font-size: 11px; font-weight: 600; line-height: 18px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--ink-3); vertical-align: 2px; }
.ad-lim .lg { margin: 0 0 0 4px; }
.loading-box.empty { text-align: left; justify-content: flex-start; padding: 32px 28px; }
.loading-box.empty strong { color: var(--ink); font-size: 16px; }
.loading-box.empty a { color: var(--mint-ink); text-decoration: underline; }
.nw { white-space: nowrap; }

/* ---------- U cards v2 ---------- */
.verified { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--mint-ink); background: var(--mint-soft); padding: 4px 12px; border-radius: 999px; }
.card-tools { display: grid; gap: 14px; margin-bottom: 20px; }
.card-tools .filters { margin-bottom: 0; }
.cost-calc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 16px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-md); font-size: 14.5px; }
.cost-calc input { width: 96px; height: 34px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface-2); padding: 0 10px; font-family: var(--f-mono); }
.cost-calc .seg button { padding: 4px 12px; font-size: 13.5px; }
.cost-calc .seg button[aria-checked="true"] { background: var(--surface); color: var(--mint-ink); box-shadow: var(--shadow); }
.issuer { margin-top: -6px; }
.cn { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; font-size: 13.5px; padding: 8px 12px; border-radius: 10px; background: var(--bg-2); }
.cn b { font-weight: 650; }
.cn span { flex-basis: 100%; font-size: 12.5px; color: var(--ink-3); }
.cn-no b { color: var(--danger); }
.cn-yes b { color: var(--mint-ink); }
.cn-unclear b { color: var(--bee-ink); }
.fees dd i, .facts dd i { font-style: normal; font-weight: 500; font-size: 12.5px; color: var(--ink-3); }
.cost { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--mint-soft); color: var(--mint-ink); font-size: 14px; font-weight: 550; }
.cost b { font-size: 17px; }
.cost.unknown { background: var(--bg-2); color: var(--ink-3); }
.cost.unknown b { font-size: 13px; font-family: var(--f-sans); }
.more { border: 1px solid var(--line); border-radius: 10px; }
.more summary { cursor: pointer; padding: 9px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); list-style: none; display: flex; justify-content: space-between; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-family: var(--f-mono); color: var(--ink-3); }
.more[open] summary::after { content: "\2212"; }
.facts { display: grid; gap: 8px; padding: 4px 14px 12px; font-size: 13.5px; }
.facts div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; }
.facts dt { color: var(--ink-3); }
.facts dd { color: var(--ink-2); }
.chain-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.chain-row code { font-family: var(--f-mono); font-size: 11.5px; padding: 1px 6px; border-radius: 5px; background: var(--bg-2); }
.more .note { padding: 0 14px 12px; color: var(--ink-3); }
.ucard-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.srcs { display: flex; flex-direction: column; gap: 4px; }
.srcs a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--mint-ink); }
.srcs a:hover { text-decoration: underline; }
.srcs svg { width: 12px; height: 12px; }
.closed td { vertical-align: top; }

/* ---------- guide screenshots ---------- */
.prose figure.shot { margin: 1.8em 0; }
.prose figure.shot a { display: block; text-decoration: none; }
.prose figure.shot img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: var(--surface-2); }
.prose figure.shot figcaption { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.prose figure.shot .src { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
.prose figure.shot .src a { display: inline; color: var(--ink-3); }

/* ---------- 24h trend ---------- */
.legend { display: flex; gap: 14px; color: var(--ink-3); }
.legend span::before { content: ""; display: inline-block; width: 16px; height: 0; margin-right: 6px; vertical-align: middle; border-top: 2.5px solid var(--mint); }
.legend .lg-sell::before { border-top: 2px dashed var(--bee); }
.trend-body { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 18px 22px 16px; align-items: stretch; }
.trend-stats { display: grid; gap: 12px; align-content: center; }
.trend-stats div { display: flex; flex-direction: column; }
.trend-stats b { font-size: 18px; font-weight: 650; }
.chart-box { min-width: 0; }
.chart { display: block; width: 100%; height: 150px; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .ln-buy { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart .ln-sell { fill: none; stroke: var(--bee); stroke-width: 2; stroke-dasharray: 5 4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-x { display: flex; justify-content: space-between; margin-top: 6px; }
@media (max-width: 760px) {
  .trend-body { grid-template-columns: 1fr; padding: 14px 16px; gap: 12px; }
  .trend-stats { grid-template-columns: repeat(3, 1fr); }
  .chart { height: 120px; }
}
.panel-foot a { color: var(--mint-ink); }

/* ---------- home: U-card strip ---------- */
.card-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--mint-line); }
.mini-rows { display: grid; gap: 6px; padding: 12px 4px 2px; font-size: 13.5px; }
.mini-rows span { display: flex; justify-content: space-between; }
.mini-rows i { font-style: normal; color: var(--ink-3); }
.mini-rows .cn-no { color: var(--danger); }
.mini-rows .cn-unclear { color: var(--bee-ink); }
.mini-rows .cn-yes { color: var(--mint-ink); }
@media (max-width: 1000px) { .card-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .card-strip { grid-template-columns: 1fr; } }

/* ============================================================
   v3 — editorial polish: scale, rhythm, motion, micro-interactions
   ============================================================ */
:root { --f-accent: 'Fraunces', 'Songti SC', Georgia, serif; --sec-gap: clamp(64px, 7.5vw, 108px); }
html[data-theme="light"] { --glow: rgba(18, 184, 134, .16); }
html[data-theme="dark"]  { --glow: rgba(58, 219, 168, .14); }
.brand-word b, .foot-mark i { font-family: var(--f-accent); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.brand-word b { font-size: 1.12em; }

/* type scale */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mint-ink); }
.kicker::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.lede { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; color: var(--ink-2); max-width: 720px; margin-top: 4px; }
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.12; letter-spacing: -.04em; font-weight: 760; margin: 14px 0 14px; max-width: 18em; text-wrap: balance; }
.sec-idx { font-size: 12px; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 10px; }
.section { padding-top: var(--sec-gap); }
.sec-head h2, .explain h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.035em; text-wrap: balance; }
.sec-head { margin-bottom: 32px; }

/* hero */
.hero-in { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 6vw, 88px); gap: clamp(40px, 6vw, 88px); }
.hero h1 { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -.045em; margin: 26px 0 28px; }
.hero::after { left: var(--mx, 70%); top: var(--my, 20%); right: auto; transform: translate(-50%, -50%); transition: left .9s var(--ease), top .9s var(--ease); background: radial-gradient(circle, var(--glow), transparent 62%); width: 760px; height: 760px; }
.spot { display: grid; gap: 4px; padding: 18px 0 22px; margin-bottom: 22px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.spot-label { font-size: 13px; color: var(--ink-3); letter-spacing: .02em; }
.spot-val { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.spot-sym { font-family: var(--f-accent); font-style: italic; font-size: clamp(30px, 3.6vw, 44px); color: var(--mint); }
.spot-num { font-size: clamp(56px, 7.4vw, 96px); font-weight: 600; letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.spot-name { font-size: 14px; color: var(--ink-2); }
.spot-name b { color: var(--ink); font-weight: 650; }
.spot.swap .spot-val, .spot.swap .spot-name { animation: spotIn .7s var(--ease); }
@keyframes spotIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hero-sub { font-size: 16.5px; line-height: 1.8; }

/* buttons: arrow nudge + press */
.btn { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.path-more svg, .link-more svg, .mini-guides a svg, .row-go { transition: transform .35s var(--ease); }
.link-more:hover svg, .mini-guides a:hover svg { transform: translateX(4px); }

/* cursor spotlight on cards */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--px, 50%) var(--py, 50%), var(--glow), transparent 60%); }
.spotlight:hover::before { opacity: 1; }

/* card faces: 3D tilt + sheen */
.ucard-face, .mini-face { transition: transform .5s var(--ease), box-shadow .5s var(--ease); backface-visibility: hidden; }
.ucard-face::before, .mini-face::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(240px circle at var(--px, 50%) var(--py, 0%), rgba(255,255,255,.35), transparent 55%); mix-blend-mode: soft-light; }
.tilt-on .ucard-face::before, .mini-card:hover .mini-face::before { opacity: 1; }
.ucard:hover .ucard-face { box-shadow: 0 24px 40px -22px rgba(4, 60, 44, .55); }

/* reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* live price flash */
.flash-up { animation: flashUp 1.4s var(--ease); }
.flash-down { animation: flashDown 1.4s var(--ease); }
@keyframes flashUp { 0% { color: var(--up); text-shadow: 0 0 18px color-mix(in srgb, var(--up) 40%, transparent); } 100% {} }
@keyframes flashDown { 0% { color: var(--down); text-shadow: 0 0 18px color-mix(in srgb, var(--down) 40%, transparent); } 100% {} }

/* market notes (per-currency local guide) */
.notes-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(32px, 5vw, 80px); padding-top: 40px; border-top: 1px solid var(--line-2); }
.notes-head h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.035em; line-height: 1.25; margin-top: 12px; text-wrap: balance; }
.notes-head { position: sticky; top: 96px; align-self: start; }
.notes-body { display: grid; gap: 0; }
.note-item { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.note-item:first-child { padding-top: 0; }
.note-no { font-size: 13px; color: var(--mint-ink); padding-top: 4px; }
.note-item h3 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 8px; }
.note-item p { color: var(--ink-2); line-height: 1.85; font-size: 15.5px; }

/* FAQ */
.faq h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.035em; margin-bottom: 20px; }
.faq-list { display: grid; border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 2px; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--f-mono); color: var(--ink-3); transition: transform .35s var(--ease), background .2s, color .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--mint-solid); color: var(--on-mint); border-color: var(--mint-solid); }
.faq-item summary:hover { color: var(--mint-ink); }
.faq-item p { padding: 0 48px 22px 2px; color: var(--ink-2); line-height: 1.85; max-width: 820px; }

/* guide key takeaways */
.tldr { margin: 0 0 2em; padding: 22px 26px; border-radius: var(--r-md); background: linear-gradient(150deg, var(--mint-soft), var(--surface) 75%); border: 1px solid var(--mint-line); }
.tldr-title { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--mint-ink); margin-bottom: 10px; }
.prose .tldr ol { padding-left: 0; list-style: none; counter-reset: t; display: grid; gap: 8px; margin: 0; }
.prose .tldr li { counter-increment: t; position: relative; padding-left: 34px; font-size: 15.5px; line-height: 1.7; color: var(--ink); margin: 0; }
.prose .tldr li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--f-mono); font-size: 12px; color: var(--mint-ink); }

/* hub table */
.mk-table td { padding-top: 16px; padding-bottom: 16px; }
.mk-name { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.mk-name .fiat-chip { width: 48px; }
.mk-name small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 400; }
.mk-table .strong { font-weight: 650; font-size: 16px; }
.row-link { cursor: pointer; transition: background .2s; }
.row-link:hover { background: var(--surface-2); }
.row-link:hover .row-go { transform: translateX(4px); color: var(--mint); }
.row-go { color: var(--ink-3); width: 18px; height: 18px; }
.empty-note { margin-top: 14px; }
.empty-note a { color: var(--mint-ink); text-decoration: underline; text-underline-offset: 3px; }

/* footer wordmark */
.foot-mark { margin-top: 48px; font-size: clamp(64px, 15vw, 210px); font-weight: 760; letter-spacing: -.06em; line-height: .82; color: transparent; -webkit-text-stroke: 1px var(--line-2); user-select: none; white-space: nowrap; overflow: hidden; }
.foot-mark i { -webkit-text-stroke: 0; color: var(--mint-soft); }
html[data-theme="dark"] .foot-mark i { color: color-mix(in srgb, var(--mint) 22%, transparent); }

/* nav: underline indicator */
.nav-links a { position: relative; }
.nav { transition: box-shadow .3s; }
.nav.scrolled { box-shadow: 0 10px 30px -24px rgba(12, 31, 25, .4); }

/* tables & panels breathing room */
.panel { border-radius: var(--r-lg); }
.panel-head { padding: 22px 26px; }
.panel-head h2 { font-size: 19px; }

@media (max-width: 1000px) {
  .notes-grid { grid-template-columns: 1fr; }
  .notes-head { position: static; }
}
@media (max-width: 760px) {
  .note-item { grid-template-columns: 40px 1fr; }
  .faq-item p { padding-right: 8px; }
  .spot-num { font-size: 60px; }
  .tldr { padding: 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .spot.swap .spot-val, .spot.swap .spot-name, .flash-up, .flash-down { animation: none; }
  .ucard-face, .mini-face, .hero::after { transition: none; }
}
.show-sm { display: none; }
@media (max-width: 760px) {
  .show-sm { display: inline; }
  span.hide-sm { display: none; }
  .mk-table td, .mk-table th { padding-left: 12px; padding-right: 12px; }
  .mk-name { gap: 8px; }
  .mk-name .fiat-chip { width: 42px; }
  .mk-table .strong { font-size: 15px; }
}

/* ---------- mobile menu ---------- */
.menu-btn, .mnav, .mnav-scrim { display: none; }
@media (max-width: 760px) {
  .menu-btn { display: grid; place-content: center; gap: 4px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
  .menu-btn span { display: block; width: 18px; height: 1.8px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
  .menu-btn[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); }
  .menu-btn[aria-expanded="true"] span { background: var(--bg); }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }
  .script-switch span { padding: 3px 8px; }

  .mnav { display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 41; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(12, 31, 25, .35); max-height: calc(100dvh - 60px); overflow-y: auto; overscroll-behavior: contain;
    clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease); }
  .mnav.open { clip-path: inset(0 0 -60px 0); }
  .mnav[hidden], .mnav-scrim[hidden] { display: none; }
  .mnav-in { display: grid; gap: 6px; padding-top: 14px; padding-bottom: 18px; }
  .mnav-item { display: grid; grid-template-columns: 44px 1fr 18px; align-items: center; gap: 14px; padding: 14px 14px; border-radius: 16px; border: 1px solid transparent;
    opacity: 0; transform: translateY(-8px); transition: opacity .4s var(--ease), transform .45s var(--ease), background .2s, border-color .2s; transition-delay: calc(var(--i, 0) * 45ms + 60ms); }
  .mnav.open .mnav-item { opacity: 1; transform: none; }
  .mnav-item:active { background: var(--surface-2); }
  .mnav-item[aria-current="page"] { background: var(--surface); border-color: var(--mint-line); }
  .mnav-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--mint-soft); color: var(--mint-ink); }
  .mnav-ico.bee { background: var(--bee-soft); color: var(--bee-ink); }
  .mnav-ico svg { width: 22px; height: 22px; }
  .mnav-txt { display: grid; gap: 2px; min-width: 0; }
  .mnav-txt b { font-size: 17px; font-weight: 650; letter-spacing: -.02em; color: var(--ink); }
  .mnav-txt small { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mnav-go { width: 18px; height: 18px; color: var(--ink-3); }
  .mnav-item[aria-current="page"] .mnav-go { color: var(--mint); }
  .mnav-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); opacity: 0; transition: opacity .4s .28s; }
  .mnav.open .mnav-foot { opacity: 1; }
  .mnav-foot a { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
  .mnav-foot a[aria-current="page"] { color: var(--mint-ink); border-color: var(--mint-line); }
  .mnav-scrim { display: block; position: fixed; inset: 0; z-index: 39; background: rgba(6, 18, 14, .38); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); opacity: 0; transition: opacity .35s; }
  .mnav-scrim.open { opacity: 1; }
  body.menu-open { overflow: hidden; }
  .nav.menu-on { background: var(--bg); }
}
.mnav-in:focus { outline: none; }
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .mnav, .mnav-item, .mnav-foot, .mnav-scrim, .menu-btn span { transition: none; }
}

/* ---------- exchange icons ---------- */
.ex-ic { flex: none; width: 18px; height: 18px; border-radius: 5px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--line); vertical-align: -4px; }
.ex-src { display: inline-flex; align-items: center; gap: 5px; }
.ex-src .ex-ic { width: 15px; height: 15px; border-radius: 4px; }
.ad-who .ex .ex-ic { width: 15px; height: 15px; border-radius: 4px; }
.prose .go-card img, .prose .go-ex img { box-shadow: 0 0 0 1px var(--line); }

/* ---------- outbound entry cards in guides ---------- */
.prose .go-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin: 1.8em 0; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--mint-line); box-shadow: var(--shadow); }
.prose .go-card .go-txt { display: grid; gap: 2px; }
.prose .go-card b { color: var(--ink); font-size: 16px; }
.prose .go-card small { font-size: 13.5px; color: var(--ink-3); line-height: 1.6; }
.prose .go-card .btn { height: 42px; font-size: 14.5px; text-decoration: none; color: var(--on-mint); white-space: nowrap; }
.prose .go-card:not(:has(.go-logo)) { grid-template-columns: 1fr auto; }
.prose .go-card .go-logo { width: 40px; height: 40px; border-radius: 11px; }
.go-dot { width: 12px; height: 12px; border-radius: 4px; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.prose .go-row { margin: 1.8em 0; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.prose .go-row p { margin: 0 0 12px; display: grid; gap: 2px; }
.prose .go-row b { color: var(--ink); font-size: 15.5px; }
.prose .go-row small { font-size: 13px; color: var(--ink-3); }
.prose .go-row div { display: flex; flex-wrap: wrap; gap: 8px; }
.prose .go-ex { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.prose .go-ex:hover { border-color: var(--mint-line); transform: translateY(-1px); }
.prose .go-ex .ex-ic { margin: 0; }
@media (max-width: 760px) { .prose .go-card, .prose .go-card:not(:has(.go-logo)) { grid-template-columns: 1fr; } .prose .go-card .go-logo { width: 32px; height: 32px; } .prose .go-card .btn { justify-self: start; } }

/* ---------- guide feedback ---------- */
.fb { margin-top: 56px; padding: 24px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
.fb-q { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.fb-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.fb-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-weight: 600; font-size: 14.5px; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.fb-btn:hover { border-color: var(--mint-line); transform: translateY(-1px); }
.fb-btn[aria-pressed="true"] { background: var(--mint-soft); border-color: var(--mint); color: var(--mint-ink); }
.fb-more { display: grid; gap: 10px; }
.fb-more label { font-size: 14px; color: var(--ink-2); }
.fb-more textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--bg); font: inherit; resize: vertical; }
.fb-more textarea:focus { outline: 0; border-color: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.fb-more .btn { justify-self: start; height: 42px; }
.fb-done { color: var(--mint-ink); font-weight: 600; }

/* ---------- price history ---------- */
.hist-chart { grid-template-columns: 1fr; }
.hist-table td.strong { font-weight: 650; }
.month-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.month-grid a { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.month-grid a:hover, .month-grid a[aria-current="page"] { border-color: var(--mint-line); }
.month-grid a[aria-current="page"] { background: var(--mint-soft); }
.month-grid b { font-size: 15px; }
.month-grid small { color: var(--ink-3); font-size: 12.5px; }

/* ---------- Telegram alert entry ---------- */
.tg-cta { display: grid; grid-template-columns: 48px 1fr 20px; align-items: center; gap: 16px; margin-top: 18px; padding: 18px 22px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--deep), var(--deep-2)); color: #E6F6EF; transition: transform .3s var(--ease), box-shadow .3s; }
.tg-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tg-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.08); color: #7FE7C4; }
.tg-ico svg { width: 24px; height: 24px; }
.tg-txt { display: grid; gap: 3px; }
.tg-txt b { font-size: 16.5px; color: #fff; letter-spacing: -.01em; }
.tg-txt small { font-size: 13.5px; color: #9DB8AE; line-height: 1.6; }
.tg-go { width: 20px; height: 20px; color: #7FE7C4; transition: transform .3s var(--ease); }
.tg-cta:hover .tg-go { transform: translateX(4px); }
@media (max-width: 760px) { .tg-cta { grid-template-columns: 40px 1fr; padding: 16px; } .tg-ico { width: 40px; height: 40px; } .tg-go { display: none; } }

/* ---------- glossary links in articles ---------- */
.prose a.term { color: inherit; text-decoration: underline dotted; text-decoration-color: var(--mint); text-decoration-thickness: 1.5px; text-underline-offset: 4px; cursor: help; }
.prose a.term:hover { color: var(--mint-ink); }
.term-tip { position: absolute; z-index: 60; width: 280px; padding: 14px 16px; border-radius: 14px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.65; opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.term-tip.on { opacity: 1; transform: none; pointer-events: auto; }
.term-tip a { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--mint-2); }
html[data-theme="dark"] .term-tip a { color: var(--mint-ink); filter: brightness(.7); }

/* ---------- glossary page ---------- */
.gl-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.gl-jump a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; color: var(--ink-2); }
.gl-jump a:hover { border-color: var(--mint-line); color: var(--mint-ink); }
.gl-group { padding-top: 40px; scroll-margin-top: 80px; }
.gl-title { font-size: 13px; letter-spacing: .14em; color: var(--mint-ink); font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.gl-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.gl-item { padding: 24px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.gl-item:target { background: linear-gradient(90deg, var(--mint-soft), transparent 70%); margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-radius: 10px; }
.gl-item h3 { font-size: 20px; letter-spacing: -.02em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.gl-item h3 small { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.gl-short { font-weight: 600; color: var(--ink); margin: 8px 0 6px; }
.gl-item p { color: var(--ink-2); line-height: 1.8; font-size: 15px; }
.gl-item .link-more { margin-top: 10px; }

/* ---------- beginner roadmap ---------- */
.start-progress { display: flex; align-items: center; gap: 14px; margin-top: 26px; max-width: 520px; }
.sp-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; border: 1px solid var(--line); }
.sp-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--mint-2)); transition: width .6s var(--ease); }
.steps { list-style: none; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; }
.step-rail { position: relative; display: flex; justify-content: center; }
.step-rail::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
.step:first-child .step-rail::before { top: 28px; }
.step:last-child .step-rail::before { bottom: auto; height: 28px; }
.step-no { position: relative; z-index: 1; margin-top: 8px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink-3); transition: all .3s var(--ease); }
.step.is-next .step-no { border-color: var(--mint); color: var(--mint-ink); box-shadow: 0 0 0 6px var(--mint-soft); }
.step.is-done .step-no { background: var(--mint-solid); border-color: var(--mint-solid); color: var(--on-mint); }
.step-card { margin-bottom: 18px; padding: 24px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, opacity .3s; }
.step.is-next .step-card { border-color: var(--mint-line); box-shadow: var(--shadow); }
.step.is-done .step-card { opacity: .72; }
.step-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.step-top h2 { font-size: 20px; letter-spacing: -.025em; }
.step-time { flex: none; color: var(--ink-3); }
.step-why { color: var(--ink-2); margin: 8px 0 12px; line-height: 1.75; }
.step-do { list-style: none; display: grid; gap: 6px; margin-bottom: 16px; }
.step-do li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-2); }
.step-do li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.step-links { display: flex; flex-wrap: wrap; gap: 8px; }
.step-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--mint-soft); color: var(--mint-ink); font-size: 14px; font-weight: 600; }
.step-links a svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.step-links a:hover svg { transform: translateX(3px); }
.step-done { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); width: 100%; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.step-done input { width: 18px; height: 18px; accent-color: var(--mint); }
.help-box h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; margin-bottom: 16px; }
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.help-grid a { display: grid; gap: 4px; padding: 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.help-grid a:hover { border-color: var(--mint-line); transform: translateY(-2px); }
.help-grid b { font-size: 15.5px; }
.help-grid span { font-size: 13px; color: var(--ink-3); }

/* ---------- guides: search, level chips, prev/next, reading progress ---------- */
.g-search { position: relative; max-width: 560px; margin-top: 24px; }
.g-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); }
.g-search input { width: 100%; height: 50px; padding: 0 16px 0 44px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--surface); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.g-search input:focus { outline: 0; border-color: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
#g-empty { margin-top: 12px; }
.lede a { color: var(--mint-ink); text-decoration: underline; text-decoration-color: var(--mint-line); text-underline-offset: 3px; font-weight: 600; }
#g-empty a { color: var(--mint-ink); text-decoration: underline; }
.lvl { display: inline-block; padding: 0 7px; border-radius: 5px; font-size: 11.5px; font-weight: 700; line-height: 19px; vertical-align: 1px; }
.lvl-new { background: var(--mint-soft); color: var(--mint-ink); }
.lvl-adv { background: var(--bee-soft); color: var(--bee-ink); }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
.pn a { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .25s var(--ease); }
.pn a:hover { border-color: var(--mint-line); transform: translateY(-2px); }
.pn small { font-size: 12.5px; color: var(--ink-3); }
.pn b { font-size: 15px; line-height: 1.45; }
.pn-next { text-align: right; grid-column: 2; }
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 50; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), var(--bee)); transform: scaleX(0); transform-origin: left; }
.to-top { position: fixed; right: 18px; bottom: 22px; z-index: 45; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .35s var(--ease); }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

@media (max-width: 1000px) { .help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .gl-list { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 10px; }
  .step-no { width: 36px; height: 36px; font-size: 12.5px; }
  .step-card { padding: 18px 18px; }
  .step-top { flex-direction: column; gap: 2px; }
  .pn { grid-template-columns: 1fr; }
  .pn-next { grid-column: 1; }
  .help-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-bar i, .step-no, .term-tip, .to-top { transition: none; }
}

/* ---------- dropdown (enhanced <select>) */
.pick { position: relative; display: inline-flex; }
.pick-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.pick-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface-2); font-weight: 600; color: var(--ink); white-space: nowrap; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.pick-btn:hover { border-color: var(--mint-line); background: var(--surface); }
.pick.is-open .pick-btn, .pick-btn:focus-visible { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); background: var(--surface); }
.pick-caret { width: 12px; height: 12px; color: var(--ink-3); transition: transform .25s var(--ease); }
.pick.is-open .pick-caret { transform: rotate(180deg); color: var(--mint-ink); }
.pick-list { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 100%; margin: 0; padding: 5px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.98); transform-origin: top left; transition: opacity .16s, transform .2s var(--ease), visibility 0s .2s; }
.pick.up .pick-list { top: auto; bottom: calc(100% + 6px); transform-origin: bottom left; transform: translateY(4px) scale(.98); }
.pick.is-open .pick-list { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .2s var(--ease); }
.pick-list:focus { outline: none; }
.pick-list li { display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 8px; font-size: 14.5px; white-space: nowrap; color: var(--ink-2); cursor: pointer; }
.pick-list li.is-active { background: var(--mint-soft); color: var(--ink); }
.pick-list li[aria-selected="true"] { color: var(--mint-ink); font-weight: 650; }
.pick-tick { width: 15px; height: 15px; flex: none; opacity: 0; }
.pick-list li[aria-selected="true"] .pick-tick { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .pick-list, .pick-caret { transition: none; } }

/* ---------- U card faces: real card proportions, one brand colour per card */
.ucard-face, .mini-face {
  --cf-a: #18C795; --cf-b: #03362A; --cf-glow: rgba(120, 255, 210, .35); --cf-accent: #FFD36B; --cf-ink: #fff;
  position: relative; isolation: isolate; overflow: hidden; color: var(--cf-ink);
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .13) 50%, transparent 62%),
    repeating-radial-gradient(circle at 118% 128%, rgba(255, 255, 255, .06) 0 1px, transparent 1px 11px),
    radial-gradient(90% 120% at 100% 0%, var(--cf-glow), transparent 60%),
    linear-gradient(150deg, var(--cf-a) 0%, var(--cf-b) 88%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 18px 32px -24px rgba(0, 0, 0, .6);
}
.theme-bybit-card { --cf-a: #2C3038; --cf-b: #08090B; --cf-glow: rgba(247, 166, 0, .30); --cf-accent: #F7A600; }
.theme-redotpay { --cf-a: #F2394F; --cf-b: #5C0614; --cf-glow: rgba(255, 170, 180, .35); --cf-accent: #FFD1D7; }
.theme-bitget-wallet-card { --cf-a: #19C6D1; --cf-b: #032E38; --cf-glow: rgba(150, 250, 255, .35); --cf-accent: #A6F7FB; }
.theme-kast { --cf-a: #7A5CFF; --cf-b: #140A38; --cf-glow: rgba(200, 185, 255, .35); --cf-accent: #CDBEFF; }
.theme-okx-card { --cf-a: #3B3B3B; --cf-b: #000; --cf-glow: rgba(255, 255, 255, .18); --cf-accent: #fff; }
.theme-bitget-card { --cf-a: #4FC7CF; --cf-b: #08363E; --cf-glow: rgba(150, 250, 255, .25); --cf-accent: #A6F7FB; }

.ucard { border-radius: 22px; }
.ucard-face { aspect-ratio: 1.586; margin: 14px 14px 0; padding: 18px 20px 16px; border-radius: 16px; display: grid; grid-template-rows: auto 1fr auto auto; align-items: start; }
.ucard-face::after { content: ""; position: absolute; top: 0; left: 20px; width: 40px; height: 3px; border-radius: 0 0 3px 3px; background: var(--cf-accent); opacity: .9; }
.cf-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cf-brand { font-weight: 720; font-size: 16.5px; letter-spacing: -.015em; text-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.cf-nfc { width: 22px; height: 22px; opacity: .8; transform: rotate(0deg); }
.cf-chip { position: relative; display: block; width: 44px; height: 33px; margin-top: 16px; border-radius: 7px; background: linear-gradient(135deg, #FBEAB0 0%, #E2BE5E 42%, #B38A2C 100%); box-shadow: inset 0 0 0 1px rgba(90, 60, 0, .25), 0 1px 2px rgba(0, 0, 0, .25); }
.cf-chip::before { content: ""; position: absolute; left: 0; right: 0; top: 33%; bottom: 33%; border-top: 1px solid rgba(90, 60, 0, .35); border-bottom: 1px solid rgba(90, 60, 0, .35); }
.cf-chip::after { content: ""; position: absolute; top: 0; bottom: 0; left: 34%; right: 34%; border-left: 1px solid rgba(90, 60, 0, .35); border-right: 1px solid rgba(90, 60, 0, .35); }
.cf-chip i { position: absolute; inset: 30% 30%; border: 1px solid rgba(90, 60, 0, .4); border-radius: 3px; background: linear-gradient(135deg, #F3DA8E, #CFA84A); z-index: 1; }
.cf-num { align-self: end; font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; opacity: .62; white-space: nowrap; }
.cf-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 6px; }
.cf-kind { font-size: 12px; font-weight: 600; letter-spacing: .06em; opacity: .82; }
.cf-net { display: inline-flex; align-items: center; gap: 10px; }
.mk-visa { font-style: italic; font-weight: 900; font-size: 22px; letter-spacing: -.03em; line-height: 1; }
.net-multi .mk-visa { font-size: 18px; }
.mk-mc { display: inline-flex; }
.mk-mc i { width: 26px; height: 26px; border-radius: 50%; background: #EB001B; }
.mk-mc i + i { margin-left: -10px; background: #F79E1B; opacity: .92; }
.net-multi .mk-mc i { width: 22px; height: 22px; }
.net-multi .mk-mc i + i { margin-left: -8px; }

.mini-face { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; align-items: start; aspect-ratio: 1.586; padding: 12px 14px; border-radius: 12px; }
.mini-face b { font-size: 14.5px; font-weight: 720; letter-spacing: -.01em; }
.mini-face .cf-chip { grid-row: 2; align-self: center; width: 34px; height: 25px; margin: 0; border-radius: 5px; }
.mini-face em { grid-column: 2; grid-row: 2; align-self: end; font-style: italic; font-weight: 850; font-size: 14px; }

/* card body */
.ucard-body { padding: 18px 20px 20px; gap: 14px; }
.ucard-title h2 { font-size: 19px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.issuer { margin-top: -8px; }
.cost { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--mint-line); background: linear-gradient(135deg, var(--mint-soft), transparent 85%); color: var(--mint-ink); }
.cost span { font-size: 13px; font-weight: 600; }
.cost b { font-size: 22px; font-weight: 720; letter-spacing: -.02em; }
.cost.unknown { border-color: var(--line); background: var(--bg-2); color: var(--ink-3); }
.cost.unknown b { font-size: 13px; font-weight: 600; letter-spacing: 0; }
.fees { gap: 0; background: none; border: 0; border-radius: 0; overflow: visible; }
.fees div { background: none; padding: 2px 12px; border-left: 1px solid var(--line); }
.fees div:first-child { padding-left: 2px; border-left: 0; }
.fees dt { font-size: 12px; margin-bottom: 2px; }
.fees dd { font-size: 15.5px; font-weight: 680; letter-spacing: -.01em; }
.cn { padding: 10px 12px; border-radius: 12px; }
.more { border-radius: 12px; }
.ucard-go { display: flex; justify-content: center; width: 100%; height: 46px; border-radius: 12px; font-size: 15px; }
.ucard-go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ucard-go:hover svg { transform: translateX(3px); }
@media (max-width: 420px) {
  .fees { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .fees div:nth-child(3) { padding-left: 2px; border-left: 0; }
  .cf-num { font-size: 11.5px; }
}

/* ---------- home: live comparison across exchanges */
.cmp-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.cmp-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.cmp-fiats { display: flex; gap: 6px; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.cmp-fiats::-webkit-scrollbar { display: none; }
.cmp-fiat-btn { flex: none; display: grid; justify-items: center; gap: 2px; min-width: 60px; padding: 7px 10px 6px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); line-height: 1.1; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.cmp-fiat-btn b { font-family: var(--f-mono); font-size: 13px; font-weight: 650; letter-spacing: .02em; }
.cmp-fiat-btn small { font-size: 11.5px; color: var(--ink-3); }
.cmp-fiat-btn:hover { border-color: var(--mint-line); transform: translateY(-1px); }
.cmp-fiat-btn[aria-selected="true"] { background: var(--mint-solid); border-color: var(--mint-solid); color: var(--on-mint); }
.cmp-fiat-btn[aria-selected="true"] small { color: inherit; opacity: .82; }
.cmp-side button[aria-checked="true"] { background: var(--surface); color: var(--mint-ink); box-shadow: var(--shadow); }
.cmp-side button[data-side="sell"][aria-checked="true"] { color: var(--bee-ink); }
.cmp-list { list-style: none; margin: 0; padding: 8px 10px; }
.cmp-fiat:not([hidden]) .cmp-list:not([hidden]) { animation: cmp-in .35s var(--ease) both; }
.cmp-row { display: grid; grid-template-columns: 28px minmax(130px, 180px) minmax(60px, 1fr) minmax(170px, auto) 64px; align-items: center; gap: 18px; padding: 13px 12px; border-radius: 12px; transition: background .2s; }
.cmp-row:hover { background: var(--surface-2); }
.cmp-row.is-best { background: linear-gradient(90deg, var(--mint-soft), transparent 75%); }
.cmp-list[data-side="sell"] .is-best { background: linear-gradient(90deg, var(--bee-soft), transparent 75%); }
.cmp-row.is-none { opacity: .55; }
.cmp-rank { text-align: center; font-size: 13px; color: var(--ink-3); }
.is-best .cmp-rank { color: var(--mint-ink); font-weight: 700; }
.cmp-list[data-side="sell"] .is-best .cmp-rank { color: var(--bee-ink); }
.cmp-row .ex { font-weight: 600; }
.cmp-meter { height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.cmp-meter i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: color-mix(in srgb, var(--bee) var(--w), var(--mint)); transform-origin: left; animation: cmp-grow .9s var(--ease) both; }
.cmp-px { display: flex; align-items: baseline; justify-content: flex-end; flex-wrap: wrap; gap: 2px 0; text-align: right; }
.cmp-px b { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.cmp-px .lg { order: -1; }
.cmp-row .pill { justify-self: end; min-width: 56px; text-align: center; white-space: nowrap; }
.cmp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface-2); }
.cmp-foot p { max-width: 640px; line-height: 1.7; }
.cmp-foot p a { color: var(--mint-ink); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; white-space: nowrap; }
@keyframes cmp-grow { from { transform: scaleX(0); } }
@keyframes cmp-in { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 720px) {
  .cmp-bar { padding: 12px; }
  .cmp-side { width: 100%; }
  .cmp-side button { flex: 1; }
  .cmp-list { padding: 6px; }
  .cmp-row { grid-template-columns: 20px minmax(0, 1fr) auto auto; grid-template-areas: "r e p g" "r m m g"; gap: 6px 10px; padding: 12px 8px; }
  .cmp-row .pill { min-width: 0; padding-left: 12px; padding-right: 12px; }
  .cmp-px .best { margin-left: 6px; }
  .cmp-rank { grid-area: r; }
  .cmp-row .ex { grid-area: e; }
  .cmp-meter { grid-area: m; }
  .cmp-px { grid-area: p; }
  .cmp-px b { font-size: 16px; }
  .cmp-row .pill, .cmp-row > span:last-child { grid-area: g; }
  .cmp-foot { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { .cmp-meter i, .cmp-list { animation: none !important; } }
.home-faq .sec-idx { margin-bottom: 10px; }
