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

.apps-corner {
	position: fixed;
	top: 0.75rem;
	right: 1rem;
	z-index: 50;
}

.apps-btn {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--mute, #6e6e73);
	cursor: pointer;
}

.apps-btn:hover,
.apps-btn[aria-expanded="true"] {
	background: var(--card, #f5f5f7);
	color: var(--fg, #1d1d1f);
}

.apps-pop {
	position: absolute;
	top: 2.75rem;
	right: 0;
	z-index: 60;
	width: 17.5rem;
	padding: 0.75rem;
	border: 1px solid var(--line, rgb(0 0 0 / 0.1));
	border-radius: 1.5rem;
	background: var(--card, #f5f5f7);
	box-shadow: 0 24px 48px -16px rgb(0 0 0 / 0.35);
}

.apps-pop[hidden] {
	display: none;
}

.apps-pop ul {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apps-pop li a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	padding: 0.7rem 0.3rem;
	border-radius: 1rem;
	color: var(--fg, #1d1d1f);
	font-size: 0.75rem;
	font-weight: 500;
	text-decoration: none;
}

.apps-pop li a:hover,
.apps-pop li a[aria-current="page"] {
	background: var(--bg, #fff);
}

.apps-tile {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.9rem;
	background: var(--bg, #fff);
	color: var(--accent, #0071e3);
}

.apps-pop li a:hover .apps-tile,
.apps-pop li a[aria-current="page"] .apps-tile {
	background: var(--card, #f5f5f7);
}

.apps-all {
	display: block;
	margin-top: 0.4rem;
	padding: 0.5rem;
	border-radius: 0.75rem;
	color: var(--accent, #0071e3);
	font-size: 0.75rem;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
}

.apps-all:hover {
	background: var(--bg, #fff);
}

.apps-btn svg {
	width: 18px;
	height: 18px;
	margin: 0;
	fill: currentColor;
	stroke: none;
}

.apps-tile svg {
	width: 22px;
	height: 22px;
	margin: 0;
	fill: none;
	stroke: currentColor;
}
