.oto-consent{
	--oto-accent:#d22027;
	--oto-accent-dark:#b01a20;
	--oto-accent-dark:color-mix(in srgb,var(--oto-accent) 80%,#000);
	--oto-text:#1f2328;
	--oto-muted:#5b6470;
	--oto-border:#e3e6ea;
	position:fixed;left:20px;bottom:20px;z-index:99999;
	width:min(440px,calc(100vw - 40px));
	max-height:calc(100vh - 40px);overflow:auto;
	background:#fff;color:var(--oto-text);
	border:1px solid var(--oto-border);border-top:4px solid var(--oto-accent);border-radius:12px;
	box-shadow:0 12px 40px rgba(16,24,40,.18),0 2px 6px rgba(16,24,40,.08);
	font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
	-webkit-font-smoothing:antialiased;
}
.oto-consent[hidden]{display:none}
.oto-consent:not([hidden]){animation:oto-consent-in .35s cubic-bezier(.2,.8,.2,1) both}
@keyframes oto-consent-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.oto-consent:not([hidden]){animation:none}}

.oto-consent *,.oto-consent *::before,.oto-consent *::after{box-sizing:border-box}
.oto-consent__inner{padding:20px 22px 18px}

.oto-consent__head{display:flex;align-items:center;gap:10px;margin:0 0 8px}
.oto-consent__icon{flex:none;width:28px;height:28px;color:var(--oto-accent)}
.oto-consent__title{margin:0;padding:0;border:0;font-size:17px;line-height:1.3;font-weight:700;color:var(--oto-text)}
.oto-consent__title::after{display:none!important}
.oto-consent__text{margin:0 0 16px;color:var(--oto-muted)}
.oto-consent__text a{color:var(--oto-accent);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.oto-consent__text a:hover{color:var(--oto-accent-dark)}

/* Preferences panel */
.oto-consent__prefs{margin:0 0 16px;border:1px solid var(--oto-border);border-radius:10px;overflow:hidden}
.oto-consent__prefs[hidden]{display:none}
.oto-consent__row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:12px 14px;font-weight:400;cursor:pointer;background:#fff}
.oto-consent__row+.oto-consent__row{border-top:1px solid var(--oto-border)}
.oto-consent__row:hover{background:#fafbfc}
.oto-consent__label{display:block;min-width:0}
.oto-consent__label strong{display:block;font-size:14px;color:var(--oto-text)}
.oto-consent__label small{display:block;font-size:12.5px;line-height:1.45;color:var(--oto-muted)}

/* Toggle switch (real checkbox underneath) */
.oto-consent__switch{
	flex:none;appearance:none;-webkit-appearance:none;position:relative;margin:0;
	width:42px;height:24px;border-radius:999px;background:#c5cad1;cursor:pointer;
	transition:background .2s ease;
}
.oto-consent__switch::after{
	content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;
	background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .2s ease;
}
.oto-consent__switch:checked{background:var(--oto-accent)}
.oto-consent__switch:checked::after{transform:translateX(18px)}
.oto-consent__switch:disabled{opacity:.55;cursor:not-allowed}
.oto-consent__switch:focus-visible{outline:3px solid rgba(210,32,39,.35);outline-offset:2px}

/* Buttons */
.oto-consent__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.oto-consent__btn{
	appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;
	min-height:42px;padding:9px 16px;margin:0;border-radius:8px;
	border:1.5px solid var(--oto-accent);background:#fff;color:var(--oto-accent);
	font:inherit;font-weight:600;line-height:1.2;text-transform:none;letter-spacing:0;cursor:pointer;
	transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.oto-consent__btn:hover{background:#fdf1f1}
.oto-consent__btn:focus-visible{outline:3px solid rgba(210,32,39,.35);outline-offset:2px}
.oto-consent__btn--primary,.oto-consent__btn--save{background:var(--oto-accent);color:#fff}
.oto-consent__btn--primary:hover,.oto-consent__btn--save:hover{background:var(--oto-accent-dark);border-color:var(--oto-accent-dark)}
.oto-consent__btn--save{grid-column:1/-1}
.oto-consent__btn[hidden]{display:none}
.oto-consent__btn--link{
	grid-column:1/-1;min-height:0;padding:6px;border-color:transparent;background:none;
	color:var(--oto-muted);font-weight:500;text-decoration:underline;text-underline-offset:2px;
}
.oto-consent__btn--link:hover{background:none;color:var(--oto-text)}

/* Footer "Cookie Settings" link */
.oto-consent__settings-link{background:none;border:0;padding:0;color:inherit;text-decoration:underline;font:inherit;cursor:pointer}

/* Mobile: full-width bottom sheet */
@media (max-width:600px){
	.oto-consent{left:0;right:0;bottom:0;width:auto;max-height:90vh;border-radius:14px 14px 0 0;border-left:0;border-right:0;border-bottom:0}
	.oto-consent__inner{padding:16px 16px calc(14px + env(safe-area-inset-bottom))}
	.oto-consent__title{font-size:16px}
	.oto-consent__text{font-size:13.5px;margin-bottom:14px}
}
