Silicone - just don't spread it everywhere, should only need a few small dollops under it as a cushion, then (and this is where trade-experience is handy), trim the nozzle & carefully run it around the edges, covering both surfaces - spray on some soapy water liberally & with your finger, wipe off the excess...there should be a youtube vid somewhere - very similar to applying silicone around a window or bath.