.farewell-page {
  margin: 0;
  color: #202124;
  background: #fff;
  font: 18px/1.7 "Mulish", sans-serif;
}

.farewell-page article {
  box-sizing: border-box;
  max-width: 768px;
  margin: 0 auto;
  padding: 64px 24px;
  background: #fff;
}

.farewell-page p {
  margin: 0 0 1.5em;
}

.farewell-page .article-emoji {
  width: 2em;
  height: 2em;
  object-fit: contain;
  vertical-align: middle;
}

.farewell-page h1 {
  margin: 0 0 1em;
  font-size: 32px;
  line-height: 1.2;
}

.farewell-page a {
  color: #5c45ff;
  font-weight: 600;
  text-underline-offset: 0.15em;
}

.farewell-page .tooltip-trigger {
  text-decoration: underline;
  text-decoration-color: rgb(92 69 255 / 45%);
  cursor: pointer;
}

.farewell-page .tooltip-trigger:focus-visible {
  outline: 2px solid #5c45ff;
  outline-offset: 3px;
}

.farewell-page .article-mention {
  color: #1264a3;
  font-weight: 500;
}

.tooltip {
  width: 420px !important;
}

.tooltip .panel,
.tooltip .panel-content {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.slack-card {
  box-sizing: border-box;
  width: 420px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.slack-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.slack-avatar {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.slack-header-text {
  display: flex;
  height: 44px;
  flex-direction: column;
  justify-content: center;
}

.slack-name {
  margin: 0;
  color: #1d1c1d;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.slack-thread {
  margin: 0;
  color: #616061;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.slack-thread-label {
  font-weight: 600;
}

.slack-message {
  margin-top: 14px;
  max-height: 8.4em;
  color: #1d1c1d;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  overflow-y: auto;
}

.slack-mention {
  color: #1264a3;
  font-weight: 500;
}

.slack-link {
  color: #5c45ff;
  font-weight: 600;
  text-underline-offset: 0.15em;
}

.slack-emoji {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 2px;
  object-fit: contain;
  vertical-align: -5px;
}

.slack-footer {
  margin-top: 16px;
}

.slack-timestamp {
  color: #868686;
  font-size: 13px;
  overflow-wrap: anywhere;
}

@media (min-width: 769px) {
  .farewell-page article {
    padding: 80px 48px;
  }

  .farewell-page {
    background-image: linear-gradient(
      to right,
      rgb(92 69 255 / 18%) 0,
      #fff calc(50% - 384px),
      #fff calc(50% + 384px),
      rgb(92 69 255 / 18%) 100%
    );
  }
}
