.note {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.note:hover {
  cursor: pointer;
}

.note > .header .reply {
  font-size: 13px;
  color: var(--font-secondary-color);
}

.note > .header .reply a {
  color: var(--highlight);
}

.note > .header .reply a:hover {
  text-decoration-color: var(--highlight);
}

.note .header .info {
  font-size: var(--font-size);
  margin-left: 4px;
  white-space: nowrap;
  color: var(--font-secondary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.note .header .info .saved {
  margin-right: 12px;
  font-weight: 600;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.note .header .info .saved svg {
  margin-right: 8px;
}

.note .header .pinned {
  font-size: var(--font-size-small);
  color: var(--font-secondary-color);
  font-weight: 500;
  line-height: 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.note .header .pinned svg {
  margin-right: 8px;
}

.note-quote {
  border: 1px solid var(--gray-superdark);
  border-radius: 12px;
  padding: 8px 16px 16px 16px;
  margin-top: 16px;
}

.note .footer .footer-reactions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  gap: 48px;
}

@media (min-width: 720px) {
  .note .footer .footer-reactions {
    margin-left: 0;
  }
}

.note > .header img:hover,
.note > .header .name > .reply:hover {
  cursor: pointer;
}

.note > .note-creator {
  margin-top: 12px;
  margin-left: 56px;
}

.note .poll-body {
  padding: 5px;
  user-select: none;
}

.note .poll-body > div {
  border: 1px solid var(--font-secondary-color);
  border-radius: 5px;
  margin-bottom: 3px;
  position: relative;
  overflow: hidden;
}

.note .poll-body > div > div {
  padding: 5px 10px;
  z-index: 2;
}

.note .poll-body > div:hover {
  cursor: pointer;
  border: 1px solid var(--highlight);
}

.note .poll-body > div > .progress {
  background-color: var(--gray);
  height: stretch;
  height: -webkit-fill-available;
  height: -moz-available;
  position: absolute;
  z-index: 1;
}

.reaction-pill {
  display: flex;
  min-width: 1rem;
  align-items: center;
  justify-content: center;
  user-select: none;
  color: var(--font-secondary-color);
  font-feature-settings: "tnum";
  gap: 5px;
}

.trash-icon {
  color: var(--error);
  margin-right: auto;
}

.note-expand .body {
  max-height: 300px;
  overflow-y: hidden;
}

.hidden-note .header {
  display: flex;
  align-items: center;
}

.card.note.hidden-note {
  min-height: unset;
}

.expand-note {
  padding: 0 0 16px 0;
  font-weight: 400;
  color: var(--highlight);
  cursor: pointer;
}

.note.active {
  border-left: 1px solid var(--highlight);
  margin-left: -1px;
}

.note .reactions-link {
  color: var(--font-secondary-color);
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  margin-top: 4px;
  font-feature-settings: "tnum";
}

.note .reactions-link:hover {
  text-decoration: underline;
}

.note .body > .text > a {
  color: var(--highlight);
}
