/* 标签输入组件（后台 + 前台会员中心共用） */
.my-tags { position: relative; width: 100%; max-width: 720px; }

.my-tags-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 4px 6px;
	border: 1px solid #d9dee5;
	border-radius: 4px;
	background: #fff;
	cursor: text;
	transition: border-color .15s, box-shadow .15s;
}
.my-tags.my-tags-focus .my-tags-box {
	border-color: #2890ff;
	box-shadow: 0 0 0 2px rgba(40, 144, 255, .12);
}

.my-tags-chips { display: contents; }

.my-tags-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	max-width: 100%;
	padding: 2px 6px 2px 9px;
	border-radius: 3px;
	background: #eef6ff;
	border: 1px solid #cfe5ff;
	color: #1a6fc4;
	font-size: 13px;
	line-height: 20px;
	word-break: break-all;
}
.my-tags-chip .my-tags-x {
	font-style: normal;
	font-size: 14px;
	line-height: 1;
	color: #7aa9d6;
	cursor: pointer;
	padding: 0 1px;
}
.my-tags-chip .my-tags-x:hover { color: #d9534f; }

.my-tags-input {
	flex: 1 1 120px;
	min-width: 90px;
	height: 26px;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	padding: 0 2px !important;
	font-size: 13px;
	color: inherit;
}

.my-tags-drop {
	display: none;
	position: absolute;
	z-index: 9999;
	left: 0;
	right: 0;
	top: 100%;
	margin-top: 4px;
	max-height: 260px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #d9dee5;
	border-radius: 4px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}
.my-tags-drop.on { display: block; }

.my-tags-op {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 10px;
	font-size: 13px;
	color: #333;
	cursor: pointer;
}
.my-tags-op:hover, .my-tags-op.active { background: #f2f8ff; color: #1a6fc4; }
.my-tags-op span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.my-tags-op b { font-weight: 600; color: #d9534f; }
.my-tags-op i {
	font-style: normal;
	font-size: 12px;
	color: #9aa5b1;
	flex: none;
}
.my-tags-op.is-new i { color: #35aa47; }
.my-tags-empty { padding: 9px 10px; font-size: 13px; color: #9aa5b1; }

.my-tags-tip { margin-top: 4px; font-size: 12px; color: #9aa5b1; }
.my-tags-tip.err { color: #d9534f; }

/* 前台标签展示 */
.my-tag-item {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 2px 10px;
	border-radius: 3px;
	background: #f2f7fd;
	border: 1px solid #dbe8f6;
	color: #2b7cd3;
	font-size: 13px;
	line-height: 20px;
	text-decoration: none !important;
	transition: all .15s;
}
.my-tag-item:hover { background: #2890ff; border-color: #2890ff; color: #fff; }

.my-tags-inline { margin: 2px 0 0; }
.my-tags-inline .my-tag-item { font-size: 12px; padding: 1px 8px; }

@media (max-width: 600px) {
	.my-tags { max-width: 100%; }
	.my-tags-op { padding: 9px 10px; }
}

/* 详情页标签容器 */
.kgs_art_tags, .pkg_tags { margin-top: 12px; padding: 10px 0 4px; border-top: 1px dashed #eceff4; }
