.players-grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 12px;
}

.player-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--colorBlock1);
	padding: 14px 20px;
	text-decoration: none;
	color: var(--text);
	position: relative;
	image-rendering: pixelated;
	transition: filter 0.2s, opacity 0.2s;
}

a.player-card:hover {
	filter: brightness(0.9);
}

.player-card-unlinked {
	opacity: 0.55;
	filter: grayscale(100%);
}

.player-card-left {
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 0; /* for text truncation */
}

.player-avatar {
	width: 48px;
	height: 48px;
	object-fit: cover;
	margin-right: 20px;
	flex-shrink: 0;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
	/* Minecraft-like pixelated rounded corners */
	clip-path: polygon(0px calc(100% - 4px), 2px calc(100% - 4px), 2px calc(100% - 2px), 4px calc(100% - 2px), 4px 100%, calc(100% - 4px) 100%, calc(100% - 4px) calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) calc(100% - 4px), 100% calc(100% - 4px), 100% 4px, calc(100% - 2px) 4px, calc(100% - 2px) 2px, calc(100% - 4px) 2px, calc(100% - 4px) 0px, 4px 0px, 4px 2px, 2px 2px, 2px 4px, 0px 4px);
}

.player-info {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.player-name {
	font-family: "Pixy", sans-serif;
	font-size: 20px;
	color: var(--text-primary);
	margin-bottom: 0px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.player-status-wall {
	font-size: 13px;
	color: var(--text-secondary);
	opacity: 0.8;
	font-style: italic;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.empty-state {
	text-align: center;
	padding: 40px 20px;
	color: var(--text-secondary);
	font-size: 15px;
	border-radius: 12px;
	border: 1px dashed var(--border);
	background: rgba(0,0,0,0.1);
	width: 100%;
	box-sizing: border-box;
}

.online-status {
	display: flex;
	align-items: center;
	color: #55ff55;
	font-family: "Pixy", sans-serif;
	font-size: 14px;
	text-shadow: 0 0 5px rgba(85, 255, 85, 0.4);
}
