.mm-consent[hidden],.mm-consent [hidden]{display:none!important}
.mm-consent{--mm-consent-padding-y:42px;position:fixed;isolation:isolate;z-index:2147483000;bottom:16px;left:16px;right:16px;margin:auto;max-width:820px;max-height:85vh;padding:var(--mm-consent-padding-y) 48px;border:0;border-radius:50% 20% / 10% 40%;background:transparent;color:#fff;text-align:left;font-size:15px;line-height:1.5}
/* La forme décorative ne découpe pas le texte ni la zone défilante. */
.mm-consent::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border:3px dashed #fff;border-radius:inherit;background:rgba(251,91,33,.9);box-shadow:0 8px 35px #0008;animation:mm-consent-bulle 1s steps(1,end) infinite}
.mm-consent-contenu{max-height:calc(85vh - var(--mm-consent-padding-y) - var(--mm-consent-padding-y));overflow-y:auto}
.mm-consent h2{font-size:23px;text-align:center;0 0 12px;color:#fff;animation:mm-consent-titre 1s steps(1,end) infinite}
.mm-consent h2,.mm-consent p,.mm-consent-options label{text-shadow:0 1px 2px #0009}
.mm-consent p{color:inherit;margin:10px 0;font-size:inherit}
.mm-consent-options label{display:block;margin:12px 0;color:inherit;cursor:pointer}
.mm-consent input[type=checkbox]{appearance:auto;width:18px;height:18px;margin-right:8px;vertical-align:middle}
.mm-consent-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:18px 24px;margin-top:18px;padding:4px 0}
.mm-consent button,.mm-consent-lien button{cursor:pointer;font:inherit}
.mm-consent button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:transparent;color:#fff;border:2px solid var(--mm-button-border,#fff);border-radius:30px;min-height:40px;padding:6px 12px;font-size:14px;font-weight:600;line-height:1.4;text-align:center;text-shadow:0 1px 2px #0009;transition:background-color .3s,color .3s,box-shadow .3s}
.mm-consent-actions button{flex:0 1 165px;min-width:150px}
.mm-consent [data-mm-consent-accepter]{--mm-button-border:#00852e;--mm-button-hover-bg:#00852e;--mm-button-hover-color:#fff}
.mm-consent [data-mm-consent-refuser]{--mm-button-border:#dc2535;--mm-button-hover-bg:#dc2535;--mm-button-hover-color:#fff}
.mm-consent [data-mm-consent-personnaliser]{--mm-button-border:#fff;--mm-button-pulse:var(--main-bg-color,#162444)}
.mm-consent button:hover,.mm-consent button:focus{background:var(--mm-button-hover-bg,#fff);color:var(--mm-button-hover-color,var(--main-bg-color,#162444));text-shadow:none;box-shadow:0 3px 8px #0003;animation:mm-consent-contour 1.2s ease-in-out infinite}
.mm-consent button:focus-visible{outline:none;box-shadow:none}
@keyframes mm-consent-contour{0%,100%{border-color:var(--mm-button-border,#fff)}50%{border-color:var(--mm-button-pulse,#fff)}}
@keyframes mm-consent-bulle{0%,100%{border-color:#fff}50%{border-color:transparent}}
@keyframes mm-consent-titre{0%,100%{opacity:1}50%{opacity:0}}
.mm-consent-info{font-size:13px!important}
.mm-consent-lien{text-align:center;margin:12px 0}
.mm-consent-lien button{background:transparent;border:0;color:inherit;text-decoration:underline;padding:8px}
@media(max-width:600px){.mm-consent{--mm-consent-padding-y:36px;left:8px;right:8px;bottom:8px;padding:var(--mm-consent-padding-y) 28px}.mm-consent-actions{gap:14px 18px}.mm-consent-actions button{flex:1 1 140px}}
@media(prefers-reduced-motion:reduce){.mm-consent::before,.mm-consent h2,.mm-consent button,.mm-consent button:hover,.mm-consent button:focus{transition:none;animation:none}}
