/* 股票 / 加密貨幣頁 — TradingView Widgets */
.tag-stocks-page,
.tag-crypto-page {
	font-family: "Noto Sans TC", sans-serif;
}
.tag-stocks-page__container {
	max-width: 1400px;
}
.tag-stocks-hero {
	margin-bottom: 16px;
}
.tag-stocks-hero__title {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.25;
}
.tag-stocks-hero__sub {
	margin: 0;
	font-size: 14px;
	color: #64748b;
	line-height: 1.5;
}
.tag-stocks-hero__sub a {
	color: var(--main, #4267b2);
	text-decoration: none;
}
.tag-stocks-hero__sub a:hover {
	text-decoration: underline;
}
.tag-stocks-widget {
	margin-bottom: 16px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--card-bg, #fff);
	border: 1px solid #e6ecf0;
	box-shadow: 0 1px 3px rgb(15 23 42 / 0.06);
}
.tag-stocks-widget__inner {
	width: 100%;
	min-height: 48px;
}
.tag-stocks-widget--tape {
	border: none;
	box-shadow: none;
	background: transparent;
	overflow: visible;
}
.tag-stocks-widget--tape .tag-stocks-widget__inner {
	min-height: 46px;
}
.tag-stocks-widget__inner--chart {
	min-height: 520px;
}
.tag-stocks-widget__inner--symbol {
	min-height: 200px;
}
.tag-stocks-widget__inner--ta {
	min-height: 360px;
}
.tag-stocks-widget__inner--screener {
	min-height: 480px;
}
.tag-stocks-widget__inner--news {
	min-height: 420px;
}
.tag-stocks-widget__inner--heatmap {
	min-height: 480px;
}
.tag-stocks-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 16px;
	margin-bottom: 16px;
}
.tag-stocks-aside {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}
.tag-stocks-aside .tag-stocks-widget {
	margin-bottom: 0;
}
.tradingview-widget-container iframe {
	border: 0 !important;
}
@media (max-width: 1100px) {
	.tag-stocks-grid {
		grid-template-columns: 1fr;
	}
	.tag-stocks-aside {
		flex-direction: row;
		flex-wrap: wrap;
	}
	.tag-stocks-aside .tag-stocks-widget {
		flex: 1 1 300px;
		min-width: 280px;
	}
}
@media (max-width: 640px) {
	.tag-stocks-hero__title {
		font-size: 22px;
	}
	.tag-stocks-aside {
		flex-direction: column;
	}
}
