.mf-rand-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	align-items: start;
}
@media (min-width: 640px) {
	.mf-rand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.mf-rand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}
.mf-rand-grid.is-masonry {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 10px;
}
@media (min-width: 1024px) {
	.mf-rand-grid.is-masonry { gap: 12px; }
}
.mf-rand-col {
	flex: 1 1 0;
	width: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
@media (min-width: 1024px) {
	.mf-rand-col { gap: 12px; }
}
.mf-rand-card {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	box-sizing: border-box;
}
.mf-rand-card a { display: block; color: inherit; }
.mf-rand-thumb {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: #111;
	line-height: 0;
}
.mf-rand-thumb img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
}
.mf-rand-name {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px 10px 9px;
	background: linear-gradient(transparent, rgba(0,0,0,.72));
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.mf-rand-status {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 28px 0 12px;
	min-height: 48px;
}
.mf-rand-status img { width: 42px; height: 42px; }
.mf-rand-refresh {
	display: none;
	text-align: center;
	color: #fff !important;
	background-image: linear-gradient(90deg,#00dade,#fb00ff);
	font-weight: 700;
	padding: 14px 18px;
	border-radius: 10px;
	width: 100%;
	margin: 8px 0 40px;
}
.mf-rand-refresh.is-on { display: block; }

.mf-trend-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 22px;
}
.mf-trend-tabs a {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	color: #333;
	background: #eee;
	text-decoration: none;
}
.dark .mf-trend-tabs a {
	background: #2a2a2a;
	color: #eee;
}
.mf-trend-tabs a.is-on {
	color: #fff;
	background-image: linear-gradient(90deg,#00dade,#fb00ff);
}
