.keys-tasks-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.keys-task-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .03);
	border: 1px solid rgba(255, 255, 255, .07);
	text-align: center;
	transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.keys-task-tile:hover {
	transform: translateY(-3px);
	border-color: rgba(240, 180, 41, .3);
	background: rgba(255, 255, 255, .05);
}

.keys-task-tile--locked {
	opacity: .55;
}

.keys-task-tile--locked:hover {
	transform: none;
	border-color: rgba(255, 255, 255, .07);
	background: rgba(255, 255, 255, .03);
}

.keys-task-tile__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: rgba(240, 180, 41, .12);
	color: #f0b429;
	font-size: 26px;
	overflow: hidden;
}

.keys-task-tile__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
}

.keys-task-tile__title {
	font-size: 13.5px;
	font-weight: 800;
	color: #f0f1f8;
	min-height: 34px;
}

.keys-task-tile__progress {
	width: 100%;
}

.keys-task-tile__progress-bar {
	width: 100%;
	height: 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	overflow: hidden;
}

.keys-task-tile__progress-fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #f0b429, #f5c65c);
}

.keys-task-tile__progress-label {
	margin-top: 6px;
	font-size: 11.5px;
	font-weight: 700;
	color: #8a8c9e;
}

.keys-task-tile__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-top: 2px;
}

.keys-task-tile__reward {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 800;
	color: #4fea9f;
}

.keys-task-tile__repeat {
	font-size: 10.5px;
	font-weight: 700;
	color: #8a8c9e;
	text-align: right;
}

.keys-task-tile__lock {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(79, 234, 159, .1);
	color: #4fea9f;
	font-size: 10.5px;
	font-weight: 700;
}

@media (max-width: 1199.98px) {
	.keys-tasks-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 767.98px) {
	.keys-tasks-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 479.98px) {
	.keys-tasks-grid {
		grid-template-columns: 1fr;
	}
}
