.contact-widget {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 35;
}
.contact-widget .contact-toggle,
.contact-widget .contact-channel {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 12px;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 20px #0004;
  transition: transform .18s ease, box-shadow .18s ease;
}
.contact-widget .contact-toggle {
  position: relative;
  width: 52px;
  height: 52px;
  padding: 14px;
  background: rgba(28, 35, 33, .58);
  border-color: rgba(255, 255, 255, .18);
  color: #f0f1ef;
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  box-shadow: inset 0 1px 0 #ffffff0d, 0 4px 16px #0003;
}
.catalog-site.light .contact-toggle,
.catalog-site.light .contact-channel {
  background: rgba(255, 255, 255, .58);
  border-color: rgba(48, 60, 54, .18);
  color: #28362f;
  box-shadow: inset 0 1px 0 #ffffffa6, 0 4px 16px #18271d14;
}
.contact-widget svg { display: block; width: 100%; height: 100%; }
.contact-widget .contact-toggle:hover,
.contact-widget a.contact-channel:hover { transform: translateY(-3px); box-shadow: 0 8px 24px #0005; }
.contact-widget .contact-toggle:focus-visible,
.contact-widget .contact-channel:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.contact-channels {
  position: absolute;
  right: -6px;
  bottom: 66px;
  max-height: calc(100dvh - 180px - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  width: 64px;
  padding: 6px;
}
.contact-channels[hidden],
.contact-status[hidden] { display: none; }
.contact-links { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.contact-widget .contact-channel {
  position: relative;
  flex-shrink: 0;
  background: rgba(28, 35, 33, .58);
  border-color: rgba(255, 255, 255, .18);
  color: #f0f1ef;
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  box-shadow: inset 0 1px 0 #ffffff0d, 0 4px 16px #0003;
}
.contact-line svg g { stroke: #1c2321; }
.catalog-site.light .contact-line svg g { stroke: #fff; }
.contact-discord { --contact-brand: #5865f2; }
.contact-line { --contact-brand: #06c755; }
.contact-facebook { --contact-brand: #1877f2; }
.contact-status {
  margin: 0 0 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(22, 29, 27, .7);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
  color: #c4ccc7;
  font-size:14px;
  text-align: right;
}
.catalog-site.light .contact-status {
  background: rgba(255, 255, 255, .72);
  color: #28362f;
}
.contact-widget [aria-disabled="true"] { cursor: default; }
@media (max-width: 760px) {
  .contact-widget { right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
  .contact-widget .contact-toggle { width: 52px; height: 52px; padding: 13px; }
  .contact-widget .contact-channel { width: 46px; height: 46px; padding: 10px; }
  .contact-channels { right: -3px; width: 58px; bottom: 66px; max-height: calc(100dvh - 230px - env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-widget .contact-toggle, .contact-widget .contact-channel { transition: none; }
  .contact-widget .contact-toggle:hover, .contact-widget a.contact-channel:hover { transform: none; }
}
