/* =============================================================
 * search.css — PC 搜索入口页（label/search）
 * ============================================================= */

.pcs-wrap {
	min-height: calc(100vh - 120px);
	display: flex; flex-direction: column; align-items: center;
	padding: 40px 20px 60px;
}
.pcs-hero { width: 100%; max-width: 680px; margin-bottom: 32px; }
.pcs-logo-hint { text-align: center; margin-bottom: 24px; font-size: 22px; font-weight: 700; color: var(--el-text-primary, #303133); }
.pcs-logo-hint span { color: var(--el-color-warning, #e6a23c); }

/* 模块 Tab */
.pcs-mod-tabs {
	display: flex; gap: 0; margin-bottom: 12px;
	border-radius: 8px 8px 0 0; overflow: hidden;
	border: 1px solid var(--el-border-color, #dcdfe6); border-bottom: none;
}
.pcs-mod-tab {
	flex: 1; text-align: center; padding: 9px 0;
	font-size: 13px; font-weight: 600; cursor: pointer;
	color: var(--el-text-secondary, #909399);
	background: var(--el-fill-color-light, #f5f7fa);
	border: none; transition: all .2s; text-decoration: none;
}
.pcs-mod-tab.active { color: #fff; background: var(--el-color-warning, #e6a23c); }
.pcs-mod-tab:not(.active):hover { color: var(--el-color-warning, #e6a23c); background: var(--el-fill-color, #f0f2f5); }

/* 搜索框 */
.pcs-form {
	display: flex; gap: 0;
	border: 2px solid var(--el-color-warning, #e6a23c);
	border-radius: 0 0 10px 10px; overflow: hidden; transition: box-shadow .2s;
}
.pcs-form:focus-within { box-shadow: 0 0 0 3px rgba(230, 162, 60, .2); }
.pcs-input {
	flex: 1; border: none; outline: none; padding: 13px 16px;
	font-size: 16px;
	background: var(--el-bg-color, #fff);
	color: var(--el-text-primary, #303133);
}
.pcs-input::placeholder { color: var(--el-text-placeholder, #c0c4cc); }
.pcs-submit {
	padding: 0 28px;
	background: var(--el-color-warning, #e6a23c);
	color: #fff; border: none; font-size: 16px; font-weight: 600;
	cursor: pointer; display: flex; align-items: center; gap: 6px;
	white-space: nowrap; transition: background .2s;
}
.pcs-submit:hover { background: #f0a020; }

/* 搜索历史 / 热词区 */
.pcs-content { width: 100%; max-width: 680px; }
.pcs-section { margin-bottom: 28px; }
.pcs-sec-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pcs-sec-hd span { font-size: 14px; font-weight: 700; color: var(--el-text-primary, #303133); }
.pcs-sec-hd i { font-size: 18px; cursor: pointer; color: var(--el-text-placeholder, #c0c4cc); transition: color .2s; }
.pcs-sec-hd i:hover { color: #ff4757; }

.pcs-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pcs-tag {
	display: inline-block; padding: 5px 16px; border-radius: 20px;
	font-size: 13px; text-decoration: none; color: inherit;
	background: var(--el-fill-color-light, #f5f7fa);
	border: 1px solid var(--el-border-color-lighter, #ebeef5);
	transition: all .2s; cursor: pointer;
}
.pcs-tag:hover { color: var(--el-color-warning, #e6a23c); border-color: var(--el-color-warning, #e6a23c); background: rgba(230, 162, 60, .06); }
.pcs-hot-tag { background: var(--el-fill-color-light, #f5f7fa); }
.pcs-hot-tag:nth-child(1),
.pcs-hot-tag:nth-child(2),
.pcs-hot-tag:nth-child(3) { color: #ff4757; border-color: rgba(255, 71, 87, .3); background: rgba(255, 71, 87, .05); }
.pcs-empty { font-size: 13px; color: var(--el-text-placeholder, #c0c4cc); }

/* 深色模式 */
html[data-theme="dark"] .pcs-input { background: #1e1e2e; color: #e0e0e0; }
html[data-theme="dark"] .pcs-mod-tab:not(.active) { background: #252535; color: #aaa; }
html[data-theme="dark"] .pcs-mod-tab:not(.active):hover { background: #2a2a3e; }
html[data-theme="dark"] .pcs-tag { background: #252535; border-color: #3a3b4a; color: #ccc; }
html[data-theme="dark"] .pcs-hot-tag:nth-child(1),
html[data-theme="dark"] .pcs-hot-tag:nth-child(2),
html[data-theme="dark"] .pcs-hot-tag:nth-child(3) { background: rgba(255, 71, 87, .1); }
