.root {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  min-width: 15rem;
  margin-bottom: 0.75rem; // Space for message meta
  padding-top: 0.125rem;

  line-height: 1.25;
}

.explanation,
.options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.explanation {
  padding-block: 0.375rem;
}

.explanationMedia,
.metaVoters {
  min-width: 0;
}

.explanationMedia {
  :global(.media-inner) {
    --border-top-left-radius: var(--border-radius-messages-small);
    --border-top-right-radius: var(--border-radius-messages-small);
    --border-bottom-left-radius: var(--border-radius-messages-small);
    --border-bottom-right-radius: var(--border-radius-messages-small);

    margin: 0 !important;
  }
}

.explanationHeader {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-size: 0.875rem;
}

.explanationCloseButton {
  position: absolute;
  top: 0.125rem;
  right: 0.125rem;
}

.explanationTitle {
  font-weight: var(--font-weight-semibold);
}

.explanationText {
  color: var(--color-text);
}

.questionContainer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.5rem;
  min-height: 2.5rem;
}

.question {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  font-weight: var(--font-weight-semibold);
}

.explanationToggleButton {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-items: center;
}

.meta {
  display: flex;
  grid-column: 1;
  grid-row: 2;
  gap: 0.5rem;
  align-items: center;

  min-width: 0;
}

.metaInfo {
  display: flex;
  gap: 0.375rem;
  align-items: center;
  min-width: 0;
}

.metaLabel {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.footer,
.footerContentSlide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footerContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 2.5rem;
}

.footerButton {
  padding-block: 0;
}

.footerSubtext {
  display: inline;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.footerStatic {
  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--color-text-secondary);
  text-align: center;
}

.stickerPreview {
  position: relative;
  width: 6rem;
  height: 6rem;
}
