.wrg-trigger {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.wrg-icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

.wrg-topbar {
	background: #f3f4f6;
	color: #1f2937;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
	padding: 6px 16px;
}
.wrg-topbar .wrg-trigger {
	color: inherit;
}

.wrg-placement {
	margin: 12px 0;
	font-size: .9em;
}
.wrg-placement.wrg-pending {
	display: none;
}
.wrg-placement--shortcode {
	display: inline;
	margin: 0;
	font-size: inherit;
}

.wrg-dialog {
	padding: 0;
	border: 0;
	border-radius: 8px;
	width: 100%;
	max-width: min(640px, calc(100vw - 24px));
	max-height: calc(100vh - 24px);
	overflow: auto;
	background: #fff;
	color: #1f2937;
}
.wrg-dialog::backdrop {
	background: rgba(0, 0, 0, .6);
}
html:has(.wrg-dialog[open]) {
	overflow: hidden;
}
.wrg-dialog__inner {
	padding: 16px;
}
.wrg-dialog__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}
.wrg-dialog .wrg-dialog__title {
	font-size: 18px;
	line-height: 1.3;
	margin: 0;
	color: inherit;
}
.wrg-dialog .wrg-dialog__close {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	color: inherit;
}
.wrg-dialog .wrg-dialog__close:hover {
	background: #f3f4f6;
}
.wrg-dialog .wrg-dialog__close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.wrg-notice__img {
	display: block;
	width: 100%;
	height: auto;
}
.wrg-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 12px 0 0;
	font-size: 14px;
}

.wrg-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
