/* CryptoLiveLeak Assets — Network Ecosystem pages (2.14.0) */

.cll-eco {
	--eco-bg: var(--cll-surface, #171b21);
	--eco-bg2: var(--cll-bg, #0d1014);
	--eco-line: var(--cll-line, rgba(255, 255, 255, 0.09));
	--eco-text: var(--cll-text, #e8ecf1);
	--eco-muted: var(--cll-muted, #9aa4b2);
	--eco-accent: var(--cll-signal, #ffde6e);
	--eco-up: var(--cll-positive, #2bd17e);
	--eco-down: var(--cll-negative, #ff6078);
	--eco-radius: var(--cll-radius, 8px);
	--eco-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	color: var(--eco-text);
	padding: 8px 0 40px;
}
.cll-eco a { color: inherit; }

.cll-eco__eyebrow {
	display: inline-block;
	font-family: var(--eco-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--eco-accent);
}

/* Hero */
.cll-eco__hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	padding: 28px clamp(16px, 3vw, 36px);
	border: 1px solid var(--eco-line);
	border-radius: calc(var(--eco-radius) + 4px);
	background:
		radial-gradient(700px 240px at 0% 0%, rgba(255, 222, 110, 0.07), transparent 60%),
		linear-gradient(180deg, var(--eco-bg), var(--eco-bg2));
}
.cll-eco__ident { display: flex; align-items: center; gap: 18px; min-width: 0; }
.cll-eco__ident h1 { margin: 4px 0 6px; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.015em; }
.cll-eco__ident p { margin: 0; color: var(--eco-muted); font-size: 14px; }

.cll-eco__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 12px 18px;
	border-radius: 6px;
	background: var(--eco-accent);
	color: #0d1014 !important;
	font-weight: 650;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
	transition: filter 0.15s ease, transform 0.15s ease;
}
.cll-eco__cta:hover { filter: brightness(1.08); transform: translateY(-1px); text-decoration: none; }
.cll-eco__cta.is-secondary { background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); color: var(--eco-text) !important; }

/* KPIs */
.cll-eco__kpis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 10px;
	margin: 14px 0 0;
}
.cll-eco__kpis > div {
	padding: 14px 16px;
	border: 1px solid var(--eco-line);
	border-radius: var(--eco-radius);
	background: var(--eco-bg);
}
.cll-eco__kpis dt { margin: 0 0 6px; font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--eco-muted); }
.cll-eco__kpis dd { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cll-eco__kpis dd small { font-size: 12px; font-weight: 500; color: var(--eco-muted); margin-left: 4px; }
.cll-eco__kpis dd.is-up { color: var(--eco-up); }
.cll-eco__kpis dd.is-down { color: var(--eco-down); }
.cll-eco__kpis abbr { text-decoration: none; border-bottom: 1px dotted currentColor; cursor: help; }
.cll-eco__kpis .is-locked { border-color: rgba(255, 222, 110, 0.3); }

.cll-eco__blur {
	filter: blur(6px);
	user-select: none;
	opacity: 0.8;
	text-decoration: none;
	cursor: pointer;
}
.cll-eco__lock { display: inline-block; width: 9px; height: 11px; margin-left: 4px; border: 1.5px solid var(--eco-accent); border-radius: 2px; vertical-align: -1px; position: relative; }
.cll-eco__lock::before { content: ""; position: absolute; left: 1px; top: -5px; width: 5px; height: 5px; border: 1.5px solid var(--eco-accent); border-bottom: 0; border-radius: 4px 4px 0 0; }

/* Section heads */
.cll-eco__sechead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 12px; }
.cll-eco__sechead h2 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.cll-eco__sechead span { font-size: 12px; color: var(--eco-muted); }

/* Featured row */
.cll-eco__featured { margin-top: 28px; }
.cll-eco__fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.cll-eco__fcard {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid rgba(255, 222, 110, 0.35);
	border-radius: var(--eco-radius);
	background: linear-gradient(90deg, rgba(255, 222, 110, 0.09), rgba(255, 222, 110, 0.02));
	text-decoration: none;
	transition: transform 0.15s ease, border-color 0.15s ease;
}
.cll-eco__fcard:hover { transform: translateY(-2px); border-color: rgba(255, 222, 110, 0.6); text-decoration: none; }
.cll-eco__fname { min-width: 0; }
.cll-eco__fname b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cll-eco__fname small { display: block; font-size: 11.5px; color: var(--eco-muted); }
.cll-eco__fprice { display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cll-eco__fp sub { font-size: 0.7em; }

/* Asset mark */
.cll-eco__mark {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	background: #0b0d10;
	border: 1px solid var(--eco-line);
	flex: 0 0 auto;
	display: block;
}
.cll-eco__mark.is-text { display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #0d1014; background: var(--eco-accent); }

/* Directory table */
.cll-eco__dir { margin-top: 28px; }
.cll-eco__tablewrap { border: 1px solid var(--eco-line); border-radius: var(--eco-radius); overflow: hidden; background: var(--eco-bg); }
.cll-eco__table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cll-eco__table th, .cll-eco__table td { padding: 12px 14px; border-bottom: 1px solid var(--eco-line); text-align: left; vertical-align: middle; }
.cll-eco__table thead th { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--eco-muted); font-weight: 600; background: rgba(255, 255, 255, 0.025); }
.cll-eco__table tbody tr:last-child th, .cll-eco__table tbody tr:last-child td { border-bottom: 0; }
.cll-eco__table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.cll-eco__table tr.is-featured { background: rgba(255, 222, 110, 0.04); }
.cll-eco__table .num { text-align: right; font-variant-numeric: tabular-nums; }
.cll-eco__table small { display: block; font-size: 11px; color: var(--eco-muted); }
.cll-eco__table sub { font-size: 0.7em; }
.cll-eco__asset { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.cll-eco__asset b { display: block; font-weight: 650; }
.cll-eco__asset:hover b { color: var(--eco-accent); }
.cll-eco__badge { display: inline-block; padding: 1px 6px; border-radius: 3px; font-style: normal; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid var(--eco-line); color: var(--eco-text); }
.cll-eco__badge.is-featured { border-color: rgba(255, 222, 110, 0.5); color: var(--eco-accent); }
.cll-eco__chg.is-up, .cll-eco__table .is-up { color: var(--eco-up); }
.cll-eco__chg.is-down, .cll-eco__table .is-down { color: var(--eco-down); }
.cll-eco__na { color: var(--eco-muted); }
.cll-eco__role { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.cll-eco__role.is-primary { background: rgba(43, 209, 126, 0.14); color: var(--eco-up); }
.cll-eco__role.is-secondary { background: rgba(255, 255, 255, 0.07); color: var(--eco-text); }
.cll-eco__table .cll-net__addr { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid var(--eco-line); border-radius: 5px; background: transparent; color: var(--eco-text); cursor: pointer; font: inherit; }
.cll-eco__table .cll-net__addr code { font-family: var(--eco-mono); font-size: 11.5px; background: none; color: inherit; padding: 0; }
.cll-eco__table .cll-net__addr.is-copied { border-color: var(--eco-up); color: var(--eco-up); }
.cll-eco__ext { margin-left: 8px; font-size: 12px; color: var(--eco-muted); text-decoration: none; }
.cll-eco__ext:hover { color: var(--eco-accent); }
.cll-eco__empty { padding: 24px; border: 1px dashed var(--eco-line); border-radius: var(--eco-radius); color: var(--eco-muted); text-align: center; }

/* Conversion */
.cll-eco__convert { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 28px; }
.cll-eco__panel { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1px solid var(--eco-line); border-radius: var(--eco-radius); background: var(--eco-bg); }
.cll-eco__panel.is-member { border-color: rgba(255, 222, 110, 0.3); background: linear-gradient(90deg, rgba(255, 222, 110, 0.08), rgba(255, 222, 110, 0.02)); }
.cll-eco__panel strong { font-size: 18px; letter-spacing: -0.01em; }
.cll-eco__panel p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.55; color: var(--eco-muted); }
.cll-eco__panel .cll-eco__cta { align-self: flex-start; }

.cll-eco__others { margin-top: 28px; }
.cll-eco__others h2 { margin: 0 0 10px; font-size: 14px; color: var(--eco-muted); font-weight: 600; letter-spacing: 0.02em; }
.cll-eco__note { margin: 24px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--eco-muted); opacity: 0.85; }

@media (max-width: 760px) {
	.cll-eco__hero { padding: 20px 16px; }
	.cll-eco__hero .cll-eco__cta { width: 100%; }
	.cll-eco__kpis { grid-template-columns: repeat(2, 1fr); }
	.cll-eco__kpis dd { font-size: 19px; }
	.cll-eco__table thead { display: none; }
	.cll-eco__table, .cll-eco__table tbody, .cll-eco__table tr { display: block; }
	.cll-eco__table tr { padding: 12px 14px; border-bottom: 1px solid var(--eco-line); }
	.cll-eco__table tr:last-child { border-bottom: 0; }
	.cll-eco__table th, .cll-eco__table td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 0; border: 0; text-align: left; }
	.cll-eco__table th[scope="row"] { padding-bottom: 10px; }
	.cll-eco__table td::before { content: attr(data-label); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--eco-muted); flex: 0 0 auto; }
	.cll-eco__table td .cll-eco__v { text-align: right; }
	.cll-eco__table .cll-eco__member-col .cll-eco__v { display: flex; align-items: center; gap: 8px; }
	.cll-eco__panel .cll-eco__cta { align-self: stretch; }
}
