/* Global consent surface retains the approved MAGNA cookie-bar material. */
.magna-home-cookie-shell {
	position: fixed;
	z-index: 10000;
	inset-block-end: 2rem;
	inset-inline-end: max(var(--magna-page-gutter), calc((100vw - var(--magna-content-max)) / 2));
	display: flex;
	align-items: center;
	inline-size: min(430px, var(--magna-content-frame));
	block-size: 42px;
	padding: 4px;
	border-radius: 4px;
	background: rgb(18 18 18 / 80%);
	color: var(--magna-ivory);
	backdrop-filter: blur(40px);
	-webkit-backdrop-filter: blur(40px);
	font-family: var(--magna-font-sans);
}
.magna-home-cookie-shell[hidden], .magna-home-cookie-preferences[hidden] { display: none; }
.magna-home-cookie-readable { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.magna-home-cookie-ticker { flex: 1 1 auto; min-inline-size: 0; block-size: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 6%, black 96%, transparent); }
.magna-home-cookie-track { display: flex; align-items: center; inline-size: max-content; block-size: 100%; white-space: nowrap; animation: magna-home-cookie-ticker 30s linear infinite; }
.magna-home-cookie-track span { display: block; flex: none; padding-inline-end: 3rem; color: rgb(255 255 255 / 80%); font-size: 14px; font-weight: 350; line-height: 17.5px; }
@keyframes magna-home-cookie-ticker { to { transform: translateX(-50%); } }
.magna-home-cookie-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 2px; block-size: 100%; }
.magna-home-cookie-actions button,
.magna-consent-panel-actions button { border: 0; border-radius: 2px; background: rgb(255 255 255 / 8%); color: var(--magna-ivory); cursor: pointer; font: 500 10px/1 var(--magna-font-sans); letter-spacing: .01em; }
.magna-home-cookie-actions button { block-size: 34px; padding-inline: 7px; }
.magna-home-cookie-actions button:hover,
.magna-home-cookie-actions button:focus-visible,
.magna-consent-panel-actions button:hover,
.magna-consent-panel-actions button:focus-visible { background: rgb(255 255 255 / 20%); }
.magna-home-cookie-preferences { position: absolute; inset-inline-end: 0; inset-block-end: calc(100% + .75rem); inline-size: min(23rem, var(--magna-content-frame)); padding: 1rem; border: 1px solid rgb(255 255 255 / 24%); border-radius: 4px; background: rgb(12 15 20 / 96%); color: var(--magna-ivory); font-size: .75rem; line-height: 1.5; }
.magna-consent-option { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; border-block-end: 1px solid rgb(255 255 255 / 16%); cursor: pointer; }
.magna-home-cookie-preferences { max-block-size: min(70dvh, 38rem); overflow-y: auto; }
.magna-consent-external-heading { margin: 1rem 0 0; }
.magna-consent-option span { display: grid; gap: .25rem; }
.magna-consent-option strong { font-size: .75rem; }
.magna-consent-option small { font-size: .7rem; }
.magna-consent-option input { flex: none; accent-color: var(--magna-signal-yellow); }
.magna-consent-panel-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block-start: 1rem; }
.magna-consent-panel-actions button { padding: .75rem; }
.magna-consent-panel-actions a { color: inherit; text-underline-offset: .2em; }
.magna-footer-menu .magna-footer-preferences,
.magna-legal-preferences { display: inline; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; font: inherit; text-align: inherit; text-decoration: none; }
.magna-footer-menu .magna-footer-preferences { display: inline-flex; align-items: baseline; gap: .5rem; padding-block: .35rem; overflow-wrap: anywhere; }
.magna-footer-menu .magna-footer-preferences::before { content: "→"; }
.magna-footer-menu .magna-footer-preferences:hover,
.magna-footer-menu .magna-footer-preferences:focus-visible { text-decoration: underline; text-underline-offset: .22em; }
.magna-legal-preferences { text-decoration: underline; text-underline-offset: .2em; }
.magna-embed-consent { padding: 2rem; border: 1px solid currentColor; }
.magna-embed-consent button { border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.magna-legal-table-wrap { max-inline-size: 100%; overflow-x: auto; }
@media (max-width: 600px) {
	.magna-home-cookie-shell { inset-inline-end: var(--magna-page-gutter); inset-block-end: 2rem; inline-size: var(--magna-content-frame); }
	.magna-home-cookie-track span { font-size: 12px; padding-inline-end: 1rem; }
	.magna-home-cookie-actions button { padding-inline: 4px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
	.magna-home-cookie-track { animation: none; }
}
