#apps {
	color: #fff;
	font-family: DIN, sans-serif;
}

#UI #apps > div {
	min-width: min(736px, calc(100vw - 48px));
	overflow-y: auto;
	width: 100%;
	-webkit-overflow-scrolling: touch;
}

#UI #apps > div > section {
	max-width: none;
	padding: 24px 0 48px;
	text-align: left;
}

.apps-header,
.apps-status-row,
.apps-grid,
.apps-meta {
	box-sizing: border-box;
	max-width: 584px;
	width: calc(100% - 48px);
}

.apps-header {
	border-top: 1px solid rgba(128, 128, 128, 0.25);
	display: grid;
	gap: 5px;
	margin: 0 auto 12px;
	padding: 22px 0 14px;
	text-align: center;
}

.apps-kicker {
	color: rgba(255, 255, 255, 0.48);
	display: block;
	font-family: DIN, sans-serif;
	font-size: 10px;
	font-weight: 100;
	letter-spacing: 2px;
	text-transform: uppercase;
}

#apps h2 {
	color: #fff;
	font-family: DIN, sans-serif;
	font-size: 22px;
	font-weight: 100;
	letter-spacing: 3px;
	line-height: 1.1;
	margin: 0;
	text-transform: uppercase;
}

.apps-header p {
	color: rgba(255, 255, 255, 0.58);
	font-family: DIN, sans-serif;
	font-size: 12px;
	font-weight: 100;
	line-height: 1.35;
	margin: 0;
}

.apps-status-row {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 auto 8px;
}

#apps-status,
.apps-meta {
	color: rgba(255, 255, 255, 0.42);
	font-family: DIN, sans-serif;
	font-size: 10px;
	font-weight: 100;
	letter-spacing: 1px;
	margin: 0;
	text-transform: uppercase;
}

#apps-status {
	text-align: center;
	width: 100%;
}

.apps-grid {
	contain: layout paint;
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
	margin: 0 auto;
}

.app-card,
.apps-state {
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 3px;
	box-sizing: border-box;
	margin: 0;
	min-height: 164px;
	padding: 12px;
}

.app-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	opacity: 0;
	transform: translateY(6px);
	animation: app-card-in 0.4s cubic-bezier(0, 1, 1, 1) forwards;
	animation-delay: calc(var(--i, 0) * 24ms);
	transition: background 0.125s ease-in-out, transform 0.125s ease-in-out;
}

.app-card:hover {
	background: rgba(255, 255, 255, 0.125);
	transform: translateY(-1px);
}

@keyframes app-card-in {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.app-card > header {
	align-items: center;
	display: flex;
	justify-content: flex-start;
}

.app-number {
	color: rgba(255, 255, 255, 0.38);
	font-family: DIN, sans-serif;
	font-size: 10px;
	font-weight: 100;
	letter-spacing: 2px;
}

.app-card h3 {
	font-family: DIN, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.15;
	margin: 8px 0 0;
	overflow-wrap: anywhere;
}

.app-card h3 a {
	color: #fff;
	text-decoration: none;
}

.app-card h3 a:hover,
.app-card h3 a:focus-visible {
	color: rgba(192, 255, 255, 0.95);
}

.app-details,
.app-updated {
	color: rgba(255, 255, 255, 0.55);
	font-family: DIN, sans-serif;
	font-size: 11px;
	font-weight: 100;
	line-height: 1.25;
	margin: 0;
	overflow-wrap: anywhere;
}

.app-updated {
	color: rgba(255, 255, 255, 0.36);
}

.app-card footer {
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	gap: 10px;
	margin-top: auto;
	padding-top: 8px;
}

.apps-link {
	align-items: center;
	color: rgba(255, 255, 255, 0.58);
	display: inline-flex;
	font-family: DIN, sans-serif;
	font-size: 10px;
	font-weight: 100;
	gap: 3px;
	text-decoration: none;
}

.apps-link:hover,
.apps-link:focus-visible {
	color: #fff;
}

.apps-link-primary {
	color: rgba(192, 255, 255, 0.9);
}

.apps-link svg {
	fill: currentColor;
	height: 12px;
	width: 12px;
}

.apps-state {
	align-items: flex-start;
	color: rgba(255, 255, 255, 0.62);
	display: flex;
	flex-direction: column;
	font-family: DIN, sans-serif;
	font-size: 12px;
	font-weight: 100;
	gap: 6px;
	justify-content: center;
	min-height: 120px;
}

.apps-state strong {
	color: #fff;
	font-size: 15px;
	font-weight: 400;
}

.apps-meta {
	margin: 12px auto 0;
}

@media (max-width: 560px) {
	#UI #apps > div {
		min-width: 0;
		padding: 24px 0;
		width: calc(100vw - 48px);
	}

	.apps-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.app-card {
		animation: none;
		opacity: 1;
		transform: none;
	}
}
