.a-frame-consent[hidden],
.a-frame-consent__settings[hidden],
.a-frame-consent__actions [hidden] {
	display: none !important;
}

.a-frame-consent {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	align-items: end;
	padding: 1rem;
	background: rgba(6, 20, 15, 0.62);
}

.a-frame-consent__panel {
	width: min(760px, 100%);
	margin: 0 auto;
	padding: clamp(1.25rem, 4vw, 2rem);
	color: #17261f;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.a-frame-consent__panel h2 { margin-top: 0; }
.a-frame-consent__panel a { color: #15583f; }
.a-frame-consent__settings { margin: 1rem 0; padding: 1rem; background: #f5f2eb; border-radius: 12px; }
.a-frame-consent__settings label { display: flex; gap: .75rem; align-items: flex-start; }
.a-frame-consent__settings input { margin-top: .35rem; inline-size: 1.2rem; block-size: 1.2rem; }
.a-frame-consent__settings small { display: block; margin-top: .25rem; }
.a-frame-consent__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.a-frame-consent__actions button,
.a-frame-consent-manage {
	padding: .7rem 1rem;
	color: #123a2c;
	background: #fff;
	border: 2px solid #123a2c;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.a-frame-consent__actions .a-frame-consent__accept,
.a-frame-consent__actions .a-frame-consent__save { color: #fff; background: #123a2c; }
.a-frame-consent-manage { position: fixed; right: 1rem; bottom: 1rem; z-index: 9990; padding: .45rem .75rem; font-size: .8rem; box-shadow: 0 5px 20px rgba(0,0,0,.16); }
.a-frame-consent-open { overflow: hidden; }

@media (max-width: 600px) {
	.a-frame-consent__actions button { width: 100%; }
	.a-frame-consent-manage { right: .5rem; bottom: .5rem; }
}
