:root {
	--tabbar-height: 64px;
	--header-height: 66px;
	--header-height-compact: 53px;
}
.bjr-tabbar {
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(24px) saturate(180%) brightness(140%);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bjr-tabbar__row {
	height: var(--tabbar-height);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: center;
	justify-items: center;
}

.bjr-tabbar__row-3 {
	grid-template-columns: repeat(3, 1fr);
}
.bjr-tabbar__row-2 {
	grid-template-columns: repeat(2, 1fr);
}
.bjr-tabbar__row-1 {
	grid-template-columns: repeat(1, 1fr);
}

.tab-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 0;
	width: 100%;
	height: 100%;
	text-decoration: none;
	-webkit-touch-callout: none;
	user-select: none;
	-webkit-user-select: none;
	-webkit-tap-highlight-color: transparent;
	color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: none;
}

.tab-item.disabled, .tab-item:disabled {
	pointer-events: none;
	color: rgba(255, 255, 255, 0.2);
}

.tab-item:hover {
	color: white;
}
.tab-item:active {
	opacity: 0.85;
	transform: translateY(1px);
}

.tab-item .icon {
	width: 22px;
	height: 22px;
	display: block;
}

.tab-item .icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.tab-item .label {
	font-size: 10.5px;
	line-height: 1;
	letter-spacing: 0.2px;
	white-space: nowrap;
}

.tab-item.is-active {
	color: #ffffff;
}

@media (min-width: 768px) {
	:root { --tabbar-height: 72px; }
	.tab-item {
		flex-direction: row;
	}
	.tab-item .icon { width: 32px; height: 32px; }
	.tab-item .label { font-size: 16px; font-weight: bold; }
}


@media (prefers-color-scheme: light) {

	.bjr-tabbar {
		background: rgba(255, 255, 255, 0.75);
	}

	.bjr-tabbar .icon, .bjr-tabbar .label {
		color: black;
	}
}