.mg-consent[hidden]{display:none!important}
.mg-consent{
  position:fixed;
  z-index:10050;
  right:24px;
  bottom:24px;
  left:24px;
  width:min(960px,calc(100% - 48px));
  margin:0 auto;
  padding:22px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:end;
  overflow:hidden;
  border:1px solid rgba(227,190,112,.28);
  border-radius:26px;
  background:linear-gradient(145deg,rgba(24,21,17,.98),rgba(12,11,9,.99));
  box-shadow:0 28px 90px rgba(0,0,0,.38);
  color:#fff;
  opacity:0;
  transform:translate3d(0,18px,0);
  transition:opacity .26s ease,transform .26s ease;
}
.mg-consent.is-visible{opacity:1;transform:translate3d(0,0,0)}
.mg-consent:before{
  content:"";
  position:absolute;
  pointer-events:none;
  width:260px;
  height:260px;
  right:-80px;
  top:-150px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(194,147,65,.25),transparent 68%);
}
.mg-consent-copy{position:relative;max-width:650px}
.mg-consent-label{
  display:inline-flex;
  margin:0 0 8px;
  color:#e5c276;
  font-size:9px;
  font-weight:850;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.mg-consent h2{margin:0 0 8px;font-size:clamp(20px,2.4vw,27px);line-height:1.08;letter-spacing:-.035em}
.mg-consent p{margin:0;color:rgba(255,255,255,.66);font-size:13px;line-height:1.58}
.mg-consent a{color:#e5c276;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.mg-consent-status{display:block;min-height:16px;margin-top:7px;color:rgba(255,255,255,.48);font-size:10px}
.mg-consent-actions{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:9px;min-width:310px}
.mg-consent button{
  min-height:46px;
  padding:11px 16px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease,border-color .2s ease,color .2s ease;
}
.mg-consent button:hover{transform:translateY(-1px)}
.mg-consent-reject{background:rgba(255,255,255,.08);color:#fff}
.mg-consent-reject:hover{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.35)}
.mg-consent-accept{background:#e5c276;border-color:#e5c276!important;color:#19150f}
.mg-consent-accept:hover{background:#f0d492}
.consent-settings-link{
  width:max-content;
  padding:0;
  border:0;
  background:none;
  color:inherit;
  font:inherit;
  font-size:inherit;
  text-align:left;
  cursor:pointer;
  opacity:.82;
}
.consent-settings-link:hover{opacity:1;color:#e5c276}

@media(max-width:720px){
  .mg-consent{
    right:10px;
    bottom:10px;
    left:10px;
    width:calc(100% - 20px);
    padding:19px 17px 16px;
    grid-template-columns:1fr;
    gap:15px;
    border-radius:23px;
  }
  .mg-consent h2{font-size:22px}
  .mg-consent p{font-size:12.5px}
  .mg-consent-actions{min-width:0;width:100%}
  .mg-consent button{min-height:45px;padding:10px 12px;font-size:11.5px}
}

@media(max-width:380px){
  .mg-consent-actions{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){
  .mg-consent,.mg-consent button{transition:none}
}
