#dm-plerdy-consent {
	position: fixed;
	z-index: 1000000;
	right: 16px;
	bottom: 72px;
	width: min(560px, calc(100vw - 32px));
	max-height: min(80vh, 620px);
	overflow: auto;
	box-sizing: border-box;
	padding: 24px;
	border: 1px solid #222;
	background: #fff;
	color: #111;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	box-shadow: 0 8px 30px rgb(0 0 0 / 18%);
}

#dm-plerdy-consent[hidden] {
	display: none;
}

#dm-plerdy-consent h2 {
	margin: 0 0 12px;
	font-family: inherit;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
}

#dm-plerdy-consent p {
	margin: 0 0 14px;
}

#dm-plerdy-consent a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.dm-plerdy-actions {
	display: flex;
	gap: 8px;
}

.dm-plerdy-actions button,
.dm-plerdy-settings,
.dm-plerdy-footer-settings {
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid #222;
	border-radius: 0;
	background: #fff;
	color: #111;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}

.dm-plerdy-actions button {
	flex: 1;
}

.dm-plerdy-settings {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 8px 0;
	padding: 8px 0;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.dm-plerdy-actions button:focus-visible,
.dm-plerdy-settings:focus-visible,
#dm-plerdy-consent a:focus-visible {
	outline: 3px solid #155eef;
	outline-offset: 3px;
}

@media (max-width: 600px) {
	#dm-plerdy-consent {
		right: 8px;
		bottom: 64px;
		width: calc(100vw - 16px);
		max-height: 70vh;
		padding: 18px;
	}

}
