.card {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	margin-bottom: 2rem;
	border: 1px solid #eef2f6;
}

.card-header {
	padding: 1.5rem 2rem;
	border-bottom: 1px solid #eef2f6;
	background-color: #fefefe;
}

.card-header h2 {
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -0.3px;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: #0f172a;
}

.card-header h2 i {
	color: #3b82f6;
	font-size: 1.4rem;
}

.card-body {
	padding: 1.8rem 2rem;
}

.input-label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	margin-bottom: 1rem;
	font-weight: 500;
}

.input-label span:first-child {
	font-size: 0.95rem;
	color: #334155;
}

.count-badge {
	background: #eef2ff;
	padding: 0.2rem 0.75rem;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 500;
	color: #1e40af;
	transition: all 0.2s;
}

/* 输入框容器 */
.input-wrapper {
	width: 100%;
}

textarea {
	width: 100%;
	border: 1px solid #cfdee9;
	border-radius: 8px;
	padding: 1rem 1.2rem;
	font-family: 'Inter', monospace;
	font-size: 0.9rem;
	line-height: 1.5;
	resize: vertical;
	transition: 0.2s;
	background: #fafcff;
}

textarea:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

/* 校验错误状态 */
textarea.input-error {
	border-color: #ef4444;
	background-color: #fff5f5;
}

.validation-message {
	font-size: 0.8rem;
	margin-top: 0.6rem;
	padding-left: 0.5rem;
	display: flex;
	align-items: center;
	gap: 6px;
	color: #dc2626;
	flex-wrap: wrap;
	min-height: 2rem;
}

.action-bar {
	margin-top: 1rem;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.check-btn {
	background: #1e3a8a;
	color: white;
	border: none;
	padding: 0.7rem 2rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	transition: all 0.2s;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.check-btn i {
	font-size: 1rem;
}

.check-btn:hover:not(:disabled) {
	background: #0f2b6d;
	transform: translateY(-1px);
}

.check-btn:disabled {
	background: #94a3b8;
	cursor: not-allowed;
	opacity: 0.7;
}

/* 概览卡片 */
.stats-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem;
	margin-bottom: 1.5rem;
}

.stat-item {
	flex: 1;
	min-width: 140px;
	background: #f8fafc;
	border-radius: 8px;
	padding: 1.2rem 1rem;
	text-align: center;
	border: 1px solid #e9edf2;
	transition: all 0.2s ease;
	cursor: pointer;
}

.stat-item:hover {
	background: #f1f5f9;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	border-color: #cbd5e1;
}

.stat-item.active-filter {
	background: #eef2ff;
	border-color: #3b82f6;
	box-shadow: 0 2px 8px rgba(59,130,246,0.15);
}

.stat-number {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 0.25rem;
}

.stat-label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 500;
	color: #475569;
}

.stat-sub {
	font-size: 0.7rem;
	color: #6c757d;
	margin-top: 4px;
}

.filter-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.2rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #eef2f6;
}

.current-filter {
	font-size: 0.85rem;
	background: #f1f5f9;
	padding: 0.3rem 1rem;
	border-radius: 8px;
	color: #334155;
}

.clear-filter {
	background: none;
	border: none;
	color: #3b82f6;
	font-size: 0.8rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 0.3rem 0.8rem;
	border-radius: 8px;
	transition: background 0.2s;
}

.clear-filter:hover {
	background: #eef2ff;
}

.results-list {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.result-item {
	background: #ffffff;
	border: 1px solid #eef2f8;
	border-radius: 8px;
	transition: all 0.2s;
	overflow: hidden;
}

.result-header {
	display: flex;
	align-items: center;
	padding: 1rem 1.5rem;
	cursor: pointer;
	background: #fff;
	transition: background 0.1s;
	gap: 12px;
	flex-wrap: wrap;
}

.result-header:hover {
	background: #fafcff;
}

.status-icon {
	width: 32px;
	text-align: center;
	font-size: 1.3rem;
}

.status-icon.verified i { color: #10b981; }
.status-icon.pending i { color: #f59e0b; }
.status-icon.notfound i { color: #ef4444; }

.original-text {
	flex: 3;
	font-size: 0.9rem;
	font-weight: 500;
	color: #0f172a;
	word-break: break-word;
	line-height: 1.4;
	background: #f8fafd;
	padding: 0.3rem 0.8rem;
	border-radius: 8px;
	font-family: monospace;
}

.result-badge {
	flex-shrink: 0;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.9rem;
	border-radius: 8px;
	background: #f1f5f9;
	color: #1e293b;
}

.result-badge.verified { background: #d1fae5; color: #065f46; }
.result-badge.pending { background: #fedfaa; color: #9b4d00; }
.result-badge.notfound { background: #fee2e2; color: #b91c1c; }

.expand-icon {
	color: #7c8ba0;
	font-size: 0.9rem;
	transition: transform 0.2s;
}

.detail-panel {
	border-top: 1px solid #eef2f6;
	padding: 1.3rem 1.8rem;
	background: #fefefe;
	display: none;
	flex-direction: column;
	gap: 1.2rem;
}

.detail-panel.open {
	display: flex;
}

.dimension-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	background: #f9fafc;
	border-radius: 8px;
	padding: 1rem;
}

.dimension-item {
	flex: 1;
	min-width: 130px;
	background: white;
	border-radius: 8px;
	padding: 0.5rem 0.8rem;
	text-align: center;
}

.dim-name {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	color: #5b6e8c;
}

.dim-score {
	font-size: 1rem;
	font-weight: 700;
	margin-top: 6px;
	color: #1f2a44;
}

.matched-card {
	background: #ffffff;
	border-radius: 8px;
	padding: 1rem;
	transition: 0.1s;
}

.matched-title {
	font-weight: 700;
	font-size: 1rem;
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.matched-title a {
	color: #2563eb;
	text-decoration: none;
	font-weight: 500;
}

.matched-title a:hover {
	text-decoration: underline;
}

.matched-meta {
	font-size: 0.85rem;
	color: #475569;
	margin: 0.3rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.source-links {
	margin-top: 0.6rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.source-link {
	background: #eff3f8;
	padding: 0.2rem 0.7rem;
	border-radius: 8px;
	font-size: 0.75rem;
	color: #1f4f9e;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.source-link i {
	font-size: 0.7rem;
}

.empty-state {
	text-align: center;
	padding: 3rem;
	color: #6c86a3;
}
