.mdd-social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 12px 0;
    list-style: none;
}
.mdd-social-links > li { margin: 0; padding: 0; }
/* App-icon tiles: the brand colour fills the tile and the mark is white, the way people know them from
   their phone. 42px keeps a comfortable touch target. */
.mdd-social-links > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 10px;
    border-radius: 11px;
    overflow: hidden;
    background: #555;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    transition: transform .15s ease, box-shadow .15s ease;
}
.mdd-social-links > li > a:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0, 0, 0, .28); }
.mdd-social-links > li > a:focus-visible { outline: 2px solid #db592a; outline-offset: 3px; }
.mdd-social-links svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* Brand tiles — the extra class outranks the base rule above. */
.mdd-social-links > .mdd-social-links__item--linkedin > a { background: #0a66c2; }
.mdd-social-links > .mdd-social-links__item--x > a { background: #000; }
.mdd-social-links > .mdd-social-links__item--snapchat > a { background: #fffc00; }
.mdd-social-links > .mdd-social-links__item--instagram > a {
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.mdd-social-links > .mdd-social-links__item--youtube > a { background: #ff0000; }
/* The "f" runs off the bottom edge like the app icon, so this tile has no padding. */
.mdd-social-links > .mdd-social-links__item--facebook > a { background: #0866ff; padding: 0; }
.mdd-social-links > .mdd-social-links__item--facebook svg { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    .mdd-social-links > li > a { transition: none; }
    .mdd-social-links > li > a:hover { transform: none; }
}
