.latest-post-redemption-form {
  width: min(100%, 378px);
  min-height: 42px;
  gap: 8px;
  padding: 6px 14px 6px 10px;
}

.latest-post-redemption-form .latest-post-badge {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.latest-post-redemption-input {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 4px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.2;
  outline: none;
}

.latest-post-redemption-input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.latest-post-redemption-submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  margin-left: 2px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

@media (max-width: 640px) {
  .latest-post-redemption-form {
    width: min(100%, 296px);
    min-height: 40px;
    padding: 6px 12px 6px 9px;
  }

  .latest-post-redemption-form .latest-post-badge {
    padding: 2px 7px;
  }

  .latest-post-redemption-input {
    padding-left: 2px;
    font-size: 0.84rem;
  }
}
