#game-sidebar {
	display: flex;
	flex-direction: column;
	background: rgba(15, 16, 18, 0.7);
	width: 320px;
}

#sidebar-header {
	border-bottom: 1px solid var(--border);
	padding: 20px;
	font-weight: 500;
	font-size: 36px;
}

#scoreboard-section {
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-sizing: border-box;
	border-bottom: 1px solid var(--border);
	padding: 20px;
	height: auto;
}

.sidebar-section-title {
	display: flex;
	color: var(--text-primary);
	font-weight: 500;
	font-size: 18px;
}

#player-list {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.player-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	padding: 5px 20px;
	width: 100%;
}

.landlord-indicator {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	vertical-align: middle;
	margin-left: 8px;
	border: 1.5px solid #e2b42b;
	border-radius: 4px;
	background: #391c08;
	width: 20px;
	height: 20px;
	color: #e2b42b;
	font-weight: 800;
	font-size: 11px;
	line-height: 16px;
}

.player-name {
	display: block;
	min-width: 0;
	overflow: hidden;
	color: var(--text-primary);
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.card-count {
	display: flex;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	border: 1px solid var(--border);
	border-radius: 4px;
	padding: 4px 8px;
	min-width: 28px;
	color: var(--text-primary) !important;
	font-weight: 600;
	font-size: 12px;
	line-height: 18px;
}
