
.reaction {
  --text_color: #eeeeee;
  --font_family: Menlo, Roboto Mono, monospace;
  --font_size: 14px;

  --btn_bg: #3A3A3A;
  --btn_padding: 0.5em;
  --btn_height: 2em;
  --btn_outline_width: 0.0625em;
  --btn_outline_color: #A0A0A0;
  --btn_outline_offset: 0.0625em;
  --btn_gap: 0.3125em;

  --list_gap: 0.1875em;
  --btn_hover_bg: #5A5656;
  --btn_active: #b9b9b970;
  --btn_padding: 0.85em 0.15em;
  --btn_gap: 0.4375em;
}

.reaction {
  color: var(--text_color);
  font-family: var(--font_family);
  position: relative;
  user-select: none;
}

.reaction {
  line-height: var(--btn_height);
  background-color: var(--btn_bg);
  padding: 0 var(--btn_padding);
  display: inline-flex;
  align-items: center;
  column-gap: var(--btn_gap);
  border: none;
  color: inherit;
  font-family: inherit;
  font-weight: bold;
}

.reaction:hover {
  cursor: pointer;
  background-color: var(--btn_hover_bg);
}

.reaction[data-on="1"] {
  outline: 2px solid white;
}

.reaction[data-fail="1"] {
	background-color: #962a26;
}

.reaction_list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline_image {
  height: 1.5em;
  width: 1.5em;
  object-fit: contain;
  vertical-align: -0.4em;
}
