.hk-borsa-chart {
	--hk-borsa-up: #039855;
	--hk-borsa-down: #d92d20;
	--hk-borsa-muted: #64748b;
	--hk-borsa-border: #e2e8f0;
	--hk-borsa-bg: #ffffff;
	--hk-borsa-soft: #f8fafc;
	margin: 0 0 22px;
	border: 1px solid var(--hk-borsa-border);
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
	overflow: hidden;
}

.hk-borsa-chart__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px 14px;
	border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.hk-borsa-chart__meta {
	min-width: 0;
}

.hk-borsa-chart__eyebrow {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hk-borsa-muted);
}

.hk-borsa-chart__title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
}

.hk-borsa-chart__symbol {
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.hk-borsa-chart__name {
	font-size: 14px;
	font-weight: 600;
	color: var(--hk-borsa-muted);
}

.hk-borsa-chart__price-wrap {
	text-align: right;
	flex-shrink: 0;
}

.hk-borsa-chart__price {
	display: block;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.05;
	color: #0f172a;
	letter-spacing: -0.03em;
}

.hk-borsa-chart__change {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
}

.hk-borsa-chart__change.up {
	color: var(--hk-borsa-up);
	background: rgba(3, 152, 85, 0.1);
}

.hk-borsa-chart__change.dw {
	color: var(--hk-borsa-down);
	background: rgba(217, 45, 32, 0.1);
}

.hk-borsa-chart__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	padding: 14px 22px;
	background: rgba(248, 250, 252, 0.92);
	border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.hk-borsa-chart__stat {
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(226, 232, 240, 0.9);
}

.hk-borsa-chart__stat-label {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hk-borsa-muted);
}

.hk-borsa-chart__stat-value {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
}

.hk-borsa-chart__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 22px 0;
	flex-wrap: wrap;
}

.hk-borsa-chart__ranges,
.hk-borsa-chart__types {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.hk-borsa-chart__btn {
	border: 1px solid var(--hk-borsa-border);
	background: #fff;
	color: #334155;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.hk-borsa-chart__btn:hover {
	border-color: #cbd5e1;
	transform: translateY(-1px);
}

.hk-borsa-chart__btn.is-active {
	background: #0f172a;
	border-color: #0f172a;
	color: #fff;
}

.hk-borsa-chart__canvas-wrap {
	position: relative;
	padding: 8px 10px 0;
}

.hk-borsa-chart__canvas {
	width: 100%;
	height: 380px;
}

.hk-borsa-chart__canvas a,
.hk-borsa-chart__canvas a[href*="tradingview"] {
	display: none !important;
	pointer-events: none !important;
	visibility: hidden !important;
}

.hk-borsa-chart__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(3px);
	font-size: 14px;
	font-weight: 600;
	color: #475569;
}

.hk-borsa-chart__overlay[hidden] {
	display: none !important;
}

.hk-borsa-chart__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 22px 16px;
	font-size: 12px;
	color: var(--hk-borsa-muted);
}

.hk-borsa-chart__hint {
	font-weight: 600;
}

.live-stock-item.is-chart-active {
	background: rgba(3, 152, 85, 0.08) !important;
	box-shadow: inset 3px 0 0 var(--hk-borsa-up);
}

@media (max-width: 991px) {
	.hk-borsa-chart__head {
		flex-direction: column;
	}

	.hk-borsa-chart__price-wrap {
		text-align: left;
	}

	.hk-borsa-chart__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hk-borsa-chart__canvas {
		height: 300px;
	}
}

@media (max-width: 575px) {
	.hk-borsa-chart__symbol {
		font-size: 24px;
	}

	.hk-borsa-chart__price {
		font-size: 26px;
	}

	.hk-borsa-chart__toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.hk-borsa-chart__ranges,
	.hk-borsa-chart__types {
		justify-content: center;
	}
}
