/* Loaded only for the 41 audited conversation-table posts. */
.entry-content table.legacy-dialogue-table {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 5px 7px;
}

.entry-content table.legacy-dialogue-table td {
	box-sizing: border-box;
	min-width: 0;
	height: auto !important;
	vertical-align: middle;
	padding: 2px;
	overflow-wrap: anywhere;
}

.entry-content table.legacy-dialogue-table td:first-child,
.entry-content table.legacy-dialogue-table td:last-child {
	width: 74px !important;
	padding: 0;
}

/* Old center cells sometimes declare width=703; let the remaining column flex. */
.entry-content table.legacy-dialogue-table td:nth-child(2) {
	width: auto !important;
}

.entry-content table.legacy-dialogue-table td img {
	display: block;
	max-width: 100%;
	height: auto;
}

.entry-content table.legacy-dialogue-table td img.legacy-dialogue-avatar--mapped {
	width: 70px;
	height: 70px;
	object-fit: cover;
}

@media (max-width: 716px) {
	.entry-content table.legacy-dialogue-table {
		border-spacing: 3px 6px;
	}

	.entry-content table.legacy-dialogue-table td:first-child,
	.entry-content table.legacy-dialogue-table td:last-child {
		width: 62px !important;
	}

	.entry-content table.legacy-dialogue-table td img.legacy-dialogue-avatar--mapped {
		width: 58px;
		height: 58px;
	}
}

/* The surviving YouTube frame in post 1969 is 560x315 in legacy markup. */
body.postid-1969 .entry-content iframe[src*="youtube.com/embed/"] {
	display: block;
	width: min(100%, 560px);
	max-width: 100%;
	height: auto;
	aspect-ratio: 560 / 315;
}
