/*!
 * ATF Brand Search — v1.3.0
 * v1.3.0: 搜索框左对齐（跟「行业」同一列）+ 跑道圆（border-radius: 999px），
 *         跟页面上「科技/时尚/生活」这类按钮形状对齐。
 * v1.2.0: 搜索框独占一行（块级，强制换行）。
 */
.atf-bs {
	display: flex;
	justify-content: flex-start;
	width: 100%;
	flex-basis: 100%;
	margin: 0 0 14px;
	font-family: inherit;
	box-sizing: border-box;
}

.atf-bs-field {
	position: relative;
	display: block;
	flex: 0 0 auto;
	max-width: 320px;
	width: 100%;
}

.atf-bs-input {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 34px 8px 16px;
	font: inherit;
	font-size: 13px;
	line-height: 1.4;
	color: inherit;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 999px;
	opacity: 0.85;
	transition: opacity 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.atf-bs-input::-webkit-search-cancel-button {
	display: none;
}

.atf-bs-input:focus {
	opacity: 1;
	outline: 2px solid currentColor;
	outline-offset: 1px;
}

.atf-bs-input::placeholder {
	color: inherit;
	opacity: 0.5;
}

.atf-bs-clear {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	padding: 0;
	font-size: 17px;
	line-height: 1;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
	opacity: 0.6;
}

.atf-bs-clear:hover,
.atf-bs-clear:focus {
	opacity: 1;
}

.atf-bs-status {
	margin: 5px 0 0;
	font-size: 11px;
	line-height: 1.4;
	opacity: 0.6;
	min-height: 1em;
	text-align: left;
	flex-basis: 100%;
}

/* 列表被 JS 设为可滚动时，收窄滚动条以免压掉品牌胶囊的宽度 */
[data-atf-bs-scroll] {
	scrollbar-width: thin;
	overscroll-behavior: contain;
}

[data-atf-bs-scroll]::-webkit-scrollbar {
	width: 6px;
}

[data-atf-bs-scroll]::-webkit-scrollbar-thumb {
	background: currentColor;
	opacity: 0.25;
	border-radius: 3px;
}

.atf-bs-empty {
	min-height: 1px;
}
