/* Xact Notice: a plain default. Colours come from --xct-notice-* (the settings screen, or the theme). */
.xct-notice {
	width: min(480px, calc(100vw - 32px));
	max-height: calc(100dvh - 32px);
	padding: 0;
	border: 0;
	border-radius: var(--xct-notice-radius, 12px);
	background: var(--xct-notice-background, #fff);
	color: var(--xct-notice-color, #222);
	overflow: auto;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}
.xct-notice::backdrop { background: var(--xct-notice-backdrop, rgba(0, 0, 0, .45)); }
.xct-notice-close-form { position: sticky; top: 0; height: 0; margin: 0; text-align: right; z-index: 1; }
.xct-notice-close {
	margin: 10px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #111;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.xct-notice-image { display: block; width: 100%; height: auto; max-height: 260px; object-fit: cover; }
.xct-notice-body { padding: 26px 28px 28px; text-align: center; outline: 0; }
.xct-notice-label { margin: 0 0 8px; color: var(--xct-notice-accent, #222); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.xct-notice-title { margin: 0; font-size: 28px; line-height: 1.2; color: inherit; }
.xct-notice-line { display: block; width: 48px; height: 2px; margin: 14px auto 16px; background: var(--xct-notice-accent, #222); }
.xct-notice-text { font-size: 15px; line-height: 1.6; }
.xct-notice-text p { margin: 0 0 12px; }
.xct-notice-text a { color: inherit; text-decoration: underline; }
.xct-notice-body form { margin: 0; }
.xct-notice-body > a, .xct-notice-body form > button { margin-top: 6px; }
.xct-notice-button {
	display: inline-block;
	padding: 12px 22px;
	border: 0;
	border-radius: 4px;
	background: var(--xct-notice-accent, #222);
	color: var(--xct-notice-button-color, #fff);
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.xct-notice-button:hover, .xct-notice-button:focus { color: var(--xct-notice-button-color, #fff); opacity: .9; }
@media (max-width: 600px) {
	.xct-notice-body { padding: 22px 20px 24px; }
	.xct-notice-title { font-size: 24px; }
}
