.ng-history-widget {
	margin: 0 0 24px;
}
.ng-history-widget[hidden] {
	display: none;
}
.ng-history-title {
	font-weight: 700;
	font-size: 16px;
	color: #3a4a2e;
	margin: 0 0 10px;
}
.ng-history-empty {
	font-size: 13px;
	color: #5a6b50;
	margin: 0 0 4px;
}
.ng-history-notice {
	font-size: 11px;
	color: #8a9a7e;
	font-style: italic;
	margin: 8px 0 0;
}
.ng-history-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scrollbar-width: thin;
}
.ng-history-widget:not(.ng-history-widget-strip) .ng-history-list {
	flex-wrap: wrap;
}
.ng-history-item {
	flex: 0 0 auto;
	width: 140px;
}
.ng-history-link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-decoration: none;
	color: inherit;
}
.ng-history-thumb {
	width: 100%;
	height: 90px;
	object-fit: cover;
	border-radius: 8px;
	background: #f3f7ee;
}
.ng-history-pop {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #3a4a2e;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ng-history-sci {
	display: block;
	font-size: 11px;
	font-style: italic;
	color: #8a9a7e;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ng-history-clear {
	margin-top: 10px;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 6px;
	border: 1px solid #c7c5bf;
	background: #fff;
	color: #46453f;
	cursor: pointer;
}
.ng-history-clear:hover {
	background: #f3f3f1;
}

@media (prefers-color-scheme: dark) {
	.ng-history-title {
		color: #e8f0e0;
	}
	.ng-history-empty,
	.ng-history-notice {
		color: #a9bb9d;
	}
	.ng-history-pop {
		color: #e8f0e0;
	}
	.ng-history-thumb {
		background: #1a2415;
	}
	.ng-history-clear {
		background: transparent;
		border-color: #4a4942;
		color: #cfcec6;
	}
	.ng-history-clear:hover {
		background: #2a2a26;
	}
}
