/* games page specific styles */

/* game item uses game-header/game-name which conflicts with global game-list-header/game-list-name */
.game-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.375rem;
}

.game-name {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-primary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
	min-width: 0;
	margin-bottom: 0;
}

/* games page tags row has smaller gap */
.game-tags-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
}

/* games page tag size override */
.game-tag {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 0.1875rem 0.5rem;
	border-radius: 3px;
	background-color: var(--bg-tertiary);
	color: var(--text-secondary);
	border: 1px solid var(--border-color);
}

.game-tag-sm {
	font-size: 0.5625rem;
	padding: 0.125rem 0.375rem;
}

/* no games message */
.no-games {
	text-align: center;
	padding: 3rem;
	color: var(--text-dim);
	font-style: italic;
}

/* attribution margin for games page */
.attribution-box {
	margin-top: 1.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
	.game-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}
}
