.itxq-embed {
	--bybit-bg: #f7f9fc;
	--bybit-card: #ffffff;
	--bybit-line: #e6e9f0;
	--bybit-ink: #161a23;
	--bybit-muted: #6f7787;
	--bybit-muted-2: #9aa3b5;
	--bybit-accent: #f6c343;
	--bybit-shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
	margin: 28px 0;
	color: var(--bybit-ink);
}

.itxq-embed .bybit-card {
	background: var(--bybit-card);
	border: 1px solid var(--bybit-line);
	border-radius: 18px;
	box-shadow: var(--bybit-shadow-soft);
}

.itxq-embed .bybit-chart-card {
	padding: 14px 14px 16px;
	min-height: 412px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.itxq-embed__ticker {
	font-size: 20px;
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.itxq-embed__meta-inline {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	flex: 1 1 220px;
	min-width: 0;
}

.itxq-embed__ticker-link {
	display: inline-flex;
	align-items: center;
	color: var(--bybit-ink);
	text-decoration: none;
}

.itxq-embed__ticker-link:hover,
.itxq-embed__ticker-link:focus-visible {
	color: var(--bybit-ink);
	text-decoration: none;
}

.itxq-embed__ticker-link .itxq-embed__ticker {
	color: inherit;
}

.itxq-embed__title {
	font-size: 13px;
	line-height: 1.35;
	color: var(--bybit-muted);
}

.itxq-embed .bybit-chart-stage {
	position: relative;
	height: 286px;
	min-height: 286px;
	padding: 0;
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid var(--bybit-line);
	background: #ffffff;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
}

.itxq-embed__chart-link {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
}

.itxq-embed__chart-link:hover,
.itxq-embed__chart-link:focus-visible {
	color: inherit;
	text-decoration: none;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
	outline: none;
}

.itxq-embed__preview {
	width: 100%;
	height: 286px;
	min-height: 286px;
}

.itxq-embed__preview {
	display: flex;
	align-items: stretch;
	justify-content: stretch;
}

.itxq-embed__spark {
	width: 100%;
}

.itxq-embed__spark svg {
	display: block;
	width: 100%;
	height: 100%;
}

.itxq-embed .itxq-am5-timeframe-row {
	display: flex;
	gap: 6px;
	align-items: center;
	flex-wrap: wrap;
	padding: 0 16px 6px 0;
	margin-bottom: 0;
}

.itxq-embed__footer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 18px 24px;
	flex-wrap: wrap;
	padding: 14px 8px 2px;
	border-top: 1px solid #eef2f7;
}

.itxq-embed__stats {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	gap: 24px;
	flex-wrap: wrap;
}

.itxq-embed__stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 110px;
}

.itxq-embed__stat-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bybit-muted-2);
}

.itxq-embed__stat-value {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	color: #4c5567;
}

@media (max-width: 900px) {
	.itxq-embed .bybit-chart-card {
		min-height: 344px;
		padding: 12px;
	}

	.itxq-embed .bybit-chart-stage,
	.itxq-embed__preview {
		height: 228px;
		min-height: 228px;
	}

	.itxq-embed__footer,
	.itxq-embed__stats {
		align-items: flex-start;
	}

	.itxq-embed__footer {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 12px 6px 2px;
	}

	.itxq-embed__stats {
		justify-content: flex-start;
		gap: 16px;
	}

	.itxq-embed__meta-inline {
		flex-basis: 100%;
	}

	.itxq-embed__ticker {
		font-size: 18px;
	}
}
