/* PC 全部频道（右侧抽屉） */
.nav-all-channels-brand {
	flex-shrink: 0;
}
.nav-all-channels-brand a,
.nav-all-channels-trigger {
	display: inline-flex !important;
	align-items: center;
	gap: 5px;
	padding: 4px 12px !important;
	border-radius: 16px;
	background: linear-gradient(135deg, #fff5f8 0%, #ffe8ef 100%);
	border: 1px solid rgba(255, 107, 157, 0.45);
	color: #f5576c !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.25s ease;
	line-height: 1.4;
	white-space: nowrap;
}
.nav-all-channels-brand a:hover,
.nav-all-channels-trigger:hover {
	background: linear-gradient(135deg, #ff6b9d 0%, #f5576c 100%) !important;
	color: #fff !important;
	border-color: transparent;
	box-shadow: 0 4px 12px rgba(255, 107, 157, 0.35);
	transform: translateY(-1px);
}
.nav-all-channels-trigger__icon {
	display: inline-grid;
	grid-template-columns: repeat(2, 5px);
	gap: 2px;
	width: 12px;
	height: 12px;
}
.nav-all-channels-trigger__icon i {
	display: block;
	width: 5px;
	height: 5px;
	border-radius: 1.5px;
	background: currentColor;
}

.pd-channel-nav .nav-all-channels-trigger {
	margin-left: 4px;
}

.xz-ac-mask {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 10080;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}
.xz-ac-mask.is-open {
	opacity: 1;
	visibility: visible;
}

.xz-ac-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: min(520px, 92vw);
	height: 100vh;
	background: #fff;
	z-index: 10090;
	display: flex;
	flex-direction: column;
	box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.xz-ac-panel.is-open {
	transform: translateX(0);
}

.xz-ac-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px 12px;
	flex-shrink: 0;
}
.xz-ac-header__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	letter-spacing: 0.5px;
}
.xz-ac-close {
	width: 32px;
	height: 32px;
	border: none;
	background: #f5f5f5;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	transition: background 0.2s, color 0.2s;
}
.xz-ac-close:hover {
	background: #ffe8ef;
	color: #f5576c;
}
.xz-ac-close svg {
	width: 16px;
	height: 16px;
}

.xz-ac-tabs {
	display: flex;
	gap: 4px;
	padding: 0 16px 0;
	border-bottom: 1px solid #f0f0f0;
	overflow-x: auto;
	flex-shrink: 0;
	scrollbar-width: none;
}
.xz-ac-tabs::-webkit-scrollbar {
	display: none;
}
.xz-ac-tab {
	flex-shrink: 0;
	padding: 12px 14px 10px;
	border: none;
	background: transparent;
	font-size: 14px;
	color: #666;
	cursor: pointer;
	position: relative;
	white-space: nowrap;
	font-weight: 500;
	transition: color 0.2s;
}
.xz-ac-tab:hover {
	color: #f5576c;
}
.xz-ac-tab.is-active {
	color: #f5576c;
	font-weight: 700;
}
.xz-ac-tab.is-active::after {
	content: '';
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 0;
	height: 3px;
	border-radius: 2px 2px 0 0;
	background: linear-gradient(90deg, #ff6b9d, #f5576c);
}

.xz-ac-body {
	flex: 1;
	overflow-y: auto;
	padding: 8px 16px 32px;
	-webkit-overflow-scrolling: touch;
}

.xz-ac-section {
	padding-top: 18px;
	scroll-margin-top: 8px;
}
.xz-ac-section__title {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 700;
	color: #222;
}

.xz-ac-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px 8px;
}

.xz-ac-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #333;
	transition: transform 0.2s ease;
}
.xz-ac-item:hover {
	transform: translateY(-3px);
	color: #f5576c;
}
.xz-ac-item__icon {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	position: relative;
}
.xz-ac-item__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.xz-ac-item__icon svg {
	width: 26px;
	height: 26px;
	color: #fff;
}
.xz-ac-item__label {
	font-size: 12px;
	line-height: 1.3;
	text-align: center;
	max-width: 72px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-break: break-all;
}

/* 图标配色 */
.xz-ac-c--red { background: linear-gradient(145deg, #ff6b6b, #ee5a24); }
.xz-ac-c--pink { background: linear-gradient(145deg, #ff6b9d, #f5576c); }
.xz-ac-c--orange { background: linear-gradient(145deg, #ffa502, #ff7f50); }
.xz-ac-c--amber { background: linear-gradient(145deg, #f9ca24, #f0932b); }
.xz-ac-c--green { background: linear-gradient(145deg, #26de81, #20bf6b); }
.xz-ac-c--teal { background: linear-gradient(145deg, #2bcbba, #0fb9b1); }
.xz-ac-c--blue { background: linear-gradient(145deg, #45aaf2, #2d98da); }
.xz-ac-c--indigo { background: linear-gradient(145deg, #4b7bec, #3867d6); }
.xz-ac-c--purple { background: linear-gradient(145deg, #a55eea, #8854d0); }
.xz-ac-c--violet { background: linear-gradient(145deg, #7c5cff, #5b4bdb); }
.xz-ac-c--cyan { background: linear-gradient(145deg, #34e7e4, #0abde3); }
.xz-ac-c--rose { background: linear-gradient(145deg, #ff9ff3, #f368e0); }
.xz-ac-c--slate { background: linear-gradient(145deg, #778ca3, #4b6584); }
.xz-ac-c--wine { background: linear-gradient(145deg, #eb3b5a, #c44569); }

.xz-ac-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 28px 12px;
	color: #999;
	font-size: 13px;
}

body.xz-ac-open {
	overflow: hidden;
}

@media (max-width: 480px) {
	.xz-ac-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	.xz-ac-item__icon {
		width: 46px;
		height: 46px;
		border-radius: 14px;
	}
}
