.nav {
	display: none;
	height: var(--mobile-bottom-nav-height);
	background-color: var(--background-secondary);
	border-top: 1px solid var(--background-header-secondary);
	flex-shrink: 0;
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (max-width: 768px) {
	.nav {
		display: flex;
		align-items: center;
		justify-content: space-around;
	}
}

.tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--interactive-normal);
	padding: 8px 16px;
	transition: color 0.15s;
}

.tab:hover {
	color: var(--interactive-hover);
}

.active {
	color: var(--interactive-active) !important;
}

.label {
	font-size: 0.625rem;
	font-weight: 600;
}

/* The "You" tab uses the current user's avatar instead of a generic User
   icon. The avatar wrapper reserves the same 24px square the other icons
   take, so the tabs line up vertically. */
.youTab {
	padding-top: 6px;
}

.youAvatar {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	width: 24px;
	line-height: 0;
}

.tabIconWrap {
	position: relative;
	display: inline-flex;
}

.unreadDot {
	position: absolute;
	top: -2px;
	right: -3px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: var(--status-danger, #ed4245);
	border: 2px solid var(--background-tertiary, #1e1f22);
	box-sizing: content-box;
}
