/*
Theme Name: CryptoDigitalHub
Theme URI: https://cryptodigitalhub.com/
Author: CryptoDigitalHub
Author URI: https://cryptodigitalhub.com/
Description: A dark crypto-news theme for CryptoDigitalHub: gold-accent header with live price ticker, hero with a live market snapshot, live crypto prices table (CoinGecko free API), market scanner (TradingView crypto heatmap + market overview) on the homepage, 8 trading tools (live chart, screener, converter, Fear & Greed, technical analysis, market stats, trending coins, crypto news) ONLY in the Trading Tools category with dedicated rankable tool pages under /trading-tools/, Solana ecosystem stats with dotted world map, blog cards with lime Read More buttons, and a four-column footer. Built from scratch; no paid theme code.
Version: 1.5.3
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cryptodigitalhub
Tags: news, crypto, blog, dark, custom-menu, featured-images, threaded-comments
*/

/* ============ Tokens ============ */
:root {
	--bg: #05070d;
	--bg-2: #0a0e1a;
	--bg-3: #101623;
	--card: #0d1322;
	--card-2: #121a2e;
	--border: #1e2740;
	--gold: #f5b301;
	--gold-dark: #d99a00;
	--lime: #c8f542;
	--lime-dark: #a8d92e;
	--orange: #ff5a1f;
	--white: #ffffff;
	--text: #e8ecf3;
	--muted: #9aa3b5;
	--muted-2: #6b7488;
	--green: #22c55e;
	--red: #ef4444;
	--sans: Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--max: 1280px;
	--radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--white); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
button, input { font-family: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============ Ticker strip ============ */
.cdh-ticker {
	background: #03040a;
	border-bottom: 1px solid var(--border);
	overflow: hidden;
	white-space: nowrap;
	font-size: 13px;
}
.cdh-ticker-track {
	display: inline-flex;
	gap: 0;
	padding: 7px 0;
	animation: cdh-ticker-scroll 45s linear infinite;
	will-change: transform;
}
.cdh-ticker:hover .cdh-ticker-track { animation-play-state: paused; }
@keyframes cdh-ticker-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
.cdh-ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 18px;
	border-right: 1px solid var(--border);
	color: var(--text);
}
.cdh-ticker-item .sym { font-weight: 800; color: var(--white); letter-spacing: .04em; }
.cdh-ticker-item .price { color: var(--text); }
.cdh-ticker-item .chg { font-weight: 700; }
.cdh-ticker-item .chg.up { color: var(--green); }
.cdh-ticker-item .chg.down { color: var(--red); }
.cdh-ticker-msg { padding: 7px 24px; color: var(--muted); font-size: 13px; }

/* ============ Header ============ */
.cdh-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(5, 7, 13, .96);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--border);
}
.cdh-header-inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 24px;
	height: 76px;
	display: flex;
	align-items: center;
	gap: 32px;
}
.cdh-logo { flex: 0 0 auto; display: flex; align-items: center; }
.cdh-logo a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.cdh-logo img { max-height: 44px; width: auto; }
.cdh-logo-text {
	font-size: 26px;
	font-weight: 900;
	letter-spacing: .01em;
	color: var(--white);
	line-height: 1;
	white-space: nowrap;
}
.cdh-logo-text .gold { color: var(--gold); }
.cdh-logo-mark {
	width: 38px; height: 38px; flex: 0 0 38px;
	border: 2px solid var(--gold);
	border-radius: 8px;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 22px; font-weight: 900; color: var(--gold);
	transform: rotate(45deg);
}
.cdh-logo-mark span { transform: rotate(-45deg); }
.cdh-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.cdh-nav ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: 34px; flex-wrap: wrap; justify-content: center;
}
.cdh-nav a {
	color: var(--white);
	font-size: 15px; font-weight: 600;
	text-decoration: none;
	padding: 6px 0;
}
.cdh-nav a:hover, .cdh-nav .current-menu-item > a, .cdh-nav .current_page_item > a { color: var(--gold); text-decoration: none; }
.cdh-header-cta { flex: 0 0 auto; }
.btn-gold {
	display: inline-block;
	background: var(--gold);
	color: #111;
	font-weight: 800;
	font-size: 15px;
	padding: 12px 26px;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.2;
}
.btn-gold:hover { background: var(--gold-dark); color: #111; text-decoration: none; }
.btn-lime {
	display: inline-block;
	background: var(--lime);
	color: #111;
	font-weight: 800;
	font-size: 14px;
	padding: 12px 22px;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.2;
}
.btn-lime:hover { background: var(--lime-dark); color: #111; text-decoration: none; }
.cdh-menu-toggle {
	display: none;
	background: none; border: 1px solid var(--border); color: var(--white);
	border-radius: 8px; padding: 8px 12px; font-size: 15px; cursor: pointer;
}

/* ============ Hero ============ */
.cdh-hero {
	background:
		radial-gradient(900px 480px at 85% -10%, rgba(245, 179, 1, .10), transparent 60%),
		radial-gradient(700px 420px at -10% 110%, rgba(200, 245, 66, .06), transparent 60%),
		var(--bg);
	padding: 72px 0 80px;
}
.cdh-hero-inner {
	max-width: var(--max); margin: 0 auto; padding: 0 24px;
	display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.cdh-hero h1 {
	font-size: 58px;
	font-weight: 900;
	letter-spacing: -.01em;
	margin: 0 0 20px;
}
.cdh-hero h1 .gold { color: var(--gold); }
.cdh-hero p.lede { font-size: 18px; color: var(--muted); margin: 0 0 30px; max-width: 560px; }
.cdh-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cdh-hero-note { font-size: 13px; color: var(--muted-2); margin-top: 16px; }

/* Live market snapshot card (hero right) */
.cdh-snapshot {
	background: linear-gradient(180deg, var(--card-2), var(--card));
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 22px 22px 14px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.cdh-snapshot-head {
	display: flex; justify-content: space-between; align-items: baseline;
	margin-bottom: 10px;
}
.cdh-snapshot-head h2 { font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.cdh-live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .08em; }
.cdh-live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: cdh-pulse 1.6s ease-in-out infinite; }
@keyframes cdh-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.cdh-snap-row {
	display: flex; align-items: center; gap: 12px;
	padding: 11px 2px;
	border-top: 1px solid var(--border);
}
.cdh-snap-row:first-of-type { border-top: 0; }
.cdh-snap-coin { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.cdh-snap-coin img { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 30px; }
.cdh-snap-coin .nm { font-weight: 700; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cdh-snap-coin .sy { color: var(--muted-2); font-size: 12px; font-weight: 700; }
.cdh-snap-price { font-weight: 800; color: var(--white); text-align: right; white-space: nowrap; }
.cdh-snap-chg { font-weight: 700; font-size: 13px; text-align: right; min-width: 64px; }
.cdh-snap-chg.up { color: var(--green); }
.cdh-snap-chg.down { color: var(--red); }
.cdh-snap-foot { font-size: 12px; color: var(--muted-2); padding: 10px 2px 4px; border-top: 1px solid var(--border); }
.cdh-price-msg { padding: 18px 4px; color: var(--muted); }

/* ============ Sections ============ */
.cdh-section { padding: 72px 0; }
.cdh-section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.cdh-section-head h2 {
	font-size: 40px; font-weight: 900; letter-spacing: .01em; text-transform: uppercase;
	margin: 0 0 12px;
}
.cdh-section-head h2 .gold { color: var(--gold); }
.cdh-section-head p { color: var(--muted); margin: 0; font-size: 17px; }
.cdh-kicker {
	color: var(--gold); font-size: 13px; font-weight: 800;
	letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px;
}

/* Live prices table */
.cdh-prices { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cdh-price-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.cdh-price-table th, .cdh-price-table td { padding: 14px 18px; text-align: left; }
.cdh-price-table thead th {
	background: var(--bg-3); color: var(--muted);
	font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800;
}
.cdh-price-table tbody tr { border-top: 1px solid var(--border); }
.cdh-price-table tbody tr:hover { background: var(--card-2); }
.cdh-price-table .coin-cell { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--white); }
.cdh-price-table .coin-cell img { width: 28px; height: 28px; border-radius: 50%; }
.cdh-price-table .coin-cell .sy { color: var(--muted-2); font-size: 12px; font-weight: 700; }
.cdh-price-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.cdh-price-table th.num { text-align: right; }
.cdh-price-table .chg.up { color: var(--green); font-weight: 700; }
.cdh-price-table .chg.down { color: var(--red); font-weight: 700; }
.cdh-price-updated { font-size: 13px; color: var(--muted-2); margin-top: 12px; text-align: right; }
.cdh-table-scroll { overflow-x: auto; }

/* Ecosystem */
.cdh-eco-inner {
	display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center;
}
.cdh-eco h2 { font-size: 44px; font-weight: 900; text-transform: uppercase; margin: 0 0 18px; }
.cdh-eco p.intro { color: var(--muted); font-size: 17px; margin: 0 0 34px; max-width: 480px; }
.cdh-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.cdh-stat .num { font-size: 44px; font-weight: 900; color: var(--white); line-height: 1; }
.cdh-stat .lbl { color: var(--muted); font-size: 14px; margin-top: 8px; }
.cdh-map { position: relative; }
.cdh-map svg { width: 100%; height: auto; display: block; }
.cdh-map-dot {
	position: absolute; width: 12px; height: 12px; border-radius: 50%;
	background: var(--lime); box-shadow: 0 0 14px 3px rgba(200, 245, 66, .55);
	animation: cdh-pulse 2.2s ease-in-out infinite;
}
.cdh-map-note { font-size: 12px; color: var(--muted-2); margin-top: 10px; }

/* Blog cards */
.cdh-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cdh-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex; flex-direction: column;
}
.cdh-card:hover { border-color: #2c3a5e; }
.cdh-card-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); }
.cdh-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cdh-card-thumb .cdh-noimg {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #14203a, #0a0e1a);
	color: var(--gold); font-weight: 900; font-size: 30px; letter-spacing: .02em;
}
.cdh-card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.cdh-card-meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.cdh-card-meta a { color: var(--muted); }
.cdh-card-meta a:hover { color: var(--gold); }
.cdh-card h3 { font-size: 21px; font-weight: 800; margin: 0 0 18px; flex: 1; }
.cdh-card h3 a { color: var(--white); }
.cdh-card h3 a:hover { color: var(--gold); text-decoration: none; }
.cdh-card .btn-lime { align-self: flex-start; }
.cdh-more { text-align: center; margin-top: 36px; }
.cdh-empty { text-align: center; color: var(--muted); padding: 30px 0; }

/* ============ Article / archive / page ============ */
.cdh-page-head { padding: 56px 0 8px; }
.cdh-page-head h1 { font-size: 44px; font-weight: 900; margin: 0 0 10px; }
.cdh-page-head p { color: var(--muted); margin: 0; }
.cdh-crumbs { font-size: 13px; color: var(--muted-2); margin-bottom: 14px; }
.cdh-crumbs a { color: var(--muted); }
.cdh-article { max-width: 1020px; margin: 0 auto; padding: 40px 24px 70px; }
.cdh-article .cat-label { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cdh-article h1 { font-size: 42px; font-weight: 900; margin: 10px 0 14px; }
.cdh-meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; display: flex; gap: 16px; flex-wrap: wrap; }
.cdh-meta a { color: var(--muted); }
.cdh-featured { border-radius: 12px; overflow: hidden; margin: 0 0 28px; }
.cdh-featured img { width: 100%; height: auto; }
.cdh-content { font-size: 17px; }
.cdh-content h2 { font-size: 28px; margin-top: 1.4em; }
.cdh-content h3 { font-size: 22px; margin-top: 1.3em; }
.cdh-content img { border-radius: 8px; }
.cdh-content blockquote { border-left: 3px solid var(--gold); margin: 1.2em 0; padding: .4em 0 .4em 1em; color: var(--muted); }
.cdh-content table { width: 100%; border-collapse: collapse; }
.cdh-content th, .cdh-content td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.cdh-tags { margin: 30px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.cdh-tags a {
	background: var(--bg-3); border: 1px solid var(--border); color: var(--muted);
	padding: 6px 12px; border-radius: 999px; font-size: 13px;
}
.cdh-tags a:hover { color: var(--gold); border-color: var(--gold); text-decoration: none; }
.cdh-author {
	margin-top: 36px; padding: 22px; background: var(--card);
	border: 1px solid var(--border); border-radius: 12px;
	display: flex; gap: 18px; align-items: flex-start;
}
.cdh-author img { border-radius: 50%; width: 64px; height: 64px; flex: 0 0 64px; }
.cdh-author h3 { margin: 0 0 6px; font-size: 18px; }
.cdh-author p { margin: 0; color: var(--muted); font-size: 15px; }
.cdh-related { padding: 20px 0 70px; }
.cdh-related h2 { font-size: 28px; font-weight: 900; margin: 0 0 24px; }
.cdh-listing { padding: 30px 0 70px; }
.cdh-pagination { text-align: center; margin-top: 40px; font-size: 15px; }
.cdh-pagination .page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); margin: 0 3px; }
.cdh-pagination .page-numbers.current { background: var(--gold); border-color: var(--gold); color: #111; font-weight: 800; }
.cdh-pagination a:hover { color: var(--gold); text-decoration: none; }
.cdh-search-form { display: flex; gap: 10px; max-width: 480px; margin: 20px 0; }
.cdh-search-form input[type="search"] {
	flex: 1; background: var(--bg-3); border: 1px solid var(--border);
	color: var(--text); padding: 12px 14px; border-radius: 8px; font-size: 15px;
}
.cdh-comments { max-width: 1020px; margin: 0 auto; padding: 0 24px 70px; }
.cdh-comments h2 { font-size: 24px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin-bottom: 14px; background: var(--card); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-author { font-weight: 700; color: var(--white); }
.comment-meta { font-size: 13px; color: var(--muted-2); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; background: var(--bg-3); border: 1px solid var(--border);
	color: var(--text); padding: 10px 12px; border-radius: 8px; font-size: 15px; margin-bottom: 10px;
}
.comment-form input[type="submit"] {
	background: var(--gold); color: #111; font-weight: 800; border: 0;
	padding: 12px 24px; border-radius: 8px; cursor: pointer; font-size: 15px;
}

/* ============ Footer ============ */
.cdh-footer { background: #03040a; border-top: 1px solid var(--border); padding: 64px 0 0; }
.cdh-footer-grid {
	max-width: var(--max); margin: 0 auto; padding: 0 24px 48px;
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px;
}
.cdh-footer h3 {
	font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
	margin: 0 0 20px; color: var(--white);
}
.cdh-footer .cdh-logo { margin-bottom: 18px; }
.cdh-footer-about { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.cdh-social { display: flex; gap: 10px; }
.cdh-social a {
	width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 8px;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--text); text-decoration: none;
}
.cdh-social a:hover { color: var(--gold); border-color: var(--gold); }
.cdh-social svg { width: 17px; height: 17px; fill: currentColor; }
.cdh-footer-links { list-style: none; margin: 0; padding: 0; }
.cdh-footer-links li { margin-bottom: 12px; }
.cdh-footer-links a {
	color: var(--muted); font-size: 14px; font-weight: 600;
	letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
}
.cdh-footer-links a:hover { color: var(--gold); }
.cdh-contact { list-style: none; margin: 0 0 20px; padding: 0; color: var(--muted); font-size: 15px; }
.cdh-contact li { margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.cdh-contact .ic { color: var(--orange); flex: 0 0 18px; font-size: 15px; }
.cdh-contact a { color: var(--muted); }
.cdh-contact a:hover { color: var(--gold); }
.cdh-newsletter { display: flex; background: var(--bg-3); border: 1px solid var(--border); border-radius: 999px; padding: 5px; }
.cdh-newsletter input[type="email"] {
	flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text);
	padding: 8px 12px; font-size: 14px; outline: none;
}
.cdh-newsletter button {
	background: var(--orange); color: #fff; border: 0; border-radius: 50%;
	width: 38px; height: 38px; flex: 0 0 38px; cursor: pointer; font-size: 16px;
}
.cdh-newsletter button:hover { background: #e04d14; }
.cdh-news-note { font-size: 12px; color: var(--muted-2); margin-top: 10px; }
.cdh-footer-bottom {
	border-top: 1px solid var(--border);
	padding: 22px 0;
}
.cdh-footer-bottom-inner {
	max-width: var(--max); margin: 0 auto; padding: 0 24px;
	display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
	font-size: 13px; letter-spacing: .08em; color: var(--muted);
}
.cdh-footer-bottom a { color: var(--muted); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.cdh-footer-bottom a:hover { color: var(--gold); }
.cdh-legal { display: flex; gap: 26px; flex-wrap: wrap; }

/* Back to top */
.cdh-to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 90;
	width: 46px; height: 46px; border-radius: 50%;
	background: var(--white); color: #111; border: 0; cursor: pointer;
	font-size: 18px; font-weight: 900; line-height: 1;
	display: none; align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.cdh-to-top.show { display: inline-flex; }

/* ============ Trading tools ============ */
.cdh-tools { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cdh-tool-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 22px;
	margin-bottom: 28px;
}
.cdh-tool-card:last-child { margin-bottom: 0; }
.cdh-tool-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.cdh-tool-head h3 { font-size: 20px; font-weight: 800; margin: 0; }
.cdh-tool-src { font-size: 12px; color: var(--muted-2); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.cdh-tool-chart .tradingview-widget-container { height: 520px; }
.cdh-tool-chart .tradingview-widget-container__widget { height: 100%; }
.cdh-screener-wrap { overflow-x: auto; }
.cdh-tools-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.cdh-tools-duo .cdh-tool-card { margin-bottom: 0; }
.cdh-conv-label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.cdh-converter input[type="number"], .cdh-converter select {
	width: 100%; background: var(--bg-3); border: 1px solid var(--border);
	color: var(--text); padding: 12px 14px; border-radius: 8px; font-size: 15px; outline: none;
}
.cdh-converter input[type="number"]:focus, .cdh-converter select:focus { border-color: var(--gold); }
.cdh-conv-row { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.cdh-conv-row select { flex: 1; min-width: 0; }
#cdh-conv-swap {
	flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
	background: var(--gold); color: #111; border: 0; cursor: pointer;
	font-size: 20px; font-weight: 900; line-height: 1;
}
#cdh-conv-swap:hover { background: var(--gold-dark); }
.cdh-conv-result { font-size: 20px; font-weight: 800; color: var(--white); margin: 18px 0 6px; word-break: break-word; }
.cdh-conv-rate { font-size: 13px; color: var(--muted-2); margin: 0; }
.cdh-fng-value { font-size: 56px; font-weight: 900; line-height: 1; color: var(--white); }
.cdh-fng-label { font-size: 18px; font-weight: 800; margin: 10px 0 20px; }
.cdh-fng-bar {
	position: relative; height: 12px; border-radius: 999px;
	background: linear-gradient(90deg, #ef4444 0%, #f97316 25%, #eab308 50%, #a3e635 75%, #22c55e 100%);
}
.cdh-fng-marker {
	position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; border-radius: 50%;
	background: #fff; border: 3px solid #111; transform: translate(-50%, -50%);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}
.cdh-fng-scale { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted-2); margin-top: 10px; }
.cdh-fng-updated { font-size: 13px; color: var(--muted-2); margin: 16px 0 0; }
.cdh-tool-index { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin: -18px 0 40px; font-size: 14px; }
.cdh-tool-index a { color: var(--muted); font-weight: 700; }
.cdh-tool-index a:hover { color: var(--gold); text-decoration: none; }
.cdh-stat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cdh-stat-tile { background: var(--bg-3); border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.cdh-stat-tile .v { font-size: 24px; font-weight: 900; color: var(--white); line-height: 1.2; word-break: break-word; }
.cdh-stat-tile .l { font-size: 13px; color: var(--muted); margin-top: 6px; }
.cdh-trend-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-top: 1px solid var(--border); }
.cdh-trend-row:first-of-type { border-top: 0; }
.cdh-trend-row img { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 30px; }
.cdh-trend-coin { flex: 1; min-width: 0; }
.cdh-trend-coin .nm { font-weight: 700; color: var(--white); }
.cdh-trend-coin .sy { color: var(--muted-2); font-size: 12px; font-weight: 700; }
.cdh-trend-rank { font-size: 13px; color: var(--muted); white-space: nowrap; }
.cdh-trend-btc { font-weight: 800; color: var(--white); text-align: right; white-space: nowrap; font-size: 14px; }
.cdh-more-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.cdh-more-tools-label { font-weight: 800; color: var(--white); font-size: 14px; margin-right: 4px; }
.cdh-more-tools a {
	background: var(--bg-3); border: 1px solid var(--border); color: var(--muted);
	padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
}
.cdh-more-tools a:hover { color: var(--gold); border-color: var(--gold); text-decoration: none; }

/* ============ Responsive ============ */
@media (max-width: 1020px) {
	.cdh-hero-inner { grid-template-columns: 1fr; gap: 40px; }
	.cdh-hero h1 { font-size: 44px; }
	.cdh-eco-inner { grid-template-columns: 1fr; gap: 36px; }
	.cdh-cards { grid-template-columns: repeat(2, 1fr); }
	.cdh-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.cdh-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 12px 24px 18px; }
	.cdh-nav.open { display: block; }
	.cdh-nav ul { flex-direction: column; gap: 6px; align-items: flex-start; }
	.cdh-menu-toggle { display: inline-block; }
	.cdh-header-cta .btn-gold { padding: 10px 16px; font-size: 13px; }
	.cdh-hero { padding: 48px 0 56px; }
	.cdh-hero h1 { font-size: 34px; }
	.cdh-section { padding: 52px 0; }
	.cdh-section-head h2 { font-size: 28px; }
	.cdh-eco h2 { font-size: 30px; }
	.cdh-stat .num { font-size: 32px; }
	.cdh-cards { grid-template-columns: 1fr; }
	.cdh-footer-grid { grid-template-columns: 1fr; gap: 36px; }
	.cdh-article h1, .cdh-page-head h1 { font-size: 30px; }
	.cdh-price-table th:nth-child(4), .cdh-price-table td:nth-child(4) { display: none; }
	.cdh-tools-duo { grid-template-columns: 1fr; }
	.cdh-tool-chart .tradingview-widget-container { height: 420px; }
	.cdh-fng-value { font-size: 44px; }
}

/* Live chat (homepage, below the header) — v1.5.0 */
