/* 全站搜索结果 */
.search-page-body {
	background: #f6f8fc;
}
html .eeaccn_container.search-container {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	max-width: min(1280px, calc(100vw - 40px)) !important;
}
.search-main {
	flex: 1;
	min-width: 0;
	padding: 28px 0 56px;
}
.search-container .eeaccn_aside {
	flex: 0 0 311px;
	width: 311px;
	margin-left: 0;
	padding-top: 28px;
}
.search-header-img {
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--eeaccn-hero-h, 550px) !important;
	min-height: var(--eeaccn-hero-h, 550px) !important;
	padding: 0 !important;
	background-position: center center !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	overflow: visible;
}
.search-header-img .infomation {
	position: relative !important;
	inset: auto !important;
	width: 100%;
}
.search-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 26px 30px;
	border: 1px solid rgba(148, 163, 184, .22);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(15, 23, 42, .05);
}
.search-kicker {
	color: #0891b2;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .16em;
}
.search-head h1 {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	color: #0f172a;
	font-size: clamp(19px, 1.7vw, 24px);
	line-height: 1.35;
}
.search-head p {
	flex: 0 0 auto;
	margin: 0;
	color: #64748b;
	font-size: 13px;
	line-height: 1.7;
	text-align: right;
	white-space: nowrap;
}
.search-head p b { color: #2563eb; }
.search-form {
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
}
.search-form input {
	width: 260px;
	height: 42px;
	padding: 0 13px;
	border: 1px solid rgba(148, 163, 184, .34);
	border-radius: 10px;
	background: #f8fafc;
	color: #0f172a;
	font-size: 13px;
	outline: 0;
}
.search-form input:focus {
	border-color: rgba(37, 99, 235, .55);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}
.search-form button {
	height: 42px;
	padding: 0 20px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #2563eb, #0891b2);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.search-empty {
	margin-top: 24px;
	padding: 28px 30px;
	border: 1px dashed rgba(148, 163, 184, .36);
	border-radius: 16px;
	background: rgba(255, 255, 255, .6);
}
.search-empty b { display: block; margin-bottom: 8px; color: #0f172a; font-size: 16px; }
.search-empty p { margin: 0 0 12px; color: #64748b; font-size: 13px; }
.search-suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.search-suggest a,
.search-more {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border: 1px solid rgba(37, 99, 235, .18);
	border-radius: 999px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 12px;
}
.search-results-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	align-items: start;
	gap: 22px;
}
.search-results__col { min-width: 0; }
.search-group { margin-top: 0; }
.search-results__col .search-group + .search-group { margin-top: 26px; }
.search-group--album { margin-top: 30px; }
.search-group__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
	padding: 0 4px;
}
.search-group__head h2 {
	margin: 0;
	color: #0f172a;
	font-size: 17px;
}
.search-group__head span { color: #64748b; font-size: 12px; }
.search-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}
.search-item {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid rgba(148, 163, 184, .22);
	border-radius: 11px;
	background: #fff;
	box-shadow: 0 3px 10px rgba(15, 23, 42, .025);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.search-item:hover {
	border-color: rgba(37, 99, 235, .30);
	box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
	transform: translateY(-1px);
}
.search-item__type {
	flex: 0 0 50px;
	padding: 3px 0;
	border-radius: 6px;
	background: #eef2ff;
	color: #4338ca;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}
.search-item__type--kb { background: #ecfdf5; color: #047857; }
.search-item__type--page { background: #fff7ed; color: #c2410c; }
.search-item__body { flex: 1; min-width: 0; }
.search-item__body b {
	display: block;
	overflow: hidden;
	color: #0f172a;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.search-item__arrow { color: #94a3b8; font-size: 13px; }
.search-card {
	display: flex;
	align-items: stretch;
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(148, 163, 184, .22);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(15, 23, 42, .04);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.search-card:hover {
	border-color: rgba(37, 99, 235, .34);
	box-shadow: 0 14px 32px rgba(15, 23, 42, .09);
	transform: translateY(-2px);
}
.search-card__media {
	flex: 0 0 148px;
	width: 148px;
	min-height: 112px;
	overflow: hidden;
	background: linear-gradient(135deg, #eef3fb, #e2ecf7);
}
.search-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 112px;
	object-fit: cover;
	transition: transform .35s ease;
}
.search-card:hover .search-card__media img { transform: scale(1.035); }
.search-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	gap: 7px;
	padding: 15px 18px 14px;
}
.search-card__type {
	align-self: flex-start;
	padding: 3px 8px;
	border-radius: 999px;
	background: #eef2ff;
	color: #4338ca;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1.4;
}
.search-card__type--page { background: #fff7ed; color: #c2410c; }
.search-card__body b {
	display: -webkit-box;
	overflow: hidden;
	color: #0f172a;
	font-size: 15.5px;
	font-weight: 650;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.search-card__body small {
	display: -webkit-box;
	overflow: hidden;
	color: #64748b;
	font-size: 12.5px;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.search-card__meta {
	margin-top: auto;
	color: #2563eb;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .02em;
}
.search-card--page .search-card__media { flex-basis: 108px; width: 108px; }
.search-card--page .search-card__body { padding: 13px 14px 12px; }
.search-card--page .search-card__body b { font-size: 14px; }

.search-album-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	min-width: 0;
}
.search-album {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(148, 163, 184, .22);
	border-radius: 12px;
	background: #fff;
}
.search-album:hover { border-color: rgba(37, 99, 235, .30); }
.search-album__thumb {
	flex: 0 0 72px;
	width: 72px;
	height: 58px;
	border-radius: 8px;
	overflow: hidden;
	background: #e2e8f0;
}
.search-album__thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-album__body { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.search-album__body b { display: block; color: #0f172a; font-size: 13px; }
.search-album__body small { display: block; overflow: hidden; margin-top: 2px; color: #64748b; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
body.dark-theme .search-page-body,
html[data-night='night'] .search-page-body { background: #0b1220; }
body.dark-theme .search-head,
html[data-night='night'] .search-head,
body.dark-theme .search-item,
html[data-night='night'] .search-item,
body.dark-theme .search-card,
html[data-night='night'] .search-card { background: #111c2e; border-color: rgba(148, 163, 184, .2); }
body.dark-theme .search-head h1,
html[data-night='night'] .search-head h1,
body.dark-theme .search-item__body b,
html[data-night='night'] .search-item__body b,
body.dark-theme .search-card__body b,
html[data-night='night'] .search-card__body b { color: #e6edf7; }
body.dark-theme .search-card__body small,
html[data-night='night'] .search-card__body small { color: #9fb0c7; }
@media (max-width: 1000px) {
	html .eeaccn_container.search-container { display: block; }
	.search-container .eeaccn_aside { display: none; }
	.search-results-grid { grid-template-columns: 1fr; gap: 0; }
	.search-head { display: flex; flex-wrap: wrap; row-gap: 8px; }
	.search-head p { text-align: left; white-space: normal; }
	.search-form { margin-top: 16px; }
	.search-form input { flex: 1; width: auto; }
}
@media (max-width: 620px) {
	.search-header-img { height: var(--eeaccn-hero-h-sm, 18.5rem) !important; min-height: var(--eeaccn-hero-h-sm, 18.5rem) !important; padding: 0 !important; }
	.search-head { padding: 20px 18px; }
	.search-album-grid { grid-template-columns: 1fr; }
	.search-item { gap: 9px; padding: 10px; }
	.search-item__type { flex-basis: 46px; }
	.search-card__media { flex-basis: 104px; width: 104px; min-height: 96px; }
	.search-card__media img { min-height: 96px; }
	.search-card__body { gap: 5px; padding: 12px 13px 11px; }
	.search-card__body b { font-size: 14.5px; }
	.search-card--page .search-card__media { flex-basis: 88px; width: 88px; }
}
