html .joe_header__above {
	z-index: 1030;
}

html .joe_header__slideout {
	padding-top: 0;
}

@media (max-width: 767px) {
	html .joe_header__slideout {
		top: var(--joe-mobile-header-height, 78px);
	}
}

html .joe_header__mask.slideout {
	z-index: unset;
}

.footer-tabbar {
	display: none;
	position: fixed;
	left: 10px;
	right: 10px;
	bottom: calc(8px + constant(safe-area-inset-bottom));
	bottom: calc(8px + env(safe-area-inset-bottom));
	width: auto;
	min-height: 62px;
	padding: 6px;
	z-index: 1100;
	pointer-events: auto;
	align-items: center;
	justify-content: space-between;
	text-align: center;
	background: rgba(255, 255, 255, .94);
	border: 1px solid rgba(226, 232, 240, .92);
	border-radius: 20px;
	box-shadow: 0 16px 38px rgba(15, 23, 42, .16);
	backdrop-filter: saturate(1.25) blur(18px);
	-webkit-backdrop-filter: saturate(1.25) blur(18px);
	transition: transform .25s ease, opacity .25s ease;
}

.scroll-ing .scrolling-hide.footer-tabbar {
	transform: translateY(calc(120% + env(safe-area-inset-bottom)));
}

.footer-tabbar .tabbar-item,
.footer-tabbar .tabbar-item a {
	flex: 1;
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 50px;
	padding: 6px 4px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
	color: #6b7280;
	border-radius: 16px;
	text-decoration: none;
	pointer-events: auto;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.footer-tabbar .tabbar-item:active {
	transform: scale(.96);
}

.footer-tabbar .tabbar-item.active,
.footer-tabbar .tabbar-item.actived {
	color: #1683f7;
	background: linear-gradient(180deg, rgba(236, 247, 255, .98), rgba(232, 242, 255, .9));
}

.footer-tabbar .tabbar-item>icon,
.footer-tabbar .tabbar-item>svg {
	display: inline-flex;
	width: 24px;
	height: 24px;
	align-items: center;
	justify-content: center;
	font-size: var(--tabbar-icon-size, 22px);
	line-height: 1;
}

.footer-tabbar .tabbar-item .svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.footer-tabbar text {
	display: block;
	width: 100%;
	overflow: hidden;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.footer-tabbar .tabbar-item>badge,
.footer-tabbar count {
	position: absolute;
	top: 4px;
	right: calc(50% - 24px);
	min-width: 16px;
	height: 16px;
	padding: 0 5px;
	color: #fff;
	font-size: 10px;
	line-height: 16px;
	background: #ff5b6f;
	border: 2px solid #fff;
	border-radius: 999px;
	transform: none;
}

.footer-tabbar count:empty {
	display: none;
}

@media (prefers-color-scheme: dark) {
	.footer-tabbar {
		background: rgba(25, 29, 35, .92);
		border-color: rgba(255, 255, 255, .08);
		box-shadow: 0 16px 40px rgba(0, 0, 0, .34);
	}

	.footer-tabbar .tabbar-item,
	.footer-tabbar .tabbar-item a {
		color: rgba(229, 231, 235, .72);
	}

	.footer-tabbar .tabbar-item.active,
	.footer-tabbar .tabbar-item.actived {
		color: #55a7ff;
		background: rgba(24, 131, 247, .14);
	}
}

@media (max-width: 767px) {
	html .footer-tabbar {
		display: flex;
	}
}

@media (min-width: 768px) {
	html .footer-tabbar {
		display: none !important;
	}
}
