.dialogueContainer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  user-select: none;
  position: relative;
  width: 272px;
  margin-inline: -148px -2px;
  margin-block-start: -8px;
  flex-shrink: 0;
}

.bubble {
  background-color: var(--gray-1);
  border: 3px solid var(--gray-12);
  box-shadow: 0 2px 0 var(--gray-12);
  padding: 0.5rem var(--space-m);
  font-family: var(--font-family-sans);
  font-size: var(--step--1);
  line-height: 1.1;
  letter-spacing: var(--letter-spacing-loose);
  align-self: center;
  position: absolute;
  right: 32%;
  bottom: 75%;
  z-index: 1;
  cursor: default;
}

.character {
  display: inline-block;
  white-space: pre;
}

.stamp {
  all: unset;
  position: relative;
  width: 40%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: rgb(0 0 0 / 0%);
}

.stamp:active {
  transform: scale(0.95);
}

.stamp-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: var(--gray-8);
  stroke-width: 1px;
}

@media (hover: hover) {
  .stamp:hover .stamp-border {
    stroke: var(--gray-9);
  }
}

.emote {
  width: 75%;
  aspect-ratio: 1;
  user-select: none;
  flex-shrink: 0;
  border-radius: var(--radius-xs);
  transform: scale(-1, 1);
}

.emphasized {
  display: inline-block;
  font-weight: var(--font-weight-bold);
}

.word {
  display: inline-block;
}
