pre.wp-block-verse {
	box-sizing: border-box;
	overflow: auto;
	white-space: pre-wrap;
	word-break: normal;
	overflow-wrap: break-word;
}

:root :where(pre.wp-block-verse) {
	// Prevent text overflow off-screen when the previous block has float.
	// :root :where() matches Global Styles specificity so a minimum width set
	// there can win, since block library styles load first.
	min-width: 1em;
}

:where(pre.wp-block-verse) {
	font-family: inherit;
}

// Fit text sets `white-space: nowrap`, which collapses the spacing poetry relies on.
pre.wp-block-verse.has-fit-text {
	white-space: pre !important;
}
