/* Recognisable marks use LinkStack's existing, self-hosted Font Awesome.
   Known image icons are replaced with the same brand glyph, so broken icon URLs
   do not leave an empty slot. Unknown image icons and website favicons survive. */
.button-whatsapp { --brand-glyph: "\f232"; --brand-color: #82e5a9; }
.button-instagram { --brand-glyph: "\f16d"; --brand-color: #ffadc9; }
.button-facebook { --brand-glyph: "\f09a"; --brand-color: #9ac7ff; }
.button-linkedin { --brand-glyph: "\f08c"; --brand-color: #8fcbff; }
.button-tiktok { --brand-glyph: "\e07b"; --brand-color: #92eeea; }
.button-youtube { --brand-glyph: "\f167"; --brand-color: #ff9b9b; }
.button-telegram { --brand-glyph: "\f2c6"; --brand-color: #9edcff; }
.button-steam { --brand-glyph: "\f1b6"; --brand-color: #cee4f7; }
.button-discord { --brand-glyph: "\f392"; --brand-color: #b5baff; }
.button-reddit { --brand-glyph: "\f281"; --brand-color: #ffb78f; }
.button-twitch { --brand-glyph: "\f1e8"; --brand-color: #ceb0ff; }
.button-twitter { --brand-glyph: "\e61b"; --brand-color: #f4f2eb; }
.button-github { --brand-glyph: "\f09b"; --brand-color: #f4f2eb; }
.button-behance { --brand-glyph: "\f1b4"; --brand-color: #9ac7ff; }
.button-snapchat { --brand-glyph: "\f2ab"; --brand-color: #fff5a4; }
.button-strava { --brand-glyph: "\f428"; --brand-color: #ffb78f; }
.button-spotify { --brand-glyph: "\f1bc"; --brand-color: #82e5a9; }
.button-pinterest { --brand-glyph: "\f0d2"; --brand-color: #ff9b9b; }
.button-wordpress { --brand-glyph: "\f19a"; --brand-color: #b9dff3; }
.button:is(.button-whatsapp, .button-instagram, .button-facebook, .button-linkedin,
  .button-tiktok, .button-youtube, .button-telegram, .button-steam, .button-discord,
  .button-reddit, .button-twitch, .button-twitter, .button-github, .button-behance,
  .button-snapchat, .button-strava, .button-spotify, .button-pinterest, .button-wordpress)::before {
  content: var(--brand-glyph) / "";
  font: 400 23px/28px "Font Awesome 6 Brands";
  color: var(--brand-color, #f4f2eb);
  width: 24px;
  text-align: center;
  flex: 0 0 24px;
}
.button:is(.button-whatsapp, .button-instagram, .button-facebook, .button-linkedin,
  .button-tiktok, .button-youtube, .button-telegram, .button-steam, .button-discord,
  .button-reddit, .button-twitch, .button-twitter, .button-github, .button-behance,
  .button-snapchat, .button-strava, .button-spotify, .button-pinterest, .button-wordpress,
  .button-all-inkl, .button-epic-games) > img.icon { display: none; }
/* all-inkl is the site's generic custom-link icon; Todak's own mark replaces it. */
.button-all-inkl::before {
  content: "";
  flex: 0 0 24px;
  height: 28px;
  background: url("../../assets/linkstack/images/logo_short.png") center / contain no-repeat;
  filter: invert(1);
  mix-blend-mode: screen;
}
.button-epic-games::before {
  content: "EPIC" / "";
  flex: 0 0 24px;
  font: 900 9px/24px Arial, sans-serif;
  color: #f4f2eb;
  border-block: 1px solid #b9c5d4;
  text-align: center;
}
.button:has(> img[alt="vcard"]) { --contact-glyph: "\f2bb"; }
.button:has(> img[alt="phone"]) { --contact-glyph: "\f095"; }
.button.email { --contact-glyph: "\f0e0"; }
.button:is(:has(> img[alt="vcard"]), :has(> img[alt="phone"]), .email)::before {
  content: var(--contact-glyph) / "";
  font: 900 20px/24px "Font Awesome 6 Free";
  flex: 0 0 24px;
  text-align: center;
  color: #8fcbff;
}
.button:is(:has(> img[alt="vcard"]), :has(> img[alt="phone"]), .email) > img.icon { display: none; }
