:root {
	--rfzj-mobile-channel-nav-height: 50px;
}

.rfj-mobile-channel-nav,
.rfj-mobile-channel-nav-spacer {
	display: none;
}

@media (max-width: 768px) {
	.header-simple {
		display: none;
	}

	.rfj-mobile-channel-nav {
		position: fixed;
		z-index: 220;
		top: 0;
		left: 0;
		right: 0;
		display: flex;
		align-items: center;
		overflow: hidden;
		height: var(--rfzj-mobile-channel-nav-height);
		border-bottom: 1px solid rgba(0, 0, 0, .08);
		background: rgba(255, 255, 255, .98);
		box-shadow: 0 2px 12px rgba(15, 23, 42, .05);
		backdrop-filter: saturate(160%) blur(14px);
	}

	.rfj-mobile-channel-nav__scroll {
		display: flex;
		align-items: center;
		gap: 24px;
		min-width: 0;
		width: calc(100% - 52px);
		flex: 0 1 calc(100% - 52px);
		height: 100%;
		overflow-x: scroll;
		overflow-y: hidden;
		padding: 0 18px 0 16px;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		touch-action: pan-x;
		-webkit-overflow-scrolling: touch;
		position: relative;
		z-index: 1;
	}

	.rfj-mobile-channel-nav__scroll::-webkit-scrollbar {
		display: none;
	}

	.rfj-mobile-channel-nav__item {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		height: 100%;
		flex: 0 0 auto;
		color: #60646f;
		font-size: 16px;
		font-weight: 600;
		line-height: 1;
		text-decoration: none;
		white-space: nowrap;
	}

	.rfj-mobile-channel-nav__item:hover,
	.rfj-mobile-channel-nav__item:focus,
	.rfj-mobile-channel-nav__item.is-active {
		color: #111318;
		text-decoration: none;
	}

	.rfj-mobile-channel-nav__item.is-active {
		font-size: 17px;
		font-weight: 800;
	}

	.rfj-mobile-channel-nav__item.is-active::after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: 7px;
		width: 18px;
		height: 3px;
		border-radius: 999px;
		background: #111318;
		transform: translateX(-50%);
	}

	.rfj-mobile-channel-nav__fade {
		position: absolute;
		top: 0;
		bottom: 0;
		z-index: 2;
		pointer-events: none;
		opacity: 0;
		transition: opacity 0.2s ease;
	}

	.rfj-mobile-channel-nav__fade--left {
		left: 0;
		width: 32px;
		background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
	}

	.rfj-mobile-channel-nav__fade--right {
		right: 52px;
		width: 44px;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		padding-right: 4px;
		background: linear-gradient(to left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
	}

	.rfj-mobile-channel-nav__arrow {
		flex-shrink: 0;
		color: #60646f;
		animation: rfj-nav-arrow-pulse 1.8s ease-in-out infinite;
	}

	@keyframes rfj-nav-arrow-pulse {
		0%, 100% { opacity: 0.6; transform: translateX(0); }
		50% { opacity: 1; transform: translateX(2px); }
	}

	.rfj-mobile-channel-nav__fade.is-visible {
		opacity: 1;
	}

	.rfj-mobile-channel-nav__search {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 52px;
		flex: 0 0 52px;
		height: 100%;
		color: #111318;
		text-decoration: none;
		background: #fff;
		box-shadow: -10px 0 18px rgba(255, 255, 255, .92);
		position: relative;
		z-index: 3;
	}

	.rfj-mobile-channel-nav__search:hover,
	.rfj-mobile-channel-nav__search:focus {
		color: #111318;
		text-decoration: none;
	}

	.rfj-mobile-channel-nav-spacer {
		display: block;
		height: var(--rfzj-mobile-channel-nav-height);
	}
}
