.container {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	min-height: 0;
}

.body {
	display: flex;
	flex: 1;
	min-width: 0;
	min-height: 0;
	position: relative;
	contain: layout style;
	overflow: hidden;
}

.memberListDivider {
	position: absolute;
	top: 0;
	bottom: 0;
	right: var(--layout-member-list-width, 240px);
	width: 1px;
	background: var(--user-area-divider-color);
	pointer-events: none;
	z-index: 5;
}

/* Hide the members-panel divider alongside the panel on narrow
   viewports — the useIsNarrowScreen hook in ChannelView.tsx skips
   rendering the panel, so this divider would otherwise be left
   hanging over the edge of the chat column. */
@media (max-width: 1024px) {
	.memberListDivider {
		display: none;
	}
}

/* ── Voice channel join prompt ─────────────────────────────── */

.voiceJoinPrompt {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 32px;
	background-color: var(--background-secondary-lighter, var(--background-primary));
	gap: 12px;
}

.voiceJoinIcon {
	color: var(--text-tertiary);
	margin-bottom: 8px;
}

.voiceJoinTitle {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0;
}

.voiceJoinDescription {
	font-size: 0.9375rem;
	color: var(--text-secondary);
	margin: 0 0 16px;
	text-align: center;
	max-width: 360px;
}

.voiceJoinButton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	height: 44px;
	padding: 0 24px;
	border-radius: var(--radius-md, 8px);
	border: none;
	background-color: var(--brand-primary);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: filter 150ms;
}

.voiceJoinButton:hover:not(:disabled) {
	filter: brightness(1.1);
}

.voiceJoinButton:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
