.chart-page {
	padding: 40px 0 60px;
	background:
		linear-gradient(180deg, rgba(244, 233, 200, 0.28) 0%, rgba(255, 255, 255, 0) 220px),
		linear-gradient(135deg, rgba(52, 38, 3, 0.06), rgba(212, 174, 83, 0.14));
}

.chart-page .chart-shell {
	background: #fff;
	border: 1px solid rgba(52, 38, 3, 0.15);
	box-shadow: 0 16px 40px rgba(52, 38, 3, 0.12);
	padding: 28px;
}

.chart-page .chart-intro {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.chart-page .chart-kicker {
	display: inline-block;
	padding: 6px 12px;
	background: #342603;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.chart-page .chart-title {
	margin: 12px 0 8px;
	color: #342603;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.1;
}

.chart-page .chart-subtitle {
	margin: 0;
	color: #6c5b2b;
	font-size: 15px;
}

.chart-page .chart-status {
	min-height: 24px;
	color: #8a6608;
	font-size: 13px;
	font-weight: 600;
	text-align: right;
}

.chart-toolbar,
.chart-meta-grid {
	display: grid;
	gap: 16px;
}

.chart-toolbar {
	grid-template-columns: 2fr 1fr 1fr;
	margin-bottom: 18px;
}

.chart-meta-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 24px;
}

.chart-field,
.chart-card,
.chart-board {
	border: 1px solid rgba(52, 38, 3, 0.14);
	background: #fcfaf5;
}

.chart-field {
	padding: 14px 16px;
}

.chart-label {
	display: block;
	margin-bottom: 8px;
	color: #7b6940;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.chart-select {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid rgba(52, 38, 3, 0.18);
	background: #fff;
	color: #342603;
	font-size: 15px;
	font-weight: 600;
}

.chart-card {
	padding: 18px;
	min-height: 108px;
}

.chart-card-title {
	margin: 0 0 14px;
	color: #7b6940;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.chart-price {
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	color: #342603;
}

.chart-price.is-up {
	color: #187d3d;
}

.chart-price.is-down {
	color: #c0392b;
}

.chart-price-note,
.chart-highlow-line {
	margin-top: 10px;
	color: #7b6940;
	font-size: 14px;
	font-weight: 600;
}

.chart-board {
	padding: 20px;
	background:
		radial-gradient(circle at top right, rgba(212, 174, 83, 0.12), transparent 25%),
		linear-gradient(180deg, #3b2b04 0%, #221800 100%);
	color: #fff;
}

.chart-board-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.chart-board-title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #fff2c5;
}

.chart-board-subtitle {
	margin: 6px 0 0;
	color: rgba(255, 242, 197, 0.78);
	font-size: 13px;
}

.chart-live-badge {
	padding: 8px 10px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.chart-canvas-wrap {
	min-height: 420px;
}

.chart-canvas-wrap svg {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.chart-board .axis path,
.chart-board .axis line {
	fill: none;
	stroke: rgba(255, 242, 197, 0.34);
	shape-rendering: crispEdges;
}

.chart-board .tick text {
	fill: rgba(255, 242, 197, 0.92);
	font-size: 12px;
}

.chart-board .tick line {
	opacity: 0.22;
}

.chart-board path.close {
	fill: none;
	stroke: #f3d37a;
	stroke-width: 2;
}

.chart-board path.ohlc {
	stroke: #f3d37a;
	stroke-width: 1.4;
}

.chart-board path.ohlc.up {
	stroke: #2ecc71;
}

.chart-board path.ohlc.down {
	stroke: #ff6b5e;
}

.chart-board path.candlestick {
	stroke: #f7e7b0;
}

.chart-board path.candlestick.body {
	stroke-width: 0;
}

.chart-board path.candlestick.up {
	fill: #2ecc71;
	stroke: #2ecc71;
}

.chart-board path.candlestick.down {
	fill: #ff6b5e;
	stroke: #ff6b5e;
}

.chart-board .y.annotation.right path {
	fill: #d4ae53;
}

.chart-board .y.annotation.right text {
	fill: #221800;
	font-weight: 700;
}

.chart-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
	color: rgba(255, 242, 197, 0.85);
	font-size: 15px;
	font-weight: 600;
	text-align: center;
}

@media screen and (max-width: 991px) {
	.chart-page .chart-shell {
		padding: 18px;
	}

	.chart-page .chart-intro {
		flex-direction: column;
		align-items: flex-start;
	}

	.chart-page .chart-title {
		font-size: 28px;
	}

	.chart-toolbar,
	.chart-meta-grid {
		grid-template-columns: 1fr;
	}

	.chart-status {
		text-align: left;
	}

	.chart-canvas-wrap {
		overflow-x: auto;
	}
}
