<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script>/* Inside the CoinPopBit Android app (UA "CoinpopApp/") hide app-store links: ONE store review rejects in-app links to other markets (2026-11-09). */if(/CoinpopApp\//.test(navigator.userAgent))document.documentElement.classList.add('in-app');</script>
<style>.in-app .store-link{display:none!important}</style>
<title>CoinPopBit: Crypto Fee Calculator for OKX, Bybit & MEXC and Live Market Tools</title>
<meta name="description" content="Compare OKX, Bybit and MEXC maker and taker fees on your own trade size, check live funding rates and the kimchi premium, and use free liquidation, breakeven and position size calculators.">
<meta name="keywords" content="crypto fee calculator, crypto exchange fee comparison, OKX fees, Bybit fees, MEXC fees, crypto futures calculator, funding rate, kimchi premium">
<meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1">
<meta name="theme-color" content="#0f172a">
<meta name="google-site-verification" content="LAuMaJW6DxqiXGNgzOZVUGICaokHB94NFxxNiy7PRIQ" />
<meta name="msvalidate.01" content="66EDE76A805BE1D22DE017A4C734DBB8" />
<link rel="canonical" href="https://coinpopbit.com/">
<link rel="alternate" hreflang="en" href="https://coinpopbit.com/">
<link rel="alternate" hreflang="ko-KR" href="https://coinpopbit.co.kr/">
<link rel="alternate" hreflang="de-DE" href="https://coinpopbit.de/">
<link rel="alternate" hreflang="ja-JP" href="https://coinpopbit.jp/">
<link rel="alternate" hreflang="es-ES" href="https://coinpopbit.es/">
<link rel="alternate" hreflang="x-default" href="https://coinpopbit.com/">
<link rel="alternate" type="text/plain" href="https://coinpopbit.com/llms.txt" title="CoinPopBit LLM Fee &amp; Market Summary">
<link rel="alternate" type="application/rss+xml" href="https://coinpopbit.com/coinpop-feed.xml" title="CoinPopBit: Crypto Fee Calculator for OKX, Bybit & MEXC and Live Market Tools">
<meta property="og:type" content="website">
<meta property="og:title" content="CoinPopBit: Crypto Fee Calculator for OKX, Bybit & MEXC and Live Market Tools">
<meta property="og:description" content="Compare OKX, Bybit and MEXC maker and taker fees on your own trade size, check live funding rates and the kimchi premium, and use free liquidation, breakeven and position size calculators.">
<meta property="og:url" content="https://coinpopbit.com/">
<meta property="og:site_name" content="CoinPopBit">
<meta property="og:image" content="https://coinpopbit.com/assets/og-card.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:type" content="image/png">
<meta property="og:image:alt" content="Crypto Fee Calculator for OKX, Bybit & MEXC and Live Market Tools">
<meta property="article:published_time" content="2026-01-15T00:00:00+00:00">
<meta property="article:modified_time" content="2026-11-21T05:30:00+00:00">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:domain" content="coinpopbit.com">
<meta name="twitter:title" content="CoinPopBit: Crypto Fee Calculator for OKX, Bybit & MEXC and Live Market Tools">
<meta name="twitter:description" content="Compare OKX, Bybit and MEXC maker and taker fees on your own trade size, check live funding rates and the kimchi premium, and use free liquidation, breakeven and position size calculators.">
<meta name="twitter:image" content="https://coinpopbit.com/assets/og-card.png">
<meta name="twitter:image:alt" content="Crypto Fee Calculator for OKX, Bybit & MEXC and Live Market Tools">
<link rel="icon" href="/favicon.ico" sizes="32x32">
<script id="geo-structured-data" type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"ImageObject","@id":"https://coinpopbit.com/#logoImage","url":"https://coinpopbit.com/assets/coinpop-logo.png","width":511,"height":171},{"@type":"ImageObject","@id":"https://coinpopbit.com/#primaryImage","url":"https://coinpopbit.com/assets/og-card.png","width":1200,"height":630,"caption":"CoinPopBit: Crypto Fee Calculator for OKX, Bybit & MEXC and Live Market Tools"},{"@type":"Organization","@id":"https://coinpopbit.com/#organization","name":"CoinPopBit","alternateName":["CoinPopBit","코인팝비트","코인팝비트(CoinPopBit) 암호화폐 데이터 허브","CoinPopBit (coinpopbit.com)","CoinPopBit 暗号資産手数料・キムチプレミアム分析","CoinPopBit Krypto-Gebührenrechner & Markt-Terminal","CoinPopBit Calculadora de Comisiones Cripto"],"disambiguatingDescription":"Independent cryptocurrency trading fee benchmark and market analytics terminal, distinct from the Coin Pop mobile rewards game app.","url":"https://coinpopbit.com/","email":"contact@coinpopbit.com","logo":{"@id":"https://coinpopbit.com/#logoImage"},"image":{"@id":"https://coinpopbit.com/#primaryImage"},"areaServed":{"@type":"Place","name":"Worldwide"},"sameAs":["https://coinpopbit.com/","https://coinpopbit.co.kr/","https://coinpopbit.de/","https://coinpopbit.jp/","https://coinpopbit.es/","https://play.google.com/store/apps/details?id=com.coinpopbit","https://m.onestore.co.kr/mobilepoc/apps/appsDetail.omp?prodId=0001003611","https://chromewebstore.google.com/detail/pjccacjpknbakeljmdnkbfcbiigihhck","https://www.facebook.com/coinpopbit/"],"knowsAbout":[{"@type":"Thing","name":"Cryptocurrency exchange","sameAs":["https://en.wikipedia.org/wiki/Cryptocurrency_exchange","https://www.wikidata.org/wiki/Q25401607"]},{"@type":"Thing","name":"Perpetual futures","sameAs":["https://en.wikipedia.org/wiki/Perpetual_futures","https://www.wikidata.org/wiki/Q115805941"]},{"@type":"Thing","name":"Market capitalization","sameAs":["https://en.wikipedia.org/wiki/Market_capitalization","https://www.wikidata.org/wiki/Q191839"]},{"@type":"Thing","name":"Foreign exchange market","sameAs":["https://en.wikipedia.org/wiki/Foreign_exchange_market","https://www.wikidata.org/wiki/Q66070"]},{"@type":"Thing","name":"Derivative (finance)","sameAs":["https://en.wikipedia.org/wiki/Derivative_(finance)","https://www.wikidata.org/wiki/Q161272"]},"Cryptocurrency trading fee schedule","Proof of reserves","Kimchi Premium (KRW/USD cryptocurrency spread)"],"contactPoint":{"@type":"ContactPoint","email":"contact@coinpopbit.com","contactType":"customer support"}},{"@type":"MobileApplication","@id":"https://coinpopbit.com/#android-app","name":"CoinPopBit: Crypto Fee & Kimp","operatingSystem":"Android","applicationCategory":"FinanceApplication","softwareVersion":"4.6","identifier":"com.coinpopbit","url":"https://play.google.com/store/apps/details?id=com.coinpopbit","installUrl":"https://play.google.com/store/apps/details?id=com.coinpopbit","sameAs":["https://play.google.com/store/apps/details?id=com.coinpopbit","https://m.onestore.co.kr/mobilepoc/apps/appsDetail.omp?prodId=0001003611"],"publisher":{"@id":"https://coinpopbit.com/#organization"},"offers":{"@type":"Offer","price":"0","priceCurrency":"USD"}},{"@type":"SoftwareApplication","@id":"https://coinpopbit.com/#chrome-extension","name":"CoinPopBit - Crypto Prices & Price Gaps","operatingSystem":"Chrome, Brave, Edge (Chromium MV3)","applicationCategory":"FinanceApplication","softwareVersion":"1.4.0","url":"https://chromewebstore.google.com/detail/pjccacjpknbakeljmdnkbfcbiigihhck","installUrl":"https://chromewebstore.google.com/detail/pjccacjpknbakeljmdnkbfcbiigihhck","sameAs":["https://chromewebstore.google.com/detail/pjccacjpknbakeljmdnkbfcbiigihhck"],"publisher":{"@id":"https://coinpopbit.com/#organization"},"offers":{"@type":"Offer","price":"0","priceCurrency":"USD"}},{"@type":"WebSite","@id":"https://coinpopbit.com/#website","name":"CoinPopBit","url":"https://coinpopbit.com/","inLanguage":"en","publisher":{"@id":"https://coinpopbit.com/#organization"}},{"@type":"WebApplication","@id":"https://coinpopbit.com/#geo-webapp","name":"CoinPopBit: Crypto Fee Calculator for OKX, Bybit & MEXC and Live Market Tools","alternateName":["CoinPopBit | Crypto Exchange Comparison, Fees, Kimchi Premium & Global Asset Rankings","코인팝비트(CoinPopBit) | 실시간 김프·환율·자산 시총 순위 및 글로벌 거래소 수수료 검증 터미널","CoinPopBit｜リアルタイム・キムチプレミアム、資産時価総額ランキング＆仮想通貨取引所手数料比較","CoinPopBit | Offizieller Krypto-Gebührenvergleich, Futures-Rechner & Globales Asset-Ranking","CoinPopBit | Prima Kimchi en Vivo, Ranking de Activos Globales y Comisiones de Exchanges Cripto"],"url":"https://coinpopbit.com/","applicationCategory":"FinanceApplication","operatingSystem":"Web, Android, Chrome Extension","inLanguage":"en","publisher":{"@id":"https://coinpopbit.com/#organization"},"image":{"@id":"https://coinpopbit.com/#primaryImage"},"offers":{"@type":"Offer","price":"0","priceCurrency":"USD"},"hasOfferCatalog":{"@type":"OfferCatalog","name":"CoinPopBit Crypto Fee & Market Cap Verification Tools","itemListElement":[{"@type":"Offer","itemOffered":{"@type":"Service","name":"3-Exchange Fee & Partner Rate Benchmark Calculator","description":"Interactive Non-VIP, VIP 1, and Partner Rate fee calculator for OKX, Bybit, MEXC.","url":"https://coinpopbit.com/#calculator"}},{"@type":"Offer","itemOffered":{"@type":"Service","name":"1st-Party Exchange Fee & Proof-of-Reserves Matrix","description":"Side-by-side comparison of Maker/Taker perpetual futures and spot fee schedules, with links to each exchange’s self-reported proof-of-reserves page.","url":"https://coinpopbit.com/#compare"}},{"@type":"Offer","itemOffered":{"@type":"Service","name":"Real-Time Kimchi Premium, USD/KRW FX & USDT Spread Monitor","description":"Live Korean KRW vs global USD cryptocurrency spread monitor alongside real-time USDT/KRW FX spread.","url":"https://coinpopbit.com/#kimp"}},{"@type":"Offer","itemOffered":{"@type":"Service","name":"Perpetual Futures Breakeven (BEP) & Isolated Liquidation Calculator","description":"Fee-inclusive Long/Short breakeven price and isolated liquidation price estimator.","url":"https://coinpopbit.com/#futures-tool"}},{"@type":"Offer","itemOffered":{"@type":"Service","name":"Global Assets by Market Cap (Top 1–30 & Bitcoin Benchmark)","description":"Hourly market capitalization ranking across Gold, Silver, public equities (Apple, NVIDIA, Microsoft), and Bitcoin.","url":"https://coinpopbit.com/#assets"}}]},"about":[{"@type":"Thing","name":"Cryptocurrency exchange","sameAs":["https://www.wikidata.org/wiki/Q25401607","https://en.wikipedia.org/wiki/Cryptocurrency_exchange"]},{"@type":"Thing","name":"Perpetual futures","sameAs":["https://www.wikidata.org/wiki/Q115805941","https://en.wikipedia.org/wiki/Perpetual_futures"]},{"@type":"Thing","name":"Market capitalization","sameAs":["https://www.wikidata.org/wiki/Q191839","https://en.wikipedia.org/wiki/Market_capitalization"]},{"@type":"Thing","name":"Bitcoin","sameAs":["https://www.wikidata.org/wiki/Q131723","https://en.wikipedia.org/wiki/Bitcoin"]},{"@type":"Thing","name":"Tether","sameAs":["https://www.wikidata.org/wiki/Q21646093","https://en.wikipedia.org/wiki/Tether_(cryptocurrency)"]}]},{"@type":"Dataset","@id":"https://coinpopbit.com/#geo-dataset","name":"2026 OKX, Bybit, MEXC Fee Schedule, Kimchi Premium & Top 10 Global Asset Market Cap Dataset","description":"Compare OKX, Bybit and MEXC maker and taker fees on your own trade size, check live funding rates and the kimchi premium, and use free liquidation, breakeven and position size calculators.","url":"https://coinpopbit.com/","creator":{"@id":"https://coinpopbit.com/#organization"},"datePublished":"2026-01-15T00:00:00+00:00","dateModified":"2026-11-21T05:30:00+00:00","license":"https://creativecommons.org/licenses/by/4.0/","variableMeasured":["OKX USDT Perpetual Maker/Taker Fee (0.020% / 0.050%, Partner -20%: 0.016% / 0.040%; Spot 0.080% / 0.100% -> 0.064% / 0.080%)","Bybit USDT Perpetual Maker/Taker Fee (0.020% / 0.055%, Partner 90d -20%: 0.016% / 0.044%; Spot 0.100% -> 0.080%)","MEXC BTCUSDT Perpetual Maker/Taker Fee (0.000% / 0.040%; contract rates vary; Spot BTC/USDT 0.000% / 0.050%; sign-up page for code mexc-coinpop shows 20% commission sharing)","Real-Time KRW Kimchi Premium (%) & USDT/FX Spread (%)","Top 1–10 Global Assets by Market Cap (USD & KRW)"]},{"@type":"ItemList","@id":"https://coinpopbit.com/#exchange-list","name":"2026 OKX, Bybit & MEXC Official Fee & Partner Rate Benchmark","itemListOrder":"https://schema.org/ItemListOrderAscending","numberOfItems":3,"itemListElement":[{"@type":"ListItem","position":1,"name":"OKX — Perp 0.020%/0.050% -> -20% 0.016%/0.040%, Spot 0.080%/0.100% -> 0.064%/0.080% (Code: COINPOP)"},{"@type":"ListItem","position":2,"name":"Bybit — Perp 0.020%/0.055% -> 90d Partner -20% 0.016%/0.044%, Spot 0.100% -> 0.080% (Code: COINPOP)"},{"@type":"ListItem","position":3,"name":"MEXC — BTCUSDT Perp 0.000%/0.040%, Spot BTC/USDT 0.000%/0.050% (Code: mexc-coinpop shows 20% commission sharing)"}]},{"@type":"WebPage","@id":"https://coinpopbit.com/#webpage","url":"https://coinpopbit.com/","headline":"Crypto Fee Calculator for OKX, Bybit & MEXC and Live Market Tools","name":"CoinPopBit: Crypto Fee Calculator for OKX, Bybit & MEXC and Live Market Tools","description":"Compare OKX, Bybit and MEXC maker and taker fees on your own trade size, check live funding rates and the kimchi premium, and use free liquidation, breakeven and position size calculators.","inLanguage":"en","isPartOf":{"@id":"https://coinpopbit.com/#website"},"primaryImageOfPage":{"@id":"https://coinpopbit.com/#primaryImage"},"mainEntity":{"@id":"https://coinpopbit.com/#geo-webapp"},"datePublished":"2026-01-15T00:00:00+00:00","dateModified":"2026-11-21T05:30:00+00:00","citation":["https://www.okx.com/fees","https://www.bybit.com/en/help-center/article/Trading-Fee-Structure","https://www.mexc.com/fee"],"about":[{"@id":"https://coinpopbit.com/#geo-dataset"},{"@type":"Thing","name":"Cryptocurrency exchange","sameAs":["https://en.wikipedia.org/wiki/Cryptocurrency_exchange","https://www.wikidata.org/wiki/Q25401607"]},{"@type":"Thing","name":"Perpetual futures","sameAs":["https://en.wikipedia.org/wiki/Perpetual_futures","https://www.wikidata.org/wiki/Q115805941"]},{"@type":"Thing","name":"Market capitalization","sameAs":["https://en.wikipedia.org/wiki/Market_capitalization","https://www.wikidata.org/wiki/Q191839"]}],"mentions":[{"@type":"Organization","name":"Bybit","sameAs":["https://en.wikipedia.org/wiki/Bybit","https://www.wikidata.org/wiki/Q109974904"]},{"@type":"Organization","name":"OKX","sameAs":["https://en.wikipedia.org/wiki/OKX","https://www.wikidata.org/wiki/Q47496809"]},{"@type":"Organization","name":"MEXC","sameAs":["https://en.wikipedia.org/wiki/MEXC","https://www.wikidata.org/wiki/Q111973059"]},{"@type":"Organization","name":"Upbit","sameAs":["https://en.wikipedia.org/wiki/Upbit","https://www.wikidata.org/wiki/Q48996215"]},{"@type":"Organization","name":"Bithumb","sameAs":["https://en.wikipedia.org/wiki/Bithumb","https://www.wikidata.org/wiki/Q28699672"]},{"@type":"Thing","name":"Bitcoin","sameAs":["https://en.wikipedia.org/wiki/Bitcoin","https://www.wikidata.org/wiki/Q131723"]},{"@type":"Thing","name":"Ethereum","sameAs":["https://en.wikipedia.org/wiki/Ethereum","https://www.wikidata.org/wiki/Q16783523"]},{"@type":"Thing","name":"Tether","sameAs":["https://en.wikipedia.org/wiki/Tether_(cryptocurrency)","https://www.wikidata.org/wiki/Q21646093"]},{"@type":"Thing","name":"Solana","sameAs":["https://en.wikipedia.org/wiki/Solana_(blockchain_platform)","https://www.wikidata.org/wiki/Q106617316"]},{"@type":"Thing","name":"XRP Ledger","sameAs":["https://en.wikipedia.org/wiki/Ripple_(payment_protocol)","https://www.wikidata.org/wiki/Q1751598"]},{"@type":"Thing","name":"Gold","sameAs":["https://en.wikipedia.org/wiki/Gold","https://www.wikidata.org/wiki/Q897"]},{"@type":"Organization","name":"Apple Inc.","sameAs":["https://en.wikipedia.org/wiki/Apple_Inc.","https://www.wikidata.org/wiki/Q312"]},{"@type":"Organization","name":"Nvidia","sameAs":["https://en.wikipedia.org/wiki/Nvidia","https://www.wikidata.org/wiki/Q182477"]},{"@type":"Organization","name":"Microsoft","sameAs":["https://en.wikipedia.org/wiki/Microsoft","https://www.wikidata.org/wiki/Q2283"]}]},{"@type":"FAQPage","@id":"https://coinpopbit.com/#faqpage","mainEntity":[{"@type":"Question","name":"What is CoinPopBit?","acceptedAnswer":{"@type":"Answer","text":"CoinPopBit is a free website of crypto futures calculators and live market pages. It compares the official fees of OKX, Bybit and MEXC, and it has calculators for liquidation price, breakeven, leverage and position size, plus live funding rates and the kimchi premium. It is not an exchange, so you cannot trade, deposit or hold crypto here. Sign-up codes are covered only on the separate referral-code pages, which disclose the partner relationship. The name is written as one word: CoinPopBit."}},{"@type":"Question","name":"What are the official 2026 fee schedules and partner discount terms across OKX, Bybit, and MEXC?","acceptedAnswer":{"@type":"Answer","text":"Per 1st-party fee schedules verified on 2026-11-11, the calculated Maker / Taker rates are: (1) OKX (code COINPOP): Perp 0.020% / 0.050% → 0.016% / 0.040% (-20% discount; Spot 0.080% / 0.100% → 0.064% / 0.080%); (2) Bybit (code COINPOP, through the CoinPopBit partner link): Perp 0.020% / 0.055% → 0.016% / 0.044% (calculated; the \"20% fee discount for 90 days\" line showed through the partner link, not on a plain ?ref_code= address, checked 2026-11-12; Spot 0.100% → 0.080%); (3) MEXC (code mexc-coinpop): per its fee page, BTCUSDT perpetual Maker 0.000% / Taker 0.040% (rates vary by contract and region), and its sign-up page shows \"Commission sharing: 20%\". Always verify terms on registration forms."}},{"@type":"Question","name":"How are perpetual futures round-trip trading fees and fee-inclusive breakeven price (BEP) calculated?","acceptedAnswer":{"@type":"Answer","text":"Round-Trip Fee = Position Notional (Margin × Leverage) × (Entry Fee Rate + Exit Fee Rate). Hypothetical example ($1,000 margin at 10x = $10,000 notional, market taker): Bybit (0.055%) is $11.00, or $8.80 calculated with the 90-day 20% discount that its sign-up page shows through the partner link, and OKX (0.050%) is $10.00, or $8.00 calculated with the 20% from its sign-up page. Long breakeven price (BEP) equals Entry Price × (1 + Round-Trip Fee Rate)."}},{"@type":"Question","name":"Can a referral partner code be added or changed retroactively after registration?","acceptedAnswer":{"@type":"Answer","text":"OKX: there is no setting for adding the code yourself after sign-up, so enter it during sign-up. OKX's help center (updated 2026-11-18) also describes a rebinding route for existing users: an affiliate sends a reconnect link, you log in and submit the affiliate's invitation code with a reason, and OKX reviews requests daily, rebinding eligible users within 24 hours. Bybit: an Affiliate invitation code can be added once, within 14 days after registration, on a Main Account that has no prior code. MEXC: its Affiliate FAQ (updated 2026-07-20) says a forgotten invitation code can be added within 30 days after registration through customer service or the self-service function, and that a linked code cannot be changed or removed."}},{"@type":"Question","name":"Do exchange-token fee deductions such as Bybit MNT stack with partner referral codes?","acceptedAnswer":{"@type":"Answer","text":"Native token fee deductions (for example Bybit MNT) follow the rules of each exchange, and whether they stack with a partner offer differs by exchange. We have not verified the combined rates, so check each exchange fee page and sign-up page. The offers we compared with the exchanges own sign-up pages are in our OKX, Bybit and MEXC guides."}},{"@type":"Question","name":"How do I choose a network when moving coins between exchanges?","acceptedAnswer":{"@type":"Answer","text":"Supported networks and withdrawal fees differ by exchange and change over time. Check the withdrawal fee for that network on the withdrawal screen of the sending exchange, confirm on the deposit screen of the receiving exchange that the same network is supported, and send a small test amount first. Transfers of 1,000,000 KRW or more to or from Korean exchanges fall under the Travel Rule (legal-name matching), and XRP needs its numeric destination tag."}},{"@type":"Question","name":"How are the Top 1–10 Global Asset Market Cap rankings, Kimchi Premium, and USDT/FX spread calculated?","acceptedAnswer":{"@type":"Answer","text":"Global asset market caps compare publicly traded equities (shares × price), precious metals (above-ground supply × spot price), and cryptoassets (circulating supply × USD price), updated hourly. Kimchi Premium (%) is calculated live as ((KRW Exchange Price / (Global USD Price × USD/KRW FX Rate)) − 1) × 100, and USDT/FX Spread (%) is ((Domestic USDT/KRW Price / Official USD/KRW FX Rate) − 1) × 100."}}]}]}</script>
<style>
  :root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-subtle: #f1f5f9;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --brand: #2563eb;
    --brand-soft: #eff6ff;
    --emerald: #059669;
    --emerald-bg: #ecfdf5;
    --emerald-line: #a7f3d0;
    --amber-bg: #fffbeb;
    --amber-line: #fde68a;
    --amber-ink: #b45309;
    --rose: #e11d48;
    --sans: -apple-system, BlinkMacSystemFont, "Pretendard", "Inter", "Segoe UI", Roboto, sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    line-height: 1.48;
    font-variant-numeric: tabular-nums;
  }
  section[id] { scroll-margin-top: 62px; }
  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  }

  /* Minimal Sticky Header */
  .topbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
  }
  .topbar-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2px 14px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .topbar-inner .nav-links { margin-left: auto; margin-right: 4px; }
  .mob-chip-bar {
    display: none;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 6px 14px 8px;
    gap: 6px;
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }
  .mob-chip-bar::-webkit-scrollbar { display: none; }
  .mob-chip {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ink-2);
    background: var(--surface-subtle);
    border: 1px solid var(--line);
    padding: 5px 11px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
  }
  .mob-chip:hover, .mob-chip:active {
    background: var(--brand-soft);
    color: var(--brand);
    border-color: var(--brand-soft);
  }
  .brand {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    flex-shrink: 0;
  }
  .brand-dot { color: var(--brand); }
  .live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-2);
    background: var(--surface-subtle);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
  }
  .live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 3px rgba(5,150,105,0.16);
    flex-shrink: 0;
  }
  .live-pill .neg { color: var(--brand); font-weight: 700; }
  .live-pill .pos { color: var(--rose); font-weight: 700; }
  .nav-links {
    display: flex;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 600;
  }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 3px;
    transition: color 0.15s;
    white-space: nowrap;
  }
  .nav-links a:hover { color: var(--ink); }
  .lang-nav {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: var(--surface-subtle);
    padding: 2px;
    border-radius: 7px;
    flex-shrink: 0;
  }
  .lang-nav a {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    min-height: 28px;
    padding: 0 5px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.14s ease;
  }
  .lang-nav a:hover { color: var(--ink); }
  .lang-nav a.active {
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(15,23,42,0.08);
  }
  .cta-disc {
    margin-top: 7px;
    font-size: 11px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 10px;
    line-height: 1.4;
  }
  .cta-disc a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
  }
  .cta-disc a:hover { text-decoration: underline; }
  .tbl-ext-link {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-2);
    text-decoration: underline;
    text-underline-offset: 2px;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 4px;
  }
  .tbl-ext-link:hover { color: var(--brand); }
  .tbl-signup-link {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 6px;
    white-space: nowrap;
  }
  .tbl-signup-link:hover { background: var(--brand); }
  .tbl-meta-note {
    margin-top: 8px;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
  }
  .winner-bar {
    margin-top: 8px;
    padding: 8px 11px;
    border-radius: 8px;
    background: var(--brand-soft);
    border: 1px solid #dbeafe;
    font-size: 11.5px;
    color: var(--ink-2);
    line-height: 1.5;
  }
  .winner-bar strong { color: var(--ink); font-weight: 700; }

  /* Main Container */
  .wrap {
    max-width: 940px;
    margin: 0 auto;
    padding: 16px 14px 44px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  /* Clean Card */
  .card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 1px 2px rgba(15,23,42,0.03);
  }

  /* Hero Section */
  .hero-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
  }
  h1 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.25;
    color: var(--ink);
  }
  .subtitle {
    font-size: 12.5px;
    color: var(--muted);
  }

  /* Segmented Exchange Selector (Objective Base Taker Rate Badges) */
  .seg-bar {
    display: flex;
    gap: 8px;
    background: var(--surface-subtle);
    border: 1px solid var(--line);
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 14px;
  }
  .seg-btn {
    flex: 1 1 0;
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--surface);
    min-height: 52px;
    padding: 6px 10px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
    font-family: inherit;
    transition: all 0.14s ease;
  }
  .seg-btn:hover {
    border-color: var(--brand);
  }
  .seg-btn.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 3px 10px rgba(15,23,42,0.22);
  }
  .seg-rate {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(15,23,42,0.07);
    color: var(--muted);
  }
  .seg-btn.active .seg-rate {
    background: rgba(255,255,255,0.22);
    color: #fff;
    font-weight: 800;
  }

  /* 3-Metric Strip */
  .rate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
  }
  .rate-box {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--bg);
    min-width: 0;
  }
  .rate-box.highlight {
    background: var(--emerald-bg);
    border-color: var(--emerald-line);
  }
  .rate-label {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .rate-box.highlight .rate-label { color: var(--emerald); font-weight: 700; }
  .rate-val {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.03em;
    white-space: nowrap;
  }
  .rate-sub {
    font-size: 10px;
    color: var(--muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Interactive Savings Row */
  .calc-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
    background: var(--surface-subtle);
    border-radius: 10px;
    margin-bottom: 12px;
  }
  .vol-group {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
  }
  .vol-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ink-2);
    margin-right: 2px;
  }
  .pill {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink-2);
    min-height: 36px;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
  }
  .pill.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
  }
  .calc-out {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-2);
    width: 100%;
  }
  .save-tag {
    background: var(--emerald-bg);
    color: var(--emerald);
    border: 1px solid var(--emerald-line);
    font-weight: 700;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 5px;
    white-space: nowrap;
  }

  /* Action Bar */
  .cta-bar {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 8px;
  }
  .code-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: var(--bg);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    min-width: 0;
    transition: all 0.15s ease;
  }
  .code-btn.copied {
    border-color: var(--emerald);
    background: var(--emerald-bg);
  }
  .code-meta {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }
  .code-caption {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
  }
  .code-str {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: 0.02em;
  }
  .copy-chip {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand);
    background: var(--brand-soft);
    padding: 4px 8px;
    border-radius: 5px;
    white-space: nowrap;
  }
  .code-btn.copied .copy-chip {
    background: var(--emerald);
    color: #fff;
  }
  .primary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 14px;
    border-radius: 10px;
    background: var(--ink);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.12s, box-shadow 0.15s;
  }
  .primary-btn.pulse {
    box-shadow: 0 0 0 3px rgba(5,150,105,0.32);
    background: var(--emerald);
  }

  /* Section Title */
  .sec-title {
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 8px;
  }
  .sec-title h2 {
    font-size: inherit;
    font-weight: inherit;
    min-width: 0;
  }
  .sec-note {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    white-space: normal;
  }

  /* Clean Table */
  .table-wrap { width: 100%; overflow-x: auto; }
  table { width: 100%; border-collapse: collapse; font-size: 12px; }
  th {
    text-align: left;
    padding: 8px 6px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
  }
  td {
    padding: 9px 6px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--ink-2);
    white-space: nowrap;
  }
  tr:last-child td { border-bottom: none; }
  .ex-cell {
    font-weight: 800;
    color: var(--ink);
  }
  .tbl-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 700;
    font-size: 11px;
    background: var(--surface-subtle);
    padding: 3px 7px;
    border-radius: 4px;
    color: var(--ink);
    border: 1px solid var(--line);
    cursor: pointer;
  }
  .tbl-link {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 4px;
  }

  /* 2-Column Utility Grid */
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .kv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    gap: 8px;
  }
  .kv-row:last-child { border-bottom: none; }
  .kv-name { font-weight: 700; color: var(--ink); }
  .kv-val { color: var(--ink-2); font-weight: 600; }
  .kv-kimp { color: var(--brand); font-weight: 700; }
  .kv-kimp.pos { color: var(--rose); }

  /* Quick Futures Input Row */
  .fut-inputs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
  }
  .fut-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .fut-field label {
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
  }
  .fut-field input, .fut-field select {
    width: 100%;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    background: var(--bg);
    font-family: inherit;
  }

  /* Top 1-10 Asset Market Cap Grid */
  .asset-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
  }
  .asset-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
  }
  .asset-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6.5px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    gap: 8px;
    min-width: 0;
  }
  .asset-col .asset-row:last-child { border-bottom: none; }
  .asset-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }
  .asset-rk {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: var(--surface-subtle);
    color: var(--ink-2);
    font-size: 10.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .asset-rk.top1 {
    background: var(--amber-bg);
    color: var(--amber-ink);
    border: 1px solid var(--amber-line);
  }
  .asset-rk.btc-rk {
    background: var(--emerald-bg);
    color: var(--emerald);
    border: 1px solid var(--emerald-line);
  }
  .asset-row.is-btc {
    background: var(--emerald-bg);
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 6px;
  }
  .asset-row.is-btc .asset-nm, .asset-row.is-btc .asset-cap {
    color: var(--emerald);
    font-weight: 800;
  }
  .asset-more-wrap {
    display: none;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--line);
  }
  .asset-more-wrap.open {
    display: grid;
  }
  .more-btn {
    margin-top: 8px;
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    transition: all 0.15s;
  }
  .more-btn:hover {
    border-color: #94a3b8;
    color: var(--ink);
    background: #fff;
  }
  .asset-nm {
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .asset-cap {
    font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;
  }
  .btc-bench {
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    background: var(--surface-subtle);
    border: 1px solid var(--line);
    font-size: 12px;
    color: var(--ink-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .btc-bench strong { color: var(--ink); font-weight: 800; }

  /* GEO Direct Answer & 4-Exchange Spec Grid */
  .geo-summary {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 9px;
    background: var(--surface-subtle);
    border: 1px solid var(--line);
    font-size: 11.5px;
    color: var(--ink-2);
    line-height: 1.55;
  }
  .geo-summary strong { color: var(--ink); font-weight: 700; }
  .venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 14px;
  }
  .venue-item {
    border: 1px solid var(--line);
    border-top: 3px solid var(--venue-color, var(--brand));
    border-radius: 12px;
    padding: 16px;
    background: var(--surface);
    font-size: 12px;
    color: var(--ink-2);
    line-height: 1.55;
    box-shadow: 0 1px 3px rgba(15,23,42,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }
  .venue-item:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(15,23,42,0.08);
  }
  .venue-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .venue-pill {
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 5px;
    background: var(--surface-subtle);
    color: var(--ink-2);
    border: 1px solid var(--line);
    white-space: nowrap;
  }
  .venue-pill.highlight {
    background: var(--emerald-bg);
    color: var(--emerald);
    border-color: var(--emerald-line);
  }
  .venue-desc {
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
    margin: 0;
  }
  .venue-desc strong { color: var(--ink); }
  .venue-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 7px;
    background: var(--ink);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.14s ease;
  }
  .venue-card-btn:hover {
    background: var(--brand);
    color: #fff;
  }
  .venue-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ink);
  }
  .venue-code-tag {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--brand);
    background: var(--brand-soft);
    padding: 2px 6px;
    border-radius: 5px;
  }
  .venue-desc {
    font-size: 11.5px;
    color: var(--muted);
  }
  .venue-desc strong { color: var(--ink-2); font-weight: 700; }

  /* Clean Accordion FAQ */
  details {
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 0;
  }
  details:last-child { border-bottom: none; padding-bottom: 0; }
  details:first-of-type { padding-top: 2px; }
  summary {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 36px;
    gap: 8px;
  }
  summary::-webkit-details-marker { display: none; }
  summary::after {
    content: "+";
    font-size: 15px;
    color: var(--muted);
    font-weight: 500;
    flex-shrink: 0;
  }
  details[open] summary::after { content: "−"; }
  .faq-body {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.58;
  }

  /* Minimal Footer */
  footer {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 14px 32px;
    font-size: 11.5px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .foot-links { display: flex; gap: 12px; }
  footer a {
    color: var(--muted);
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  footer a:hover { color: var(--ink); }

  @media (min-width: 720px) {
    h1 { font-size: 23px; }
    .rate-val { font-size: 16px; }
    .calc-out { width: auto; }
    table { font-size: 13px; }
    th, td { padding: 10px 10px; }
  }

  @media (max-width: 1040px) {
    .nav-links { display: none; }
    .mob-chip-bar { display: flex; }
    .live-pill { margin-left: auto; }
  }

  @media (max-width: 640px) {
    .hide-mob { display: none; }
    .topbar-inner { padding: 3px 10px; gap: 4px 6px; flex-wrap: wrap; min-height: 48px; }
    .brand { font-size: 16.5px; min-height: 40px; }
    .live-pill { font-size: 10.5px; padding: 3px 7px; gap: 5px; }
    .lang-nav a { font-size: 10px; padding: 0 4px; min-height: 26px; }
    .wrap { padding: 10px 12px 32px; gap: 10px; }
    .card { padding: 14px; border-radius: 12px; }
    h1 { font-size: 17.5px; }
    .subtitle { font-size: 11.5px; }
    .seg-bar { margin-bottom: 10px; }
    .seg-btn { font-size: 13px; padding: 6px 2px; min-height: 52px; }
    .seg-rate { font-size: 9px; padding: 1px 3px; }
    .rate-grid { gap: 6px; margin-bottom: 10px; }
    .rate-box { padding: 8px 7px; }
    .rate-label { font-size: 10px; }
    .rate-val { font-size: 12px; }
    .rate-sub { font-size: 9.5px; }
    .calc-strip { padding: 9px 10px; margin-bottom: 10px; gap: 6px; }
    .cta-bar { grid-template-columns: 1fr; gap: 7px; }
    .grid-2 { grid-template-columns: 1fr; }
    .venue-grid { grid-template-columns: 1fr; }
    .asset-grid { grid-template-columns: 1fr; }
    .asset-col:first-child .asset-row:last-child { border-bottom: 1px solid #f1f5f9; }
    table { font-size: 11px; }
    th { font-size: 9.5px; padding: 6px 4px; }
    td { padding: 7px 4px; }
    .tbl-code { font-size: 10px; padding: 2px 5px; }
    .tbl-link { font-size: 10.5px; padding: 0 2px; }
    .tbl-ext-link { font-size: 10px; padding: 0 2px; }
    .tbl-signup-link { font-size: 10px; padding: 0 6px; min-height: 30px; }
  }

.tl-group{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-2);margin:14px 0 8px}
.tl-group:first-of-type{margin-top:4px}
.tl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tl-card{display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:64px;min-width:0;padding:10px 12px;border:1px solid var(--line,#d6dbe4);border-radius:12px;text-decoration:none;color:inherit;overflow-wrap:anywhere}
.tl-card:hover,.tl-card:focus-visible{border-color:currentColor}
.tl-card strong{font-size:14.5px;line-height:1.3;font-weight:800}
.tl-card span{font-size:12.5px;line-height:1.4;color:var(--ink-2);font-weight:500}
@media (max-width:900px){.tl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.tl-grid{gap:8px}.tl-card{min-height:52px;padding:8px 10px}.tl-card strong{font-size:13.5px}.tl-card span{display:none}}
</style>
<style id="theme-ledger">:root { --bg: #f6f4ef; --surface: #ffffff; --surface-subtle: #f1eee7; --ink: #16191d; --ink-2: #3a4048; --muted: #666d76; --line: #e3dfd5; --brand: #0b6b53; --brand-soft: #e6f2ee; --emerald: #0b6b53; --emerald-bg: #e9f4ef; --emerald-line: #b5d9cb; --sans: "Pretendard", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif; } html, body { line-height: 1.6; } .topbar { background: rgba(246,244,239,0.94); } .mob-chip-bar { background: rgba(246,244,239,0.94); } .brand { font-size: 20px; } .wrap { max-width: 980px; gap: 18px; padding-top: 22px; } .card { border-radius: 18px; padding: 26px; box-shadow: 0 1px 0 rgba(22,25,29,0.04), 0 8px 24px -18px rgba(22,25,29,0.18); } h1 { font-size: 30px; line-height: 1.18; letter-spacing: -0.03em; } .subtitle { font-size: 15px; line-height: 1.55; margin-top: 4px; } .hero-head { margin-bottom: 18px; } .sec-title { font-size: 19px; margin-bottom: 14px; } .sec-note { font-size: 12.5px; } .mob-chip { font-size: 13px; padding: 7px 13px; background: var(--surface); } .nav-links { font-size: 14px; gap: 16px; } .lang-nav a { font-size: 11.5px; padding: 0 7px; min-height: 30px; } .live-pill { font-size: 12.5px; background: var(--surface); border: 1px solid var(--line); } .seg-bar { padding: 5px; border-radius: 14px; margin-bottom: 16px; } .seg-btn { min-height: 60px; font-size: 16px; border-radius: 10px; border-color: transparent; background: transparent; } .seg-btn.active { background: var(--ink); border-color: var(--ink); box-shadow: none; } .seg-rate { font-size: 11.5px; } .rate-grid { gap: 10px; margin-bottom: 14px; } .rate-box { padding: 14px; border-radius: 12px; background: var(--surface); } .rate-label { font-size: 12px; margin-bottom: 5px; } .rate-val { font-size: 20px; } .rate-sub { font-size: 11.5px; } .calc-strip { padding: 14px; border-radius: 12px; margin-bottom: 14px; gap: 10px; } .vol-label { font-size: 13px; } .pill { min-height: 40px; padding: 4px 13px; font-size: 13px; border-radius: 8px; } .calc-out { font-size: 14px; } .save-tag { font-size: 12.5px; padding: 4px 10px; } .cta-bar { gap: 10px; } .code-btn { min-height: 56px; border-radius: 12px; border-color: var(--line); background: var(--surface); } .code-caption { font-size: 12.5px; } .code-str { font-size: 17px; } .copy-chip { font-size: 12.5px; } .primary-btn { min-height: 56px; border-radius: 12px; font-size: 16px; background: var(--brand); box-shadow: 0 10px 22px -12px rgba(11,107,83,0.75); } .primary-btn:hover { background: #095a46; transform: translateY(-1px); } .cta-disc { font-size: 12.5px; margin-top: 10px; } .venue-card-btn { min-height: 44px; font-size: 13.5px; border-radius: 10px; background: var(--brand); } .venue-card-btn:hover { background: #095a46; } .tbl-signup-link { background: var(--brand); font-size: 12px; min-height: 34px; } .tbl-signup-link:hover { background: #095a46; } table { font-size: 14px; } th { font-size: 12px; padding: 10px 10px; text-transform: none; } td { padding: 12px 10px; border-bottom-color: var(--line); } .tbl-code { font-size: 12px; } .tbl-link, .tbl-ext-link { font-size: 12.5px; } .tbl-meta-note, .winner-bar, .geo-summary { font-size: 13.5px; line-height: 1.6; } .winner-bar { background: var(--brand-soft); border-color: var(--emerald-line); padding: 12px 14px; border-radius: 12px; } .geo-summary { padding: 14px; border-radius: 12px; } .venue-item { padding: 20px; border-radius: 14px; font-size: 14px; } .venue-head { font-size: 15.5px; } .venue-pill { font-size: 12px; padding: 4px 9px; } .venue-desc { font-size: 13.5px; } .venue-code-tag { font-size: 11.5px; } .kv-row, .asset-row { font-size: 14px; padding: 10px 0; border-bottom-color: var(--line); } .asset-rk { width: 24px; height: 24px; font-size: 12px; } .btc-bench { font-size: 13.5px; padding: 12px 14px; } .fut-field label { font-size: 12px; } .fut-field input, .fut-field select { height: 44px; font-size: 14px; border-radius: 9px; } .more-btn { min-height: 44px; font-size: 13.5px; } details { padding: 14px 0; border-bottom-color: var(--line); } summary { font-size: 15.5px; min-height: 40px; } .faq-body { font-size: 14.5px; line-height: 1.65; } footer { max-width: 980px; font-size: 13px; } @media (max-width: 640px) { .wrap { padding: 14px 14px 36px; gap: 14px; } .card { padding: 18px 14px; border-radius: 16px; } h1 { font-size: 23px; } .subtitle { font-size: 14px; } .sec-title { font-size: 17.5px; } .seg-btn { font-size: 15px; min-height: 58px; padding: 6px 2px; } .seg-rate { font-size: 9.5px; padding: 1px 3px; } .rate-box { padding: 10px 5px 10px 7px; } .rate-label { font-size: 11px; } .rate-val { font-size: 12px; font-family: var(--sans); letter-spacing: -0.045em; } .calc-out { font-size: 13px; } .rate-grid { gap: 6px; } .venue-item { padding: 16px; } .rate-sub { font-size: 10.5px; } table { font-size: 12.5px; } th { font-size: 11px; padding: 8px 6px; } td { padding: 10px 6px; } .brand { font-size: 18px; } } .calc-grid input, .calc-grid select { border-color: var(--line); min-height: 46px; } .seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); } .formula { background: var(--surface-subtle); border-color: var(--line); } .steps li::before { background: var(--brand); } .box-blue { border-color: var(--emerald-line); } @media (max-width: 640px) { .seg-rate { font-size: 9px; letter-spacing: -0.02em; } } .venue-pill { white-space: normal; line-height: 1.35; } .venue-item { min-width: 0; } @media (min-width: 900px) { .table-wrap table { font-size: 13.5px; } .table-wrap th, .table-wrap td { white-space: normal; padding: 11px 8px; vertical-align: middle; } #compare td:nth-child(2), #compare td:nth-child(4) { white-space: nowrap; } #compare td:nth-child(3) strong { white-space: nowrap; } #compare td:nth-child(1) span, #compare td:nth-child(3) span { display: block; margin-top: 2px; } #compare .tbl-code { white-space: nowrap; } #compare .tbl-ext-link { white-space: nowrap; } #compare .tbl-signup-link { white-space: normal; text-align: center; line-height: 1.3; padding: 7px 10px; min-height: 40px; } } .venue-card-btn { font-size: 13px; padding: 6px 10px; text-align: center; line-height: 1.3; } @media (max-width: 899px) { .tbl-cards, .tbl-cards tbody { display: block; width: 100%; } .tbl-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .tbl-cards tr { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 6px 14px 12px; margin-bottom: 10px; background: var(--surface); } .tbl-cards tr:last-child { margin-bottom: 0; } .tbl-cards td { display: block; overflow: hidden; text-align: right; white-space: normal; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; min-height: 40px; line-height: 1.45; } .tbl-cards tr td:last-child, .tbl-cards tr:last-child td:last-child { border-bottom: none; padding-bottom: 0; } .tbl-cards tr:last-child td { border-bottom: 1px solid var(--line); } .tbl-cards td::before { float: left; max-width: 46%; margin-right: 12px; text-align: left; color: var(--muted); font-size: 12.5px; font-weight: 600; line-height: 1.6; } .tbl-cards td:first-child { text-align: left; font-size: 16.5px; font-weight: 800; color: var(--ink); } .tbl-cards td:first-child::before { display: none; } .tbl-cards td span { display: inline; } .tbl-cards .tbl-code { font-size: 12.5px; padding: 5px 9px; } .tbl-cards .tbl-ext-link { font-size: 13px; min-height: 28px; } #compare .tbl-cards td:last-child::before { display: none; } #compare .tbl-cards .tbl-signup-link { display: flex; justify-content: center; width: 100%; min-height: 46px; font-size: 14.5px; border-radius: 10px; margin-top: 4px; } } @media (max-width: 899px) { #compare .tbl-cards td:nth-child(3) span { display: block; margin-top: 1px; } } @media (max-width: 899px) { .table-wrap table:not(.tbl-cards) th, .table-wrap table:not(.tbl-cards) td { white-space: normal; } } @media (max-width: 640px) { .primary-btn { white-space: normal; text-align: center; line-height: 1.3; padding: 10px 14px; } .code-btn { min-width: 0; gap: 8px; } .code-meta { min-width: 0; flex-wrap: wrap; } .cta-bar > * { min-width: 0; } } @media (max-width: 380px) { .rate-val { font-size: 11.5px; } .rate-box { padding: 10px 4px 10px 6px; } } @media (min-width: 900px) { #compare table { font-size: 13px; } #compare th, #compare td { padding: 10px 6px; } #compare td:nth-child(4) { white-space: normal; } #compare .tbl-ext-link { white-space: normal; } } @media (max-width: 1040px) { .nav-links { font-size: 12.5px; gap: 10px; flex-wrap: wrap; row-gap: 0; min-width: 0; } .topbar-inner { flex-wrap: wrap; } } @media (max-width: 400px) { .seg-btn { white-space: normal; } .seg-rate { white-space: normal; text-align: center; line-height: 1.25; } } :lang(ko) h1, :lang(ko) .sec-title, :lang(ko) .subtitle, :lang(ko) summary { word-break: keep-all; } .mob-chip { min-height: 44px; display: inline-flex; align-items: center; } .pill { min-height: 44px; } summary { min-height: 44px; } .brand { min-height: 44px; } footer a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px !important; } .lang-nav a { position: relative; } .lang-nav a::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); } .cta-disc a { display: inline-flex; align-items: center; min-height: 44px; } .box-blue a, .box-amber a { padding: 15px 0; position: relative; z-index: 1; } @media (max-width:899px){.tblc-1 td:nth-child(1)::before{content:"Venue"}.tblc-1 td:nth-child(2)::before{content:"Perp Base (M/T)"}.tblc-1 td:nth-child(3)::before{content:"With Code (Terms)"}.tblc-1 td:nth-child(4)::before{content:"VIP 1"}.tblc-1 td:nth-child(5)::before{content:"Proof of reserves (self-reported)"}.tblc-1 td:nth-child(6)::before{content:"Code"}.tblc-1 td:nth-child(7)::before{content:"Official Fees"}.tblc-1 td:nth-child(8)::before{content:"Partner Sign-Up"}}</style></head>
<body>

<header class="topbar">
  <div class="topbar-inner">
    <a href="/" class="brand" aria-label="CoinPopBit Home">CoinPopBit<span class="brand-dot" aria-hidden="true">.</span></a>
    <div class="live-pill" aria-live="polite">
      <span class="live-dot" aria-hidden="true"></span>
      <span id="cp-top-btc">BTC $62,985</span>
      <span id="cp-top-kimp" class="pos">Kimp +1.61%</span>
      <span id="cp-top-usdt" class="hide-mob">USDT ₩1,360</span>
    </div>
    <nav class="nav-links" aria-label="Primary sections">
      <a href="#calculator">Fee Benchmark</a>
      <a href="#compare">Fee Schedule</a>
      <a href="#kimp">Live Kimp</a>
      <a href="#assets">Top 10 Assets</a>
      <a href="#faq">FAQ</a>
    </nav>
    <nav class="lang-nav" aria-label="Language editions">
      <a href="https://coinpopbit.com/" hreflang="en" class="active" aria-current="page">EN</a>
      <a href="https://coinpopbit.co.kr/" hreflang="ko-KR" class="">KO</a>
      <a href="https://coinpopbit.jp/" hreflang="ja-JP" class="">JP</a>
      <a href="https://coinpopbit.de/" hreflang="de-DE" class="">DE</a>
      <a href="https://coinpopbit.es/" hreflang="es-ES" class="">ES</a>
    </nav>
  </div>
  <nav class="mob-chip-bar" aria-label="Quick mobile navigation">
    <a href="#calculator" class="mob-chip">Calculator</a>
    <a href="#tools" class="mob-chip">Tools</a>
    <a href="#compare" class="mob-chip">Fee Schedule</a>
    <a href="#kimp" class="mob-chip">Live Kimp</a>
    <a href="#assets" class="mob-chip">Top 10 Assets</a>
    <a href="#faq" class="mob-chip">FAQ</a>
  </nav>
</header>

<main class="wrap">
  <!-- 1. Hero Calculator Card (Above the Fold on 390x844 Mobile) -->
  <section class="card" id="calculator">
    <div class="hero-head">
      <h1>Crypto Fee Calculator for OKX, Bybit & MEXC and Live Market Tools</h1>
      <p class="subtitle">Official fee schedules checked 2026-11-11 · Non-VIP vs. VIP 1 (Perp & Spot), round-trip breakeven and liquidation calculators, live funding rates, KRW spread & Top 10 global assets.</p>
    </div>

    <div class="seg-bar" role="tablist" aria-label="Select exchange">
      <button type="button" class="seg-btn active" data-ex="okx" role="tab" aria-selected="true">OKX <span class="seg-rate" aria-hidden="true">0.050% (-20%, calc.)</span></button>
      <button type="button" class="seg-btn" data-ex="bybit" role="tab" aria-selected="false">Bybit <span class="seg-rate" aria-hidden="true">0.055% (partner link, 90d -20%)</span></button>
      <button type="button" class="seg-btn" data-ex="mexc" role="tab" aria-selected="false">MEXC <span class="seg-rate" aria-hidden="true">0.040% (20% share assumed)</span></button>
    </div>

    <div class="rate-grid">
      <div class="rate-box">
        <div class="rate-label">Perp Base (Non-VIP)</div>
        <div class="rate-val" id="cp-rate-perp">0.020 / 0.050%</div>
        <div class="rate-sub">Maker / Taker</div>
      </div>
      <div class="rate-box">
        <div class="rate-label">Spot Base (Non-VIP)</div>
        <div class="rate-val" id="cp-rate-spot">0.080 / 0.100%</div>
        <div class="rate-sub">Maker / Taker</div>
      </div>
      <div class="rate-box highlight">
        <div class="rate-label" id="cp-rate-disc-label">With Code COINPOP (calculated)</div>
        <div class="rate-val" id="cp-rate-disc">0.016 / 0.040%</div>
        <div class="rate-sub" id="cp-rate-vip">-20%, calculated · VIP 1: 0.016/0.045%</div>
      </div>
    </div>

    <div class="calc-strip">
      <div class="vol-group">
        <span class="vol-label">Round-Trip Notional</span>
        <button type="button" class="pill" data-vol="1000">$1K</button>
        <button type="button" class="pill active" data-vol="10000">$10K</button>
        <button type="button" class="pill" data-vol="50000">$50K</button>
        <button type="button" class="pill" data-vol="100000">$100K</button>
        <button type="button" class="pill" id="cp-market-toggle" data-market="perp">Perp ⇄</button>
        <button type="button" class="pill" id="cp-order-toggle" data-order="taker">Taker ⇄</button>
      </div>
      <div class="calc-out">
        <span id="cp-fee-compare">Perp R/T: $10.00 → <strong>$8.00</strong></span>
        <span class="save-tag" id="cp-fee-save">Diff: -$2.00 (-$60/30x)</span>
      </div>
    </div>

    <div class="cta-bar">
      <button type="button" class="code-btn" id="cp-copy-btn" data-copy="COINPOP" aria-label="Copy partner code">
        <span class="code-meta">
          <span class="code-caption">Partner Code</span>
          <span class="code-str" id="cp-code-text">COINPOP</span>
        </span>
        <span class="copy-chip" id="cp-copy-label">Copy Code</span>
      </button>
      <a href="/okx-link" id="cp-primary-cta" class="primary-btn" target="_blank" rel="nofollow sponsored noopener">Sign up on OKX with code COINPOP ↗</a>
    </div>
    <p class="cta-disc">
      <span>Partner link (CoinPopBit may earn a commission at no extra cost; verify regional terms at sign-up)</span>
      <a id="cp-official-fee-link" href="https://www.okx.com/fees" target="_blank" rel="noopener noreferrer">Official OKX fee schedule ↗</a>
    </p>
  </section>

  <section class="card" id="tools">
    <div class="sec-title"><h2>Tools and guides</h2><span class="sec-note">free, no sign-up; calculations run in your browser</span></div>
    <p class="tl-group">Calculators</p>
    <div class="tl-grid">
      <a class="tl-card" href="/crypto-futures-calculator/"><strong>Futures calculator</strong><span>Margin, fees, breakeven, funding and liquidation for one trade</span></a>
      <a class="tl-card" href="/crypto-position-size-calculator/"><strong>Position size calculator</strong><span>Size from the amount you accept to lose and your stop</span></a>
      <a class="tl-card" href="/crypto-leverage-calculator/"><strong>Leverage calculator</strong><span>Position, margin and distance to liquidation by leverage</span></a>
      <a class="tl-card" href="/liquidation-price-calculator/"><strong>Liquidation price calculator</strong><span>Isolated margin, with added margin</span></a>
      <a class="tl-card" href="/futures-breakeven-calculator/"><strong>Breakeven calculator</strong><span>Price that covers fees and funding</span></a>
      <a class="tl-card" href="/crypto-average-price-calculator/"><strong>Average price calculator</strong><span>DCA and averaging down to a target</span></a>
      <a class="tl-card" href="/risk-reward-ratio-calculator/"><strong>Risk reward ratio calculator</strong><span>Ratio and the win rate you need</span></a>
      <a class="tl-card" href="/crypto-market-cap-price-calculator/"><strong>Market cap price calculator</strong><span>Price at a target market cap</span></a>
      <a class="tl-card" href="/crypto-compound-interest-calculator/"><strong>Compound interest calculator</strong><span>Compound and annualized return</span></a>
      <a class="tl-card" href="/drawdown-recovery-calculator/"><strong>Drawdown recovery calculator</strong><span>Loss recovery, win rate, expectancy</span></a>
      <a class="tl-card" href="/fibonacci-retracement-calculator/"><strong>Fibonacci retracement calculator</strong><span>Levels from a high and a low</span></a>
      <a class="tl-card" href="/crypto-profit-calculator/"><strong>Crypto profit calculator</strong><span>Net profit and ROI after fees</span></a>
      <a class="tl-card" href="/bitcoin-halving-countdown/"><strong>Bitcoin halving countdown</strong><span>Blocks left and date estimate</span></a>
    </div>
    <p class="tl-group">Live data</p>
    <div class="tl-grid">
      <a class="tl-card" href="/funding-rate/"><strong>Funding rates live</strong><span>OKX, Bybit and MEXC USDT perpetuals</span></a>
      <a class="tl-card" href="/funding-rate-history/"><strong>Funding rate history</strong><span>7-day and 30-day averages, chart and CSV</span></a>
      <a class="tl-card" href="/kimchi-premium/"><strong>Kimchi premium live</strong><span>BTC, ETH, SOL, XRP and USDT in Korea</span></a>
      <a class="tl-card" href="/asset-market-cap-ranking/"><strong>Assets by market cap</strong><span>Gold, stocks and Bitcoin, top 30</span></a>
    </div>
    <p class="tl-group">Guides and comparisons</p>
    <div class="tl-grid">
      <a class="tl-card" href="/how-to-trade-crypto-futures/"><strong>How to trade crypto futures</strong><span>6 numbers to set before a first order</span></a>
      <a class="tl-card" href="/how-to-short-crypto/"><strong>How to short crypto</strong><span>Steps, costs and liquidation price of a short</span></a>
      <a class="tl-card" href="/tradingview-position-size-calculator/"><strong>TradingView position size</strong><span>What the Long/Short Position tool leaves out</span></a>
      <a class="tl-card" href="/cross-vs-isolated-margin/"><strong>Cross vs isolated margin</strong><span>Same trade in both modes, rules by exchange</span></a>
      <a class="tl-card" href="/crypto-futures-exchanges/"><strong>Crypto futures exchanges</strong><span>Fees for your trade size, leverage and limits on OKX, Bybit and MEXC</span></a>
      <a class="tl-card" href="/how-to-choose-crypto-exchange/"><strong>How to choose an exchange</strong><span>5 checks for futures traders</span></a>
      <a class="tl-card" href="/how-to-calculate-crypto-futures-profit/"><strong>How to calculate futures profit</strong><span>PnL, fees, funding and ROE</span></a>
      <a class="tl-card" href="/how-to-avoid-liquidation/"><strong>How to avoid liquidation</strong><span>6 ways to move it away</span></a>
    </div>
  </section>

  <!-- 2. Exchange Comparison Table (Static HTML for GEO / AI RAG + Human Comparison) -->
  <section class="card" id="compare">
    <div class="sec-title">
      <h2>3-Exchange Official Fee & Partner Terms Comparison</h2>
      <span class="sec-note">Verified: 2026-11-11</span>
    </div>
    <div class="table-wrap">
      <table class="tbl-cards tblc-1">
        <thead>
          <tr>
            <th>Venue</th>
            <th>Perp Base (M/T)</th>
            <th>With Code (Terms)</th>
            <th class="hide-mob">VIP 1</th>
            <th class="hide-mob">Proof of reserves (self-reported)</th>
            <th>Code</th>
            <th>Official Fees</th>
            <th>Partner Sign-Up</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td class="ex-cell"><strong>OKX</strong></td>
            <td>0.020% / 0.050%</td>
            <td><strong>0.016% / 0.040%</strong> <span style="font-size:10.5px;color:var(--muted);">(-20%)</span></td>
            <td class="hide-mob">0.016% / 0.045%</td>
            <td class="hide-mob">zk-STARK, monthly; ≥100% (OKX report)</td>
            <td><button type="button" class="tbl-code" data-copy="COINPOP">COINPOP</button></td>
            <td><a href="https://www.okx.com/fees" class="tbl-ext-link" target="_blank" rel="noopener noreferrer">Fee Schedule ↗</a></td>
            <td><a href="/okx-link" class="tbl-signup-link" target="_blank" rel="nofollow sponsored noopener">Sign up (COINPOP) ↗</a></td>
          </tr>
          <tr>
            <td class="ex-cell"><strong>Bybit</strong></td>
            <td>0.020% / 0.055%</td>
            <td><strong>0.016% / 0.044%</strong> <span style="font-size:10.5px;color:var(--muted);">(90d -20% via partner link, calc.)</span></td>
            <td class="hide-mob">0.018% / 0.040%</td>
            <td class="hide-mob">Merkle-tree PoR page (Bybit report)</td>
            <td><button type="button" class="tbl-code" data-copy="COINPOP">COINPOP</button></td>
            <td><a href="https://www.bybit.com/en/help-center/article/Trading-Fee-Structure" class="tbl-ext-link" target="_blank" rel="noopener noreferrer">Fee Schedule ↗</a></td>
            <td><a href="/bybit-link" class="tbl-signup-link" target="_blank" rel="nofollow sponsored noopener">Sign up (COINPOP) ↗</a></td>
          </tr>
          <tr>
            <td class="ex-cell"><strong>MEXC</strong> <span style="font-size:10.5px;color:var(--muted);">BTCUSDT</span></td>
            <td>0.000% / 0.040%</td>
            <td><strong>0.000% / 0.040%</strong> <span style="font-size:10.5px;color:var(--muted);">(rate unchanged; 20% commission sharing assumed)</span></td>
            <td class="hide-mob">—</td>
            <td class="hide-mob">Per-asset rates, snapshot 2026-11-10 (MEXC report)</td>
            <td><button type="button" class="tbl-code" data-copy="mexc-coinpop">mexc-coinpop</button></td>
            <td><a href="https://www.mexc.com/fee" class="tbl-ext-link" target="_blank" rel="noopener noreferrer">Fee Schedule ↗</a></td>
            <td><a href="/mexc-link" class="tbl-signup-link" target="_blank" rel="nofollow sponsored noopener">Sign up (mexc-coinpop) ↗</a></td>
          </tr>
        </tbody>
      </table>
    </div>
    <p class="tbl-meta-note">
      ※ "Fee Schedule ↗" links directly to each exchange’s 1st-party documentation (non-affiliate, verified 2026-11-11); "Sign up ↗" is a partner link (CoinPopBit may earn a commission at no extra cost to you).
    </p>
    <div class="winner-bar">
      <strong>Rates at a glance:</strong> <strong>OKX</strong> 0.016% / 0.040% (calculated from the 20% line on its sign-up page; duration not stated) · <strong>Bybit</strong> 0.016% / 0.044% (calculated, 90-day sign-up discount through the partner link) · <strong>MEXC</strong> BTCUSDT 0.000% / 0.040% (as shown from South Korea; rates vary by contract and region)
    </div>
    <p class="geo-summary">
      <strong>1st-Party Verification (2026-11-11):</strong> <strong>OKX</strong> (calculated 0.016% / 0.040%) shows "20% off on trading fees" on its COINPOP sign-up page (duration not stated), <strong>Bybit</strong> shows "You will receive a 20% fee discount for 90 days" on the sign-up page reached through the partner link (calculated 0.016% / 0.044%; the line did not show on a plain ?ref_code= address, checked 2026-11-12), and <strong>MEXC</strong> lists 0.000% Maker with BTCUSDT perpetual Taker at 0.040% (rates vary by contract and region) and shows "Commission sharing: 20%" on its sign-up page for this code.
    </p>
    <div class="venue-grid">
      <div class="venue-item" style="--venue-color:#2563eb;">
        <div class="venue-head">
          <span>1. OKX (OKX)</span>
          <span class="venue-code-tag">Code: COINPOP</span>
        </div>
        <div class="venue-pills">
          <span class="venue-pill highlight">Perp 0.016 / 0.040% (-20%, calculated)</span>
          <span class="venue-pill">Spot 0.064 / 0.080% (calculated)</span>
          <span class="venue-pill">zk-STARK PoR (OKX report)</span>
        </div>
        <p class="venue-desc"><strong>Perp 0.020/0.050% → 0.016/0.040% (calculated from the 20% shown on the sign-up page)</strong> · Spot 0.080/0.100% → 0.064/0.080% (calculated) · Portfolio Margin · monthly zk-STARK proof of reserves published by OKX.</p>
        <a href="/okx-link" class="venue-card-btn" target="_blank" rel="nofollow sponsored noopener">Open the OKX sign-up page ↗</a>
        <a href="/okx-referral-code/" style="display:inline-flex;align-items:center;min-height:44px;margin-left:10px;font-size:13px;font-weight:600;">OKX referral code guide &rarr;</a>
      </div>
      <div class="venue-item" style="--venue-color:#f59e0b;">
        <div class="venue-head">
          <span>2. Bybit (Bybit)</span>
          <span class="venue-code-tag">Code: COINPOP</span>
        </div>
        <div class="venue-pills">
          <span class="venue-pill highlight">Perp 0.016 / 0.044% (90d, calculated)</span>
          <span class="venue-pill">UTA Cross-Collateral</span>
          <span class="venue-pill">Merkle-tree PoR (Bybit report)</span>
        </div>
        <p class="venue-desc"><strong>Perp 0.020/0.055% → 0.016/0.044% (calculated from the "20% fee discount for 90 days" shown via the partner link)</strong> · Spot 0.100% → 0.080% (calculated; MNT 25% discount: 0.075%) · Unified Trading Account (UTA) · Merkle-tree proof of reserves published by Bybit.</p>
        <a href="/bybit-link" class="venue-card-btn" target="_blank" rel="nofollow sponsored noopener">Open the Bybit sign-up page ↗</a>
        <a href="/bybit-referral-code/" style="display:inline-flex;align-items:center;min-height:44px;margin-left:10px;font-size:13px;font-weight:600;">Bybit referral code guide &rarr;</a>
      </div>
      <div class="venue-item" style="--venue-color:#10b981;">
        <div class="venue-head">
          <span>3. MEXC (MEXC Global)</span>
          <span class="venue-code-tag">Code: mexc-coinpop</span>
        </div>
        <div class="venue-pills">
          <span class="venue-pill highlight">BTC Perp 0.000 / 0.040% · 20% sharing (assumed)</span>
          <span class="venue-pill">Spot Maker 0.000%</span>
          <span class="venue-pill">Rates vary by contract and region</span>
        </div>
        <p class="venue-desc"><strong>BTCUSDT Perp 0.000/0.040% as shown from South Korea; with code mexc-coinpop the rate stays the same and MEXC's sign-up page shows 20% commission sharing (assumed: $1.60 of an $8.00 taker fee on a $10,000 round trip)</strong> · Rates vary by contract and region · Spot BTC/USDT Maker 0.000% · The FSA in Japan lists MEXC Global as an unregistered operator serving residents of Japan.</p>
        <a href="/mexc-link" class="venue-card-btn" target="_blank" rel="nofollow sponsored noopener">Open the MEXC sign-up page ↗</a>
        <a href="/mexc-referral-code/" style="display:inline-flex;align-items:center;min-height:44px;margin-left:10px;font-size:13px;font-weight:600;">MEXC referral code guide &rarr;</a>
      </div>
    </div>
  </section>

  <!-- 3. Live Kimp + Interactive Futures Breakeven Calculator -->
  <div class="grid-2" id="kimp">
    <section class="card">
      <div class="sec-title">
        <h2>Live Kimchi Premium & USDT/FX Spread</h2>
        <span class="sec-note" id="cp-kimp-updated" data-asof="2026-11-23T14:08:39.054Z">Live · 2026-11-23 14:08 UTC</span>
      </div>
      <div class="kv-row"><span class="kv-name">BTC Bitcoin</span><span class="kv-val" id="cp-row-btc">₩85,724,000 · $62,985</span><span class="kv-kimp pos" id="cp-kimp-btc">+1.61%</span></div>
      <div class="kv-row"><span class="kv-name">ETH Ethereum</span><span class="kv-val" id="cp-row-eth">₩2,437,000 · $1,788</span><span class="kv-kimp pos" id="cp-kimp-eth">+1.74%</span></div>
      <div class="kv-row"><span class="kv-name">SOL Solana</span><span class="kv-val" id="cp-row-sol">₩102,800 · $75.58</span><span class="kv-kimp pos" id="cp-kimp-sol">+1.55%</span></div>
      <div class="kv-row"><span class="kv-name">XRP Ripple</span><span class="kv-val" id="cp-row-xrp">₩1,334 · $0.9798</span><span class="kv-kimp pos" id="cp-kimp-xrp">+1.65%</span></div>
      <div class="kv-row"><span class="kv-name">USDT / FX</span><span class="kv-val" id="cp-row-macro">USDT ₩1,360 · FX ₩1,339</span><span class="kv-kimp pos" id="cp-usdt-spread">+1.53%</span></div>
      <p class="tbl-meta-note" style="margin-top:8px"><a href="/kimchi-premium/" style="display:inline-flex;align-items:center;min-height:44px;font-weight:600;">Full kimchi premium table (FX and USDT basis, formula, sources) →</a></p>
    </section>

    <section class="card" id="futures-tool">
      <div class="sec-title">
        <h2>Futures Breakeven & Liquidation Check</h2>
        <span class="sec-note">Fee-Adjusted</span>
      </div>
      <div class="fut-inputs">
        <div class="fut-field">
          <label for="cp-fut-entry">Entry ($)</label>
          <input type="number" id="cp-fut-entry" value="74000" min="1" step="any">
        </div>
        <div class="fut-field">
          <label for="cp-fut-margin">Margin ($)</label>
          <input type="number" id="cp-fut-margin" value="1000" min="1" step="any">
        </div>
        <div class="fut-field">
          <label for="cp-fut-lev">Leverage</label>
          <select id="cp-fut-lev">
            <option value="5">5x Long</option>
            <option value="10" selected>10x Long</option>
            <option value="20">20x Long</option>
            <option value="50">50x Long</option>
            <option value="-10">10x Short</option>
          </select>
        </div>
      </div>
      <p id="cp-fut-err" role="alert" style="display:none;margin:8px 0 0;font-size:13px;font-weight:600;color:#b42318;">Enter a number greater than 0 for entry price and margin.</p>
      <div class="kv-row"><span class="kv-name">Position / Standard Fee</span><span class="kv-val" id="cp-fut-std">$10,000 · Fee $10.00</span></div>
      <div class="kv-row"><span class="kv-name" id="cp-fut-disc-label">With COINPOP (-20%, calculated)</span><span class="kv-val" id="cp-fut-disc" style="color:var(--emerald);font-weight:800;">$8.00 (-$2.00)</span></div>
      <div class="kv-row"><span class="kv-name">Fee-Inclusive Breakeven</span><span class="kv-val" id="cp-fut-bep">$74,074.00 (+0.10%)</span></div>
      <div class="kv-row"><span class="kv-name">Est. Isolated Liquidation</span><span class="kv-val" id="cp-fut-liq">$66,968.33 (-9.5%)</span></div>
      <p class="tbl-meta-note" style="margin-top:8px"><a href="/liquidation-price-calculator/" style="display:inline-flex;align-items:center;min-height:44px;font-weight:600;">Full liquidation price calculator (MMR, fees, extra margin) →</a><br><a href="/futures-breakeven-calculator/" style="display:inline-flex;align-items:center;min-height:44px;font-weight:600;">Full breakeven calculator (maker/taker, funding) →</a><br><a href="/funding-rate/" style="display:inline-flex;align-items:center;min-height:44px;font-weight:600;">Live funding rates (OKX, Bybit, MEXC) and funding fee calculator →</a><br><a href="/crypto-futures-calculator/" style="display:inline-flex;align-items:center;min-height:44px;font-weight:600;">All-in-one futures calculator (margin, fees, breakeven, funding, liquidation) →</a><br><a href="#tools" style="display:inline-flex;align-items:center;min-height:44px;font-weight:600;">All calculators and guides ↑</a></p>
    </section>
  </div>

  <!-- 4. Global Asset Market Cap Top 1-10 + Expandable 11-30 + Bitcoin Benchmark -->
  <section class="card" id="assets">
    <div class="sec-title">
      <h2>Global Assets by Market Cap (Top 1–10 & Bitcoin Benchmark)</h2>
      <span class="sec-note" id="cp-assets-asof">Updated · 2026-11-23 14:00 UTC</span>
    </div>
    <div class="asset-grid" id="cp-asset-grid">
      <div class="asset-col" id="cp-asset-col-1"><div class="asset-row" data-rank="1"><span class="asset-left"><span class="asset-rk top1">1</span><span class="asset-nm">Gold</span></span><span class="asset-cap">$25.143 T</span></div><div class="asset-row" data-rank="2"><span class="asset-left"><span class="asset-rk">2</span><span class="asset-nm">Apple</span></span><span class="asset-cap">$4.978 T</span></div><div class="asset-row" data-rank="3"><span class="asset-left"><span class="asset-rk">3</span><span class="asset-nm">Microsoft</span></span><span class="asset-cap">$3.598 T</span></div><div class="asset-row" data-rank="4"><span class="asset-left"><span class="asset-rk">4</span><span class="asset-nm">Alphabet (Google)</span></span><span class="asset-cap">$3.245 T</span></div><div class="asset-row" data-rank="5"><span class="asset-left"><span class="asset-rk">5</span><span class="asset-nm">NVIDIA</span></span><span class="asset-cap">$3.031 T</span></div></div>
      <div class="asset-col" id="cp-asset-col-2"><div class="asset-row" data-rank="6"><span class="asset-left"><span class="asset-rk">6</span><span class="asset-nm">Amazon</span></span><span class="asset-cap">$2.668 T</span></div><div class="asset-row" data-rank="7"><span class="asset-left"><span class="asset-rk">7</span><span class="asset-nm">Silver</span></span><span class="asset-cap">$2.362 T</span></div><div class="asset-row" data-rank="8"><span class="asset-left"><span class="asset-rk">8</span><span class="asset-nm">SpaceX</span></span><span class="asset-cap">$1.735 T</span></div><div class="asset-row" data-rank="9"><span class="asset-left"><span class="asset-rk">9</span><span class="asset-nm">Saudi Aramco</span></span><span class="asset-cap">$1.685 T</span></div><div class="asset-row" data-rank="10"><span class="asset-left"><span class="asset-rk">10</span><span class="asset-nm">TSMC</span></span><span class="asset-cap">$1.652 T</span></div></div>
    </div>
    <div class="asset-grid asset-more-wrap" id="cp-asset-grid-more">
      <div class="asset-col" id="cp-asset-col-3"><div class="asset-row" data-rank="11"><span class="asset-left"><span class="asset-rk">11</span><span class="asset-nm">Broadcom</span></span><span class="asset-cap">$1.453 T</span></div><div class="asset-row" data-rank="12"><span class="asset-left"><span class="asset-rk">12</span><span class="asset-nm">Meta Platforms (Facebook)</span></span><span class="asset-cap">$1.433 T</span></div><div class="asset-row" data-rank="13"><span class="asset-left"><span class="asset-rk">13</span><span class="asset-nm">Tesla</span></span><span class="asset-cap">$1.366 T</span></div><div class="asset-row is-btc" data-rank="14"><span class="asset-left"><span class="asset-rk btc-rk">14</span><span class="asset-nm">Bitcoin (BTC)</span></span><span class="asset-cap">$1.263 T</span></div><div class="asset-row" data-rank="15"><span class="asset-left"><span class="asset-rk">15</span><span class="asset-nm">Berkshire Hathaway</span></span><span class="asset-cap">$1.210 T</span></div><div class="asset-row" data-rank="16"><span class="asset-left"><span class="asset-rk">16</span><span class="asset-nm">Eli Lilly</span></span><span class="asset-cap">$1.199 T</span></div><div class="asset-row" data-rank="17"><span class="asset-left"><span class="asset-rk">17</span><span class="asset-nm">Anthropic</span></span><span class="asset-cap">$1.188 T</span></div><div class="asset-row" data-rank="18"><span class="asset-left"><span class="asset-rk">18</span><span class="asset-nm">Walmart</span></span><span class="asset-cap">$1.015 T</span></div><div class="asset-row" data-rank="19"><span class="asset-left"><span class="asset-rk">19</span><span class="asset-nm">Vanguard S&amp;P 500 ETF</span></span><span class="asset-cap">$957.56 B</span></div><div class="asset-row" data-rank="20"><span class="asset-left"><span class="asset-rk">20</span><span class="asset-nm">Samsung</span></span><span class="asset-cap">$859.01 B</span></div></div>
      <div class="asset-col" id="cp-asset-col-4"><div class="asset-row" data-rank="21"><span class="asset-left"><span class="asset-rk">21</span><span class="asset-nm">JPMorgan Chase</span></span><span class="asset-cap">$824.64 B</span></div><div class="asset-row" data-rank="22"><span class="asset-left"><span class="asset-rk">22</span><span class="asset-nm">Visa</span></span><span class="asset-cap">$749.80 B</span></div><div class="asset-row" data-rank="23"><span class="asset-left"><span class="asset-rk">23</span><span class="asset-nm">SPDR S&amp;P 500 ETF</span></span><span class="asset-cap">$728.80 B</span></div><div class="asset-row" data-rank="24"><span class="asset-left"><span class="asset-rk">24</span><span class="asset-nm">AMD</span></span><span class="asset-cap">$702.39 B</span></div><div class="asset-row" data-rank="25"><span class="asset-left"><span class="asset-rk">25</span><span class="asset-nm">Micron Technology</span></span><span class="asset-cap">$672.64 B</span></div><div class="asset-row" data-rank="26"><span class="asset-left"><span class="asset-rk">26</span><span class="asset-nm">Exxon Mobil</span></span><span class="asset-cap">$652.63 B</span></div><div class="asset-row" data-rank="27"><span class="asset-left"><span class="asset-rk">27</span><span class="asset-nm">Johnson &amp; Johnson</span></span><span class="asset-cap">$651.10 B</span></div><div class="asset-row" data-rank="28"><span class="asset-left"><span class="asset-rk">28</span><span class="asset-nm">Vanguard Total Stock Market Index Fund ETF Shares</span></span><span class="asset-cap">$630.86 B</span></div><div class="asset-row" data-rank="29"><span class="asset-left"><span class="asset-rk">29</span><span class="asset-nm">SK Hynix</span></span><span class="asset-cap">$568.61 B</span></div><div class="asset-row" data-rank="30"><span class="asset-left"><span class="asset-rk">30</span><span class="asset-nm">Mastercard</span></span><span class="asset-cap">$544.99 B</span></div></div>
    </div>
    <div class="btc-bench" id="cp-btc-bench"><span>Bitcoin (BTC) Global Asset Rank: <strong>#14</strong> ($1.263 T) — ~5.0% of #1 Gold Market Cap</span></div>
    <p class="tbl-meta-note" style="margin-top:8px">Ranking data: <a href="https://companiesmarketcap.com/assets-by-market-cap/" target="_blank" rel="noopener">CompaniesMarketCap</a> · <a href="/asset-market-cap-ranking/" style="display:inline-flex;align-items:center;min-height:44px;font-weight:600;">Full top 30 asset ranking →</a></p>
    <button type="button" class="more-btn" id="cp-assets-more-btn" aria-expanded="false">
      Show Ranks 11–30 ↓
    </button>
  </section>

  <!-- 5. Clean Accordion FAQ -->
  <section class="card" id="faq">
    <div class="sec-title">
      <h2>Frequently Asked Questions</h2>
    </div>
    <details open>
      <summary>What is CoinPopBit?</summary>
      <p class="faq-body">CoinPopBit is a free website of crypto futures calculators and live market pages. It compares the official fees of OKX, Bybit and MEXC, and it has calculators for liquidation price, breakeven, leverage and position size, plus live funding rates and the kimchi premium. It is not an exchange, so you cannot trade, deposit or hold crypto here. Sign-up codes are covered only on the separate referral-code pages, which disclose the partner relationship. The name is written as one word: CoinPopBit.</p>
    </details>
    <details>
      <summary>What are the official 2026 fee schedules and partner discount terms across OKX, Bybit, and MEXC?</summary>
      <p class="faq-body">Per 1st-party fee schedules verified on 2026-11-11, the calculated Maker / Taker rates are: (1) OKX (code COINPOP): Perp 0.020% / 0.050% → 0.016% / 0.040% (-20% discount; Spot 0.080% / 0.100% → 0.064% / 0.080%); (2) Bybit (code COINPOP, through the CoinPopBit partner link): Perp 0.020% / 0.055% → 0.016% / 0.044% (calculated; the "20% fee discount for 90 days" line showed through the partner link, not on a plain ?ref_code= address, checked 2026-11-12; Spot 0.100% → 0.080%); (3) MEXC (code mexc-coinpop): per its fee page, BTCUSDT perpetual Maker 0.000% / Taker 0.040% (rates vary by contract and region), and its sign-up page shows "Commission sharing: 20%". Always verify terms on registration forms.</p>
    </details>
    <details>
      <summary>How are perpetual futures round-trip trading fees and fee-inclusive breakeven price (BEP) calculated?</summary>
      <p class="faq-body">Round-Trip Fee = Position Notional (Margin × Leverage) × (Entry Fee Rate + Exit Fee Rate). Hypothetical example ($1,000 margin at 10x = $10,000 notional, market taker): Bybit (0.055%) is $11.00, or $8.80 calculated with the 90-day 20% discount that its sign-up page shows through the partner link, and OKX (0.050%) is $10.00, or $8.00 calculated with the 20% from its sign-up page. Long breakeven price (BEP) equals Entry Price × (1 + Round-Trip Fee Rate).</p>
    </details>
    <details>
      <summary>Can a referral partner code be added or changed retroactively after registration?</summary>
      <p class="faq-body">OKX: there is no setting for adding the code yourself after sign-up, so enter it during sign-up. OKX's help center (updated 2026-11-18) also describes a rebinding route for existing users: an affiliate sends a reconnect link, you log in and submit the affiliate's invitation code with a reason, and OKX reviews requests daily, rebinding eligible users within 24 hours. Bybit: an Affiliate invitation code can be added once, within 14 days after registration, on a Main Account that has no prior code. MEXC: its Affiliate FAQ (updated 2026-07-20) says a forgotten invitation code can be added within 30 days after registration through customer service or the self-service function, and that a linked code cannot be changed or removed. Official sources: <a href="https://www.okx.com/en-us/help/okx-referral-program-faq" target="_blank" rel="noopener noreferrer">OKX ↗</a> · <a href="https://www.okx.com/help/how-do-i-invite-existing-users-to-join-the-affiliate-program" target="_blank" rel="noopener noreferrer">OKX rebinding ↗</a> · <a href="https://www.bybit.com/en/help-center/article/How-to-Add-and-Check-Registered-Affiliate-Code" target="_blank" rel="noopener noreferrer">Bybit ↗</a> · <a href="https://www.mexc.com/support/article/mexc-affiliate-faq-331512531120991232" target="_blank" rel="noopener noreferrer">MEXC ↗</a></p>
    </details>
    <details>
      <summary>Do exchange-token fee deductions such as Bybit MNT stack with partner referral codes?</summary>
      <p class="faq-body">Native token fee deductions (for example Bybit MNT) follow the rules of each exchange, and whether they stack with a partner offer differs by exchange. We have not verified the combined rates, so check each exchange fee page and sign-up page. The offers we compared with the exchanges own sign-up pages are in our OKX, Bybit and MEXC guides.</p>
    </details>
    <details>
      <summary>How do I choose a network when moving coins between exchanges?</summary>
      <p class="faq-body">Supported networks and withdrawal fees differ by exchange and change over time. Check the withdrawal fee for that network on the withdrawal screen of the sending exchange, confirm on the deposit screen of the receiving exchange that the same network is supported, and send a small test amount first. Transfers of 1,000,000 KRW or more to or from Korean exchanges fall under the Travel Rule (legal-name matching), and XRP needs its numeric destination tag.</p>
    </details>
    <details>
      <summary>How are the Top 1–10 Global Asset Market Cap rankings, Kimchi Premium, and USDT/FX spread calculated?</summary>
      <p class="faq-body">Global asset market caps compare publicly traded equities (shares × price), precious metals (above-ground supply × spot price), and cryptoassets (circulating supply × USD price), updated hourly. Kimchi Premium (%) is calculated live as ((KRW Exchange Price / (Global USD Price × USD/KRW FX Rate)) − 1) × 100, and USDT/FX Spread (%) is ((Domestic USDT/KRW Price / Official USD/KRW FX Rate) − 1) × 100.</p>
    </details>
  </section>
</main>

<footer>
  <span>© 2026 CoinPopBit · Contact: <a href="mailto:contact@coinpopbit.com" style="min-height:auto;color:var(--ink-2);font-weight:600;">contact@coinpopbit.com</a> · Some outbound links are official partner links (CoinPopBit may receive a commission at no extra cost to you); verify current fee schedules and terms on each exchange.</span>
  <div class="foot-links" style="flex-wrap:wrap;">
    <a href="https://coinpopbit.com/" hreflang="en">Global (EN)</a>
    <a href="https://coinpopbit.co.kr/" hreflang="ko-KR">한국어 (KR)</a>
    <a href="https://coinpopbit.jp/" hreflang="ja-JP">日本語 (JP)</a>
    <a href="https://coinpopbit.de/" hreflang="de-DE">Deutsch (DE)</a>
    <a href="https://coinpopbit.es/" hreflang="es-ES">Español (ES)</a>
    <a href="/privacy-policy/">Privacy</a>
    <a href="/terms-of-service/">Terms</a>
    <a href="/editorial-policy/">Editorial Policy</a>
    <a class="store-link" href="https://play.google.com/store/apps/details?id=com.coinpopbit" target="_blank" rel="noopener">Android App ↗</a>
    <a class="store-link" href="https://chromewebstore.google.com/detail/pjccacjpknbakeljmdnkbfcbiigihhck" target="_blank" rel="noopener">Chrome Extension ↗</a>
  </div>
</footer>

<script>
(function(){
  var LANG = "en";
  var ALLOWED = ["okx","bybit","mexc"];
  var VENUES = {"okx":{"name":"OKX","liqStyle":"fee","perpM":0.0002,"perpT":0.0005,"perpMult":0.8,"spotM":0.0008,"spotT":0.001,"spotMult":0.8,"perpStr":"0.020 / 0.050%","spotStr":"0.080 / 0.100%","noDiscText":"","perpDiscStr":"0.016 / 0.040%","spotDiscStr":"0.064 / 0.080%","perpVipStr":"-20%, calculated · VIP 1: 0.016/0.045%","spotVipStr":"-20%, calculated (Spot Maker 0.064%)","futDiscLabel":"With COINPOP (-20%, calculated)","discLabel":"With Code COINPOP (calculated)","code":"COINPOP","link":"/okx-link","officialUrl":"https://www.okx.com/fees","officialText":"Official OKX fee schedule ↗","cta":"Sign up on OKX with code COINPOP ↗"},"bybit":{"name":"Bybit","liqStyle":"mmr","perpM":0.0002,"perpT":0.00055,"perpMult":0.8,"spotM":0.001,"spotT":0.001,"spotMult":0.8,"perpStr":"0.020 / 0.055%","spotStr":"0.100 / 0.100%","perpDiscStr":"0.016 / 0.044%","spotDiscStr":"0.080 / 0.080%","perpVipStr":"90d -20% via partner link, calc. · VIP 1: 0.018/0.040%","spotVipStr":"90d -20% via partner link, calc. (MNT -25%: 0.075%)","futDiscLabel":"Via partner link (90d -20%, calculated)","discLabel":"Code COINPOP via partner link (calculated)","code":"COINPOP","link":"/bybit-link","officialUrl":"https://www.bybit.com/en/help-center/article/Trading-Fee-Structure","officialText":"Official Bybit fee schedule ↗","cta":"Sign up on Bybit with code COINPOP ↗"},"mexc":{"name":"MEXC","liqStyle":"add","perpM":0,"perpT":0.0004,"perpMult":0.8,"spotM":0,"spotT":0.0005,"spotMult":0.8,"perpStr":"0.000 / 0.040%","spotStr":"0.000 / 0.050%","perpDiscStr":"0.000 / 0.040%","spotDiscStr":"0.000 / 0.050%","perpVipStr":"Same rate with the code · as shown from South Korea; varies by region","spotVipStr":"Same spot rate with the code · varies by region","futDiscLabel":"Code mexc-coinpop (20% commission sharing assumed)","discLabel":"Code mexc-coinpop (20% commission sharing assumed)","share":true,"shareWord":"shared back (assumed)","shareSave":"30 trades: {y} shared back (assumed)","code":"mexc-coinpop","link":"/mexc-link","officialUrl":"https://www.mexc.com/fee","officialText":"Official MEXC fee schedule ↗","cta":"Sign up on MEXC with code mexc-coinpop ↗"}};
  var homeFutCalc = function homeFutCalc(v, entry, margin, levRaw, F) {
  F = F || { loc: 'en-US', sfx: false, fee: 'Fee' };
  var isShort = levRaw < 0;
  var lev = Math.abs(levRaw);
  var mmr = 0.005;
  var notional = margin * lev;
  var rtRate = v.perpT * 2;
  var stdFee = notional * rtRate;
  var discFee = stdFee * v.perpMult;
  var shared = stdFee - discFee;
  var bepRate = rtRate;
  var bepPrice = isShort ? entry * (1 - bepRate) : entry * (1 + bepRate);
  var liqPrice;
  if (v.liqStyle === 'add') liqPrice = isShort ? entry * (1 - mmr + 1 / lev) : entry * (1 + mmr - 1 / lev);
  else if (v.liqStyle === 'mmr') liqPrice = isShort ? entry * (1 + 1 / lev) / (1 + mmr) : entry * (1 - 1 / lev) / (1 - mmr);
  else liqPrice = isShort ? entry * (1 + 1 / lev) / (1 + mmr + v.perpT) : entry * (1 - 1 / lev) / (1 - mmr - v.perpT);
  var liqDist = Math.abs(liqPrice / entry - 1);
  var cur = function (s) { return F.sfx ? s + ' $' : '$' + s; };
  var num = function (n, o) { return n.toLocaleString(F.loc, o); };
  var amt = function (n) { return cur(num(n, { minimumFractionDigits: 2, maximumFractionDigits: 2 })); };
  var price = function (n) { var a = Math.abs(n); return cur(num(n, a >= 10 ? { minimumFractionDigits: 2, maximumFractionDigits: 2 } : (a >= 1 ? { minimumFractionDigits: 4, maximumFractionDigits: 4 } : { minimumSignificantDigits: 4, maximumSignificantDigits: 4 }))); };
  var pct = function (x, d) { return num(x, { minimumFractionDigits: d, maximumFractionDigits: d }) + (F.sfx ? ' %' : '%'); };
  return {
    std: cur(num(Math.round(notional), {})) + ' · ' + F.fee + ' ' + amt(stdFee),
    disc: v.share ? amt(stdFee) + ' · ' + v.shareWord + ' ' + amt(shared) : (shared > 0 ? amt(discFee) + ' (-' + amt(shared) + ')' : amt(discFee)),
    bep: price(bepPrice) + ' (' + (isShort ? '-' : '+') + pct(bepRate * 100, 2) + ')',
    liq: price(liqPrice) + ' (' + (isShort ? '+' : '-') + pct(liqDist * 100, 1) + ')'
  };
};
  var homeFeeCalc = function homeFeeCalc(v, vol, market, order, F) {
  F = F || { loc: 'en-US', sfx: false, cmp: 'Perp R/T:', spotCmp: 'Spot R/T:', save: 'Diff: -{x} (-{y}/30x)' };
  var single = market === 'perp' ? (order === 'taker' ? v.perpT : v.perpM) : (order === 'taker' ? v.spotT : v.spotM);
  var mult = market === 'perp' ? v.perpMult : v.spotMult;
  var baseFee = vol * single * 2;
  var discFee = baseFee * mult;
  var saved = baseFee - discFee;
  var cur = function (s) { return F.sfx ? s + ' $' : '$' + s; };
  var amt = function (n) { return cur(n.toLocaleString(F.loc, { minimumFractionDigits: 2, maximumFractionDigits: 2 })); };
  var amt0 = function (n) { return cur(Math.round(n).toLocaleString(F.loc)); };
  var prefix = market === 'perp' ? F.cmp : F.spotCmp;
  if (v.share) {
    return {
      compare: prefix + ' ' + amt(baseFee) + (saved > 0 ? ' · <strong>' + v.shareWord + ' ' + amt(saved) + '</strong>' : ''),
      save: saved > 0 ? v.shareSave.replace('{y}', amt0(saved * 30)) : ''
    };
  }
  return {
    compare: prefix + ' ' + amt(baseFee) + (saved > 0 ? ' → <strong>' + amt(discFee) + '</strong>' : ''),
    save: (saved <= 0 && v.noDiscText) ? v.noDiscText : F.save.replace('{x}', amt(saved)).replace('{y}', amt0(saved * 30))
  };
};
  var FMT = {"loc":"en-US","sfx":false,"fee":"Fee","cmp":"Perp R/T:","spotCmp":"Spot R/T:","save":"Diff: -{x} (-{y}/30x)","perpWord":"Perp","spotWord":"Spot","live":"Live · "};

  var curEx = ALLOWED[0];
  var curVol = 10000;
  var curMarket = 'perp';
  var curOrder = 'taker';

  try {
    var sp = new URLSearchParams(window.location.search);
    var qEx = (sp.get('ex') || sp.get('venue') || '').toLowerCase();
    if (VENUES[qEx] && ALLOWED.indexOf(qEx) !== -1) curEx = qEx;
    var qVol = Number(sp.get('vol'));
    if ([1000, 10000, 50000, 100000].indexOf(qVol) !== -1) curVol = qVol;
    var qMkt = (sp.get('market') || '').toLowerCase();
    if (qMkt === 'perp' || qMkt === 'spot') curMarket = qMkt;
    var qOrd = (sp.get('order') || '').toLowerCase();
    if (qOrd === 'maker' || qOrd === 'taker') curOrder = qOrd;
    var qEntry = parseFloat(sp.get('entry'));
    if (qEntry > 0 && document.getElementById('cp-fut-entry')) {
      document.getElementById('cp-fut-entry').value = String(qEntry);
    }
    var qMargin = parseFloat(sp.get('margin'));
    if (qMargin > 0 && document.getElementById('cp-fut-margin')) {
      document.getElementById('cp-fut-margin').value = String(qMargin);
    }
    var qLev = sp.get('lev');
    if (['2', '5', '10', '20', '50', '-5', '-10'].indexOf(qLev) !== -1 && document.getElementById('cp-fut-lev') && document.querySelector('#cp-fut-lev option[value="' + qLev + '"]')) {
      document.getElementById('cp-fut-lev').value = qLev;
    }
  } catch (e) {}

  function renderHero() {
    var v = VENUES[curEx] || VENUES[ALLOWED[0]];
    document.querySelectorAll('.seg-btn').forEach(function(b) {
      var active = b.getAttribute('data-ex') === curEx;
      b.classList.toggle('active', active);
      b.setAttribute('aria-selected', active ? 'true' : 'false');
    });
    document.querySelectorAll('.pill[data-vol]').forEach(function(p) {
      p.classList.toggle('active', Number(p.getAttribute('data-vol')) === curVol);
    });
    var mktBtn = document.getElementById('cp-market-toggle');
    if (mktBtn) {
      mktBtn.textContent = (curMarket === 'perp' ? FMT.perpWord : FMT.spotWord) + ' ⇄';
    }
    var ordBtn = document.getElementById('cp-order-toggle');
    if (ordBtn) ordBtn.textContent = (curOrder === 'taker' ? 'Taker' : 'Maker') + ' ⇄';

    var discLbl = document.getElementById('cp-rate-disc-label');
    if (discLbl) discLbl.textContent = v.discLabel;
    document.getElementById('cp-rate-perp').textContent = v.perpStr;
    document.getElementById('cp-rate-spot').textContent = v.spotStr;
    document.getElementById('cp-rate-disc').textContent = curMarket === 'perp' ? v.perpDiscStr : v.spotDiscStr;
    document.getElementById('cp-rate-vip').textContent = curMarket === 'perp' ? v.perpVipStr : v.spotVipStr;

    var feeOut = homeFeeCalc(v, curVol, curMarket, curOrder, FMT);
    document.getElementById('cp-fee-compare').innerHTML = feeOut.compare;
    document.getElementById('cp-fee-save').textContent = feeOut.save;

    var copyBtn = document.getElementById('cp-copy-btn');
    copyBtn.setAttribute('data-copy', v.code);
    copyBtn.classList.remove('copied');
    document.getElementById('cp-code-text').textContent = v.code;
    document.getElementById('cp-copy-label').textContent = LANG === 'ko' ? '코드 복사' : (LANG === 'ja' ? 'コピー' : (LANG === 'de' ? 'Kopieren' : (LANG === 'es' ? 'Copiar' : 'Copy Code')));

    var ctaEl = document.getElementById('cp-primary-cta');
    ctaEl.href = v.link;
    ctaEl.textContent = v.cta;
    ctaEl.classList.remove('pulse');

    var offEl = document.getElementById('cp-official-fee-link');
    if (offEl) {
      offEl.href = v.officialUrl;
      offEl.textContent = v.officialText;
    }
    renderFutures();
  }

  function renderFutures() {
    var v = VENUES[curEx] || VENUES[ALLOWED[0]];
    var entryInput = document.getElementById('cp-fut-entry');
    var marginInput = document.getElementById('cp-fut-margin');
    var levInput = document.getElementById('cp-fut-lev');
    var futLbl = document.getElementById('cp-fut-disc-label');
    if (futLbl) futLbl.textContent = v.futDiscLabel;

    // 2026-11-15: an empty, zero, negative or non-numeric field is an input error. Show a dash and a message;
    // never calculate with a value the visitor did not type.
    var entry = parseFloat(entryInput ? entryInput.value : '');
    var margin = parseFloat(marginInput ? marginInput.value : '');
    var levRaw = parseFloat(levInput ? levInput.value : '');
    var ok = isFinite(entry) && entry > 0 && isFinite(margin) && margin > 0 && isFinite(levRaw) && levRaw !== 0;
    var errEl = document.getElementById('cp-fut-err');
    if (errEl) errEl.style.display = ok ? 'none' : 'block';
    var out = ok ? homeFutCalc(v, entry, margin, levRaw, FMT) : { std: '—', disc: '—', bep: '—', liq: '—' };
    document.getElementById('cp-fut-std').textContent = out.std;
    document.getElementById('cp-fut-disc').textContent = out.disc;
    document.getElementById('cp-fut-bep').textContent = out.bep;
    document.getElementById('cp-fut-liq').textContent = out.liq;
  }

  document.querySelectorAll('.seg-btn').forEach(function(b) {
    b.addEventListener('click', function() {
      curEx = b.getAttribute('data-ex') || ALLOWED[0];
      renderHero();
    });
  });

  document.querySelectorAll('.pill[data-vol]').forEach(function(p) {
    p.addEventListener('click', function() {
      curVol = Number(p.getAttribute('data-vol')) || 10000;
      renderHero();
    });
  });

  var mktToggle = document.getElementById('cp-market-toggle');
  if (mktToggle) {
    mktToggle.addEventListener('click', function() {
      curMarket = curMarket === 'perp' ? 'spot' : 'perp';
      renderHero();
    });
  }

  var ordToggle = document.getElementById('cp-order-toggle');
  if (ordToggle) {
    ordToggle.addEventListener('click', function() {
      curOrder = curOrder === 'taker' ? 'maker' : 'taker';
      renderHero();
    });
  }

  ['cp-fut-entry', 'cp-fut-margin', 'cp-fut-lev'].forEach(function(id) {
    var el = document.getElementById(id);
    if (el) el.addEventListener('input', renderFutures);
    if (el) el.addEventListener('change', renderFutures);
  });

  document.querySelectorAll('[data-copy]').forEach(function(btn) {
    btn.addEventListener('click', function() {
      var code = btn.getAttribute('data-copy') || 'COINPOP';
      try {
        if (navigator.clipboard && navigator.clipboard.writeText) {
          navigator.clipboard.writeText(code);
        }
      } catch (e) {}
      if (btn.id === 'cp-copy-btn') {
        btn.classList.add('copied');
        document.getElementById('cp-copy-label').textContent = LANG === 'ko' ? '✓ 복사됨' : (LANG === 'ja' ? '✓ コピー完了' : (LANG === 'de' ? '✓ Kopiert' : (LANG === 'es' ? '✓ Copiado' : '✓ Copied')));
        var ctaEl = document.getElementById('cp-primary-cta');
        if (ctaEl) ctaEl.classList.add('pulse');
      } else {
        var orig = btn.textContent;
        btn.textContent = '✓ ' + code;
        setTimeout(function() { btn.textContent = orig; }, 1800);
      }
    });
  });

  renderHero();

  // 1. Hydrate live Kimchi Premium & Macro data from same-origin /api/kimp-snapshot
  fetch('/api/kimp-snapshot').then(function(r){ return r.ok ? r.json() : null; }).then(function(d){
    if (!d || !d.coins) return;
    // 2026-11-19: the API can answer from an older edge snapshot than the one the page was filled with. Keep the newer numbers.
    var updEl = document.getElementById('cp-kimp-updated');
    var shownIso = updEl ? (updEl.getAttribute('data-asof') || '') : '';
    if (d.asOf && shownIso && Date.parse(d.asOf) < Date.parse(shownIso)) return;
    if (updEl && d.asOf && !isNaN(Date.parse(d.asOf))) {
      updEl.setAttribute('data-asof', d.asOf);
      updEl.textContent = FMT.live + new Date(d.asOf).toISOString().slice(0, 16).replace('T', ' ') + ' UTC';
    }
    var fx = Number(d.fxRate || 1361);
    // 2026-11-21: 숫자는 그 도메인 로캘 형식(de·es는 기호가 뒤) — 계산기와 같은 FMT.loc·FMT.sfx
    var nfL = function(n, dd) { return Number(n).toLocaleString(FMT.loc, { minimumFractionDigits: dd, maximumFractionDigits: dd }); };
    var curL = function(sym, n, dd) { return FMT.sfx ? nfL(n, dd) + ' ' + sym : sym + nfL(n, dd); };
    var pctL = function(v) { return (v >= 0 ? '+' : '') + (FMT.sfx ? nfL(v, 2) + ' %' : v.toFixed(2) + '%'); };
    var fmtUsd = function(n) {
      if (n >= 100) return curL('$', Math.round(n), 0);
      if (n >= 10) return curL('$', n, 2);
      return curL('$', n, 3);
    };
    var updateCoinRow = function(sym, rowId, kimpId) {
      var c = d.coins[sym];
      if (!c || !c.usd || !c.krw) return;
      var kimp = typeof c.kimp === 'number' ? c.kimp : (((c.krw / (c.usd * fx)) - 1) * 100);
      var kStr = pctL(kimp);
      var rowEl = document.getElementById(rowId);
      if (rowEl) rowEl.textContent = curL('₩', Math.round(c.krw), 0) + ' · ' + fmtUsd(c.usd);
      var kEl = document.getElementById(kimpId);
      if (kEl) {
        kEl.textContent = kStr;
        kEl.className = 'kv-kimp' + (kimp >= 0 ? ' pos' : '');
      }
      if (sym === 'BTC') {
        document.getElementById('cp-top-btc').textContent = 'BTC ' + curL('$', Math.round(c.usd), 0);
        var topK = document.getElementById('cp-top-kimp');
        if (topK) {
          topK.textContent = (LANG === 'ko' ? '김프 ' : 'Kimp ') + kStr;
          topK.className = kimp >= 0 ? 'pos' : 'neg';
        }
      }
    };
    updateCoinRow('BTC', 'cp-row-btc', 'cp-kimp-btc');
    updateCoinRow('ETH', 'cp-row-eth', 'cp-kimp-eth');
    updateCoinRow('SOL', 'cp-row-sol', 'cp-kimp-sol');
    updateCoinRow('XRP', 'cp-row-xrp', 'cp-kimp-xrp');
    if (d.usdtKrw) {
      var topUsdt = document.getElementById('cp-top-usdt');
      if (topUsdt) topUsdt.textContent = 'USDT ' + curL('₩', Math.round(d.usdtKrw), 0);
      var macroEl = document.getElementById('cp-row-macro');
      if (macroEl) macroEl.textContent = 'USDT ' + curL('₩', Math.round(d.usdtKrw), 0) + ' · FX ' + curL('₩', Math.round(fx), 0);
      var spEl = document.getElementById('cp-usdt-spread');
      if (spEl && fx > 0) {
        var usdtSp = (((Number(d.usdtKrw) / fx) - 1) * 100);
        spEl.textContent = pctL(usdtSp);
        spEl.className = 'kv-kimp' + (usdtSp >= 0 ? ' pos' : '');
      }
    }
  }).catch(function(){});

  // Toggle Ranks 11-30 button
  var moreBtn = document.getElementById('cp-assets-more-btn');
  var moreWrap = document.getElementById('cp-asset-grid-more');
  if (moreBtn && moreWrap) {
    moreBtn.addEventListener('click', function() {
      var isOpen = moreWrap.classList.toggle('open');
      moreBtn.setAttribute('aria-expanded', isOpen ? 'true' : 'false');
      if (LANG === 'ko') {
        moreBtn.textContent = isOpen ? '11–30위 접기 ↑' : '11–30위 자산 시가총액 더보기 ↓';
      } else if (LANG === 'ja') {
        moreBtn.textContent = isOpen ? '11–30位を閉じる ↑' : '11–30位を表示 ↓';
      } else if (LANG === 'de') {
        moreBtn.textContent = isOpen ? 'Plätze 11–30 ausblenden ↑' : 'Plätze 11–30 anzeigen ↓';
      } else if (LANG === 'es') {
        moreBtn.textContent = isOpen ? 'Ocultar puestos 11–30 ↑' : 'Mostrar puestos 11–30 ↓';
      } else {
        moreBtn.textContent = isOpen ? 'Hide Ranks 11–30 ↑' : 'Show Ranks 11–30 ↓';
      }
    });
  }

  // 2. Hydrate live Top 1-30 Asset Market Cap Rankings from same-origin /api/asset-rankings
  fetch('/api/asset-rankings').then(function(r){ return r.ok ? r.json() : null; }).then(function(d){
    if (!d || !Array.isArray(d.rows) || d.rows.length < 10) return;
    var capC = function(s) { if (LANG !== 'de' && LANG !== 'es') return s; var m = String(s || '').match(/\$?\s*([\d.]+)\s*([TBM])/i); if (!m) return s; var U = LANG === 'de' ? { T: 'Bio. $', B: 'Mrd. $', M: 'Mio. $' } : { T: 'bill. $', B: 'mil M$', M: 'M$' }; return m[1].replace('.', ',') + ' ' + U[m[2].toUpperCase()]; };
    var ptC = function(s) { var m = String(s || '').match(/([\d.]+)\s*([TBM])/i); if (!m) return 0; var n = parseFloat(m[1]), u = m[2].toUpperCase(); return u === 'T' ? n : (u === 'B' ? n / 1000 : n / 1e6); };
    var fmtRow = function(r) {
      var krw = (LANG === 'ko' && r.assets_krw) ? ' · ' + String(r.assets_krw).replace(/\s*\d+억원$/, '').trim() : '';
      var isGold = Number(r.rank) === 1;
      var isBtc = /bitcoin/i.test(r.name) || r.symbol === 'BTC';
      var rkCls = isGold ? ' top1' : (isBtc ? ' btc-rk' : '');
      var rowCls = isBtc ? ' is-btc' : '';
      var nmSuffix = isBtc ? ' (BTC)' : '';
      return '<div class="asset-row' + rowCls + '" data-rank="' + r.rank + '"><span class="asset-left"><span class="asset-rk' + rkCls + '">' + r.rank + '</span><span class="asset-nm">' + r.name + nmSuffix + '</span></span><span class="asset-cap">' + capC(r.assets) + krw + '</span></div>';
    };
    var col1 = document.getElementById('cp-asset-col-1');
    var col2 = document.getElementById('cp-asset-col-2');
    var col3 = document.getElementById('cp-asset-col-3');
    var col4 = document.getElementById('cp-asset-col-4');
    if (col1 && col2) {
      col1.innerHTML = d.rows.slice(0, 5).map(fmtRow).join('');
      col2.innerHTML = d.rows.slice(5, 10).map(fmtRow).join('');
    }
    if (col3 && col4 && d.rows.length >= 20) {
      col3.innerHTML = d.rows.slice(10, 20).map(fmtRow).join('');
      col4.innerHTML = d.rows.slice(20, 30).map(fmtRow).join('');
    }
    var btc = d.rows.find(function(x){ return /bitcoin/i.test(x.name) || x.symbol === 'BTC'; });
    var bench = document.getElementById('cp-btc-bench');
    if (btc && bench) {
      var gp = ptC(d.rows[0].assets) > 0 ? (ptC(btc.assets) / ptC(d.rows[0].assets) * 100).toFixed(1) : '-';
      var gpc = gp.replace('.', ',');
      var krwBtc = (LANG === 'ko' && btc.assets_krw) ? ' · ' + String(btc.assets_krw).replace(/\s*\d+억원$/, '').trim() : '';
      bench.innerHTML = LANG === 'ko'
        ? '<span>비트코인(BTC) 현재 세계 자산 시가총액 <strong>#' + btc.rank + '위</strong> (' + btc.assets + krwBtc + ') — 1위 금(Gold) 시총 대비 약 ' + gp + '%</span>'
        : LANG === 'ja'
          ? '<span>ビットコイン(BTC) 現在の世界資産時価総額 <strong>#' + btc.rank + '位</strong> (' + capC(btc.assets) + ') — 1位ゴールド(Gold)比 約' + gp + '%</span>'
          : LANG === 'de'
            ? '<span>Bitcoin (BTC) Globales Asset-Ranking: <strong>Platz #' + btc.rank + '</strong> (' + capC(btc.assets) + ') — ca. ' + gpc + '% der Marktkapitalisierung von #1 Gold</span>'
            : LANG === 'es'
              ? '<span>Bitcoin (BTC) Ranking Global de Activos: <strong>Puesto #' + btc.rank + '</strong> (' + capC(btc.assets) + ') — aprox. ' + gpc + '% de la capitalización del #1 Oro</span>'
              : '<span>Bitcoin (BTC) Global Asset Rank: <strong>#' + btc.rank + '</strong> (' + capC(btc.assets) + ') — ~' + gp + '% of #1 Gold Market Cap</span>';
    }
  }).catch(function(){});
})();
</script>
</body>
</html>