/* A blocking wait in the middle of the screen: a spinner and a word on the app's
   frost. The modal dialog itself supplies the stacking and the inert page. */
.center-loading {
	padding: 12px 18px;
	border: 0;
	border-radius: 14px;
	outline: 0;
	background: var(--app-frost-dark);
	-webkit-backdrop-filter: var(--app-frost-filter);
	backdrop-filter: var(--app-frost-filter);
	color: #fff;
	font: 600 15px/1.4 var(--app-font-family, system-ui, sans-serif);
	overscroll-behavior: contain;
	animation: center-loading 0.13s both;
}
/* Only while open: an unconditional `display` would show the closed dialog. */
.center-loading[open] { display: flex; align-items: center; gap: 10px; }
.center-loading::backdrop {
	background: rgb(0 0 0 / 0.38);
	/* A swipe over the backdrop must not scroll the page behind it. */
	overflow: hidden;
	overscroll-behavior: contain;
	animation: center-loading 0.13s both;
}
@keyframes center-loading { from { opacity: 0; } }

