.gid-result-state-badge {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  max-width: min(58%, 250px);
  min-height: 27px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

[data-gid-result-state="preset"] .gid-result-state-badge {
  border-color: rgba(126, 184, 255, 0.5);
  background: rgba(75, 145, 255, 0.18);
  color: #dbeaff;
}

[data-gid-result-state="personal"] .gid-result-state-badge {
  border-color: rgba(95, 222, 160, 0.5);
  background: rgba(47, 183, 116, 0.18);
  color: #bdf4d8;
}

.gid-result-state-note {
  box-sizing: border-box;
  min-height: 34px;
  margin: 9px 0 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.45;
}

.gid-result-state-note .gid-result-state-note-short {
  display: none;
}

[data-gid-result-state="personal"] .gid-result-state-note {
  color: #bdf4d8;
}

html.gid-is-embedded .gid-result-state-note {
  min-height: 31px;
  margin: 7px 0 11px;
  font-size: 10px;
}

@media (max-width: 700px) {
  .gid-result-state-badge {
    max-width: 62%;
    min-height: 25px;
    padding: 5px 8px;
    font-size: 8px;
    letter-spacing: 0.055em;
  }

  .gid-result-state-note {
    min-height: 31px;
    margin: 7px 0 11px;
    font-size: 10px;
    line-height: 1.4;
  }

  .gid-result-state-note .gid-result-state-note-full {
    display: none;
  }

  .gid-result-state-note .gid-result-state-note-short {
    display: inline;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .gid-result-state-badge,
  .gid-result-state-note {
    transition:
      color 180ms ease,
      background-color 180ms ease,
      border-color 180ms ease;
  }
}
