/* MD Consent – bottom, compact */
#mdm-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:99998;
}

/* Всегда снизу, небольшой блок */
#mdm-modal{
  position:fixed;z-index:99999;
  inset:auto 0 16px 0;     /* снизу с отступом */
  margin:auto;
  max-width:360px;
  background:#101e3a;
  border:1px solid #2a3f71;
  border-radius:12px;
  box-shadow:0 10px 28px rgba(0,0,0,.35);
  padding:12px 14px;
  color:#e9efff;
  text-align:left;
}

/* Типографика поменьше */
#mdm-modal h3{
  margin:0 0 6px;
  font:700 16px/1.25 Roboto,Arial,sans-serif;
  letter-spacing:-0.01em;
}
#mdm-modal p{
  margin:0;
  color:#a9b7d9;
  font-size:13.5px;
  line-height:1.45;
}

/* Кнопки */
#mdm-actions{
  display:flex;gap:8px;flex-wrap:wrap;justify-content:center;
  margin-top:10px;
}
#mdm-accept{
  appearance:none;border:1px solid transparent;border-radius:999px;
  padding:8px 14px;
  font-weight:700;font-size:13.5px;letter-spacing:.2px;
  background:#1f6feb;color:#fff;cursor:pointer;
  box-shadow:0 6px 18px rgba(31,111,235,.25);
}
#mdm-accept:hover{transform:translateY(-1px);}

#mdm-links{
  border:0;background:transparent;color:#cfe0ff;
  font-weight:600;font-size:13px;padding:0;margin:0;
}
#mdm-links a{color:#cfe0ff;text-decoration:underline;}
#mdm-links a:hover{opacity:.85;}

html.mdm-lock, body.mdm-lock{overflow:hidden;}