#hud .community-discord {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 54px;
  min-height: 49px;
  padding: 3px;
  border: 1px solid #c9c6ffb3;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #7069dd, #4543a3);
  box-shadow: 0 2px 6px #15213955;
  text-decoration: none;
  pointer-events: auto;
  touch-action: manipulation;
}

#hud .community-discord .ico { width: 24px; height: 24px; }
#hud .community-discord small { font: 600 10px/1.2 sans-serif; }
#hud .community-discord:hover { background: #5865f2; }
#hud .community-discord:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#hud .community-discord:active { filter: brightness(.85); }

body.touch #hud .community-discord {
  order: 1;
  width: 52px;
  min-height: 44px;
  height: 44px;
}

body.touch #hud .community-discord .ico { width: 22px; height: 22px; }
